diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs b/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs new file mode 100644 index 0000000..710c9dc --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs @@ -0,0 +1,18171 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GIM_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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_applicazione")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_applicazione : global::System.Data.DataSet { + + private LogUpdateDbDataTable tableLogUpdateDb; + + private AnagAmbitoGuastoDataTable tableAnagAmbitoGuasto; + + private AnagPrioritaDataTable tableAnagPriorita; + + private AnagImpiantiDataTable tableAnagImpianti; + + private v_macchineDataTable tablev_macchine; + + private v_selFamMaccDataTable tablev_selFamMacc; + + private AnagFamMacchineDataTable tableAnagFamMacchine; + + private v_intervExpDataTable tablev_intervExp; + + private AnagTipoGuastoDataTable tableAnagTipoGuasto; + + private AnagStatiDataTable tableAnagStati; + + private InterventoOpMtzDataTable tableInterventoOpMtz; + + private v_mtzProgExpDataTable tablev_mtzProgExp; + + private MtzProgPendingDataTable tableMtzProgPending; + + private MtzProgrammataDataTable tableMtzProgrammata; + + private CalendFesteFerieDataTable tableCalendFesteFerie; + + private OreAperturaSettDataTable tableOreAperturaSett; + + private FiltroImpiantiDataTable tableFiltroImpianti; + + private FiltroMacchineDataTable tableFiltroMacchine; + + private FiltroStatiDataTable tableFiltroStati; + + private AnagCausaliDataTable tableAnagCausali; + + private AnagrOperMtzDataTable tableAnagrOperMtz; + + private global::System.Data.DataRelation relationFK_AnagMacchine_AnagImpianti; + + private global::System.Data.DataRelation relationMacchine2FamMacchine_v_macchine; + + private global::System.Data.DataRelation relationAnagFamMacchine_v_selFamMacc; + + private global::System.Data.DataRelation relationFK_InterventiMtz_AnagAmbitoGuasto; + + private global::System.Data.DataRelation relationFK_InterventiMtz_AnagImpianti; + + private global::System.Data.DataRelation relationFK_InterventiMtz_AnagPriorita; + + private global::System.Data.DataRelation relationFK_InterventiMtz_AnagTipoGuasto; + + private global::System.Data.DataRelation relationv_intervExp_InterventoOpMtz; + + private global::System.Data.DataRelation relationFK_MtzProgPending_MtzProgrammata; + + private global::System.Data.DataRelation relationFK_FiltroImpianti_AnagImpianti; + + private global::System.Data.DataRelation relationv_macchine_FiltroMacchine; + + private global::System.Data.DataRelation relationFK_FiltroStati_AnagStati; + + private global::System.Data.DataRelation relationFK_AnagCausali_AnagFamMacchine; + + private global::System.Data.DataRelation relationFK_InterventoOpMtz_AnagrOperMtz; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public DS_applicazione() { + 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()] + protected DS_applicazione(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["LogUpdateDb"] != null)) { + base.Tables.Add(new LogUpdateDbDataTable(ds.Tables["LogUpdateDb"])); + } + if ((ds.Tables["AnagAmbitoGuasto"] != null)) { + base.Tables.Add(new AnagAmbitoGuastoDataTable(ds.Tables["AnagAmbitoGuasto"])); + } + if ((ds.Tables["AnagPriorita"] != null)) { + base.Tables.Add(new AnagPrioritaDataTable(ds.Tables["AnagPriorita"])); + } + if ((ds.Tables["AnagImpianti"] != null)) { + base.Tables.Add(new AnagImpiantiDataTable(ds.Tables["AnagImpianti"])); + } + if ((ds.Tables["v_macchine"] != null)) { + base.Tables.Add(new v_macchineDataTable(ds.Tables["v_macchine"])); + } + if ((ds.Tables["v_selFamMacc"] != null)) { + base.Tables.Add(new v_selFamMaccDataTable(ds.Tables["v_selFamMacc"])); + } + if ((ds.Tables["AnagFamMacchine"] != null)) { + base.Tables.Add(new AnagFamMacchineDataTable(ds.Tables["AnagFamMacchine"])); + } + if ((ds.Tables["v_intervExp"] != null)) { + base.Tables.Add(new v_intervExpDataTable(ds.Tables["v_intervExp"])); + } + if ((ds.Tables["AnagTipoGuasto"] != null)) { + base.Tables.Add(new AnagTipoGuastoDataTable(ds.Tables["AnagTipoGuasto"])); + } + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["InterventoOpMtz"] != null)) { + base.Tables.Add(new InterventoOpMtzDataTable(ds.Tables["InterventoOpMtz"])); + } + if ((ds.Tables["v_mtzProgExp"] != null)) { + base.Tables.Add(new v_mtzProgExpDataTable(ds.Tables["v_mtzProgExp"])); + } + if ((ds.Tables["MtzProgPending"] != null)) { + base.Tables.Add(new MtzProgPendingDataTable(ds.Tables["MtzProgPending"])); + } + if ((ds.Tables["MtzProgrammata"] != null)) { + base.Tables.Add(new MtzProgrammataDataTable(ds.Tables["MtzProgrammata"])); + } + if ((ds.Tables["CalendFesteFerie"] != null)) { + base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"])); + } + if ((ds.Tables["OreAperturaSett"] != null)) { + base.Tables.Add(new OreAperturaSettDataTable(ds.Tables["OreAperturaSett"])); + } + if ((ds.Tables["FiltroImpianti"] != null)) { + base.Tables.Add(new FiltroImpiantiDataTable(ds.Tables["FiltroImpianti"])); + } + if ((ds.Tables["FiltroMacchine"] != null)) { + base.Tables.Add(new FiltroMacchineDataTable(ds.Tables["FiltroMacchine"])); + } + if ((ds.Tables["FiltroStati"] != null)) { + base.Tables.Add(new FiltroStatiDataTable(ds.Tables["FiltroStati"])); + } + if ((ds.Tables["AnagCausali"] != null)) { + base.Tables.Add(new AnagCausaliDataTable(ds.Tables["AnagCausali"])); + } + if ((ds.Tables["AnagrOperMtz"] != null)) { + base.Tables.Add(new AnagrOperMtzDataTable(ds.Tables["AnagrOperMtz"])); + } + 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.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public LogUpdateDbDataTable LogUpdateDb { + get { + return this.tableLogUpdateDb; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagAmbitoGuastoDataTable AnagAmbitoGuasto { + get { + return this.tableAnagAmbitoGuasto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagPrioritaDataTable AnagPriorita { + get { + return this.tableAnagPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagImpiantiDataTable AnagImpianti { + get { + return this.tableAnagImpianti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_macchineDataTable v_macchine { + get { + return this.tablev_macchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selFamMaccDataTable v_selFamMacc { + get { + return this.tablev_selFamMacc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagFamMacchineDataTable AnagFamMacchine { + get { + return this.tableAnagFamMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_intervExpDataTable v_intervExp { + get { + return this.tablev_intervExp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagTipoGuastoDataTable AnagTipoGuasto { + get { + return this.tableAnagTipoGuasto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagStatiDataTable AnagStati { + get { + return this.tableAnagStati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public InterventoOpMtzDataTable InterventoOpMtz { + get { + return this.tableInterventoOpMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_mtzProgExpDataTable v_mtzProgExp { + get { + return this.tablev_mtzProgExp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public MtzProgPendingDataTable MtzProgPending { + get { + return this.tableMtzProgPending; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public MtzProgrammataDataTable MtzProgrammata { + get { + return this.tableMtzProgrammata; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public OreAperturaSettDataTable OreAperturaSett { + get { + return this.tableOreAperturaSett; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public FiltroImpiantiDataTable FiltroImpianti { + get { + return this.tableFiltroImpianti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public FiltroMacchineDataTable FiltroMacchine { + get { + return this.tableFiltroMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public FiltroStatiDataTable FiltroStati { + get { + return this.tableFiltroStati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagCausaliDataTable AnagCausali { + get { + return this.tableAnagCausali; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagrOperMtzDataTable AnagrOperMtz { + get { + return this.tableAnagrOperMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataSet Clone() { + DS_applicazione cln = ((DS_applicazione)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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["LogUpdateDb"] != null)) { + base.Tables.Add(new LogUpdateDbDataTable(ds.Tables["LogUpdateDb"])); + } + if ((ds.Tables["AnagAmbitoGuasto"] != null)) { + base.Tables.Add(new AnagAmbitoGuastoDataTable(ds.Tables["AnagAmbitoGuasto"])); + } + if ((ds.Tables["AnagPriorita"] != null)) { + base.Tables.Add(new AnagPrioritaDataTable(ds.Tables["AnagPriorita"])); + } + if ((ds.Tables["AnagImpianti"] != null)) { + base.Tables.Add(new AnagImpiantiDataTable(ds.Tables["AnagImpianti"])); + } + if ((ds.Tables["v_macchine"] != null)) { + base.Tables.Add(new v_macchineDataTable(ds.Tables["v_macchine"])); + } + if ((ds.Tables["v_selFamMacc"] != null)) { + base.Tables.Add(new v_selFamMaccDataTable(ds.Tables["v_selFamMacc"])); + } + if ((ds.Tables["AnagFamMacchine"] != null)) { + base.Tables.Add(new AnagFamMacchineDataTable(ds.Tables["AnagFamMacchine"])); + } + if ((ds.Tables["v_intervExp"] != null)) { + base.Tables.Add(new v_intervExpDataTable(ds.Tables["v_intervExp"])); + } + if ((ds.Tables["AnagTipoGuasto"] != null)) { + base.Tables.Add(new AnagTipoGuastoDataTable(ds.Tables["AnagTipoGuasto"])); + } + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["InterventoOpMtz"] != null)) { + base.Tables.Add(new InterventoOpMtzDataTable(ds.Tables["InterventoOpMtz"])); + } + if ((ds.Tables["v_mtzProgExp"] != null)) { + base.Tables.Add(new v_mtzProgExpDataTable(ds.Tables["v_mtzProgExp"])); + } + if ((ds.Tables["MtzProgPending"] != null)) { + base.Tables.Add(new MtzProgPendingDataTable(ds.Tables["MtzProgPending"])); + } + if ((ds.Tables["MtzProgrammata"] != null)) { + base.Tables.Add(new MtzProgrammataDataTable(ds.Tables["MtzProgrammata"])); + } + if ((ds.Tables["CalendFesteFerie"] != null)) { + base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"])); + } + if ((ds.Tables["OreAperturaSett"] != null)) { + base.Tables.Add(new OreAperturaSettDataTable(ds.Tables["OreAperturaSett"])); + } + if ((ds.Tables["FiltroImpianti"] != null)) { + base.Tables.Add(new FiltroImpiantiDataTable(ds.Tables["FiltroImpianti"])); + } + if ((ds.Tables["FiltroMacchine"] != null)) { + base.Tables.Add(new FiltroMacchineDataTable(ds.Tables["FiltroMacchine"])); + } + if ((ds.Tables["FiltroStati"] != null)) { + base.Tables.Add(new FiltroStatiDataTable(ds.Tables["FiltroStati"])); + } + if ((ds.Tables["AnagCausali"] != null)) { + base.Tables.Add(new AnagCausaliDataTable(ds.Tables["AnagCausali"])); + } + if ((ds.Tables["AnagrOperMtz"] != null)) { + base.Tables.Add(new AnagrOperMtzDataTable(ds.Tables["AnagrOperMtz"])); + } + 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()] + 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()] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars(bool initTable) { + this.tableLogUpdateDb = ((LogUpdateDbDataTable)(base.Tables["LogUpdateDb"])); + if ((initTable == true)) { + if ((this.tableLogUpdateDb != null)) { + this.tableLogUpdateDb.InitVars(); + } + } + this.tableAnagAmbitoGuasto = ((AnagAmbitoGuastoDataTable)(base.Tables["AnagAmbitoGuasto"])); + if ((initTable == true)) { + if ((this.tableAnagAmbitoGuasto != null)) { + this.tableAnagAmbitoGuasto.InitVars(); + } + } + this.tableAnagPriorita = ((AnagPrioritaDataTable)(base.Tables["AnagPriorita"])); + if ((initTable == true)) { + if ((this.tableAnagPriorita != null)) { + this.tableAnagPriorita.InitVars(); + } + } + this.tableAnagImpianti = ((AnagImpiantiDataTable)(base.Tables["AnagImpianti"])); + if ((initTable == true)) { + if ((this.tableAnagImpianti != null)) { + this.tableAnagImpianti.InitVars(); + } + } + this.tablev_macchine = ((v_macchineDataTable)(base.Tables["v_macchine"])); + if ((initTable == true)) { + if ((this.tablev_macchine != null)) { + this.tablev_macchine.InitVars(); + } + } + this.tablev_selFamMacc = ((v_selFamMaccDataTable)(base.Tables["v_selFamMacc"])); + if ((initTable == true)) { + if ((this.tablev_selFamMacc != null)) { + this.tablev_selFamMacc.InitVars(); + } + } + this.tableAnagFamMacchine = ((AnagFamMacchineDataTable)(base.Tables["AnagFamMacchine"])); + if ((initTable == true)) { + if ((this.tableAnagFamMacchine != null)) { + this.tableAnagFamMacchine.InitVars(); + } + } + this.tablev_intervExp = ((v_intervExpDataTable)(base.Tables["v_intervExp"])); + if ((initTable == true)) { + if ((this.tablev_intervExp != null)) { + this.tablev_intervExp.InitVars(); + } + } + this.tableAnagTipoGuasto = ((AnagTipoGuastoDataTable)(base.Tables["AnagTipoGuasto"])); + if ((initTable == true)) { + if ((this.tableAnagTipoGuasto != null)) { + this.tableAnagTipoGuasto.InitVars(); + } + } + this.tableAnagStati = ((AnagStatiDataTable)(base.Tables["AnagStati"])); + if ((initTable == true)) { + if ((this.tableAnagStati != null)) { + this.tableAnagStati.InitVars(); + } + } + this.tableInterventoOpMtz = ((InterventoOpMtzDataTable)(base.Tables["InterventoOpMtz"])); + if ((initTable == true)) { + if ((this.tableInterventoOpMtz != null)) { + this.tableInterventoOpMtz.InitVars(); + } + } + this.tablev_mtzProgExp = ((v_mtzProgExpDataTable)(base.Tables["v_mtzProgExp"])); + if ((initTable == true)) { + if ((this.tablev_mtzProgExp != null)) { + this.tablev_mtzProgExp.InitVars(); + } + } + this.tableMtzProgPending = ((MtzProgPendingDataTable)(base.Tables["MtzProgPending"])); + if ((initTable == true)) { + if ((this.tableMtzProgPending != null)) { + this.tableMtzProgPending.InitVars(); + } + } + this.tableMtzProgrammata = ((MtzProgrammataDataTable)(base.Tables["MtzProgrammata"])); + if ((initTable == true)) { + if ((this.tableMtzProgrammata != null)) { + this.tableMtzProgrammata.InitVars(); + } + } + this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(base.Tables["CalendFesteFerie"])); + if ((initTable == true)) { + if ((this.tableCalendFesteFerie != null)) { + this.tableCalendFesteFerie.InitVars(); + } + } + this.tableOreAperturaSett = ((OreAperturaSettDataTable)(base.Tables["OreAperturaSett"])); + if ((initTable == true)) { + if ((this.tableOreAperturaSett != null)) { + this.tableOreAperturaSett.InitVars(); + } + } + this.tableFiltroImpianti = ((FiltroImpiantiDataTable)(base.Tables["FiltroImpianti"])); + if ((initTable == true)) { + if ((this.tableFiltroImpianti != null)) { + this.tableFiltroImpianti.InitVars(); + } + } + this.tableFiltroMacchine = ((FiltroMacchineDataTable)(base.Tables["FiltroMacchine"])); + if ((initTable == true)) { + if ((this.tableFiltroMacchine != null)) { + this.tableFiltroMacchine.InitVars(); + } + } + this.tableFiltroStati = ((FiltroStatiDataTable)(base.Tables["FiltroStati"])); + if ((initTable == true)) { + if ((this.tableFiltroStati != null)) { + this.tableFiltroStati.InitVars(); + } + } + this.tableAnagCausali = ((AnagCausaliDataTable)(base.Tables["AnagCausali"])); + if ((initTable == true)) { + if ((this.tableAnagCausali != null)) { + this.tableAnagCausali.InitVars(); + } + } + this.tableAnagrOperMtz = ((AnagrOperMtzDataTable)(base.Tables["AnagrOperMtz"])); + if ((initTable == true)) { + if ((this.tableAnagrOperMtz != null)) { + this.tableAnagrOperMtz.InitVars(); + } + } + this.relationFK_AnagMacchine_AnagImpianti = this.Relations["FK_AnagMacchine_AnagImpianti"]; + this.relationMacchine2FamMacchine_v_macchine = this.Relations["Macchine2FamMacchine_v_macchine"]; + this.relationAnagFamMacchine_v_selFamMacc = this.Relations["AnagFamMacchine_v_selFamMacc"]; + this.relationFK_InterventiMtz_AnagAmbitoGuasto = this.Relations["FK_InterventiMtz_AnagAmbitoGuasto"]; + this.relationFK_InterventiMtz_AnagImpianti = this.Relations["FK_InterventiMtz_AnagImpianti"]; + this.relationFK_InterventiMtz_AnagPriorita = this.Relations["FK_InterventiMtz_AnagPriorita"]; + this.relationFK_InterventiMtz_AnagTipoGuasto = this.Relations["FK_InterventiMtz_AnagTipoGuasto"]; + this.relationv_intervExp_InterventoOpMtz = this.Relations["v_intervExp_InterventoOpMtz"]; + this.relationFK_MtzProgPending_MtzProgrammata = this.Relations["FK_MtzProgPending_MtzProgrammata"]; + this.relationFK_FiltroImpianti_AnagImpianti = this.Relations["FK_FiltroImpianti_AnagImpianti"]; + this.relationv_macchine_FiltroMacchine = this.Relations["v_macchine_FiltroMacchine"]; + this.relationFK_FiltroStati_AnagStati = this.Relations["FK_FiltroStati_AnagStati"]; + this.relationFK_AnagCausali_AnagFamMacchine = this.Relations["FK_AnagCausali_AnagFamMacchine"]; + this.relationFK_InterventoOpMtz_AnagrOperMtz = this.Relations["FK_InterventoOpMtz_AnagrOperMtz"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.DataSetName = "DS_applicazione"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_applicazione.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableLogUpdateDb = new LogUpdateDbDataTable(); + base.Tables.Add(this.tableLogUpdateDb); + this.tableAnagAmbitoGuasto = new AnagAmbitoGuastoDataTable(); + base.Tables.Add(this.tableAnagAmbitoGuasto); + this.tableAnagPriorita = new AnagPrioritaDataTable(); + base.Tables.Add(this.tableAnagPriorita); + this.tableAnagImpianti = new AnagImpiantiDataTable(); + base.Tables.Add(this.tableAnagImpianti); + this.tablev_macchine = new v_macchineDataTable(); + base.Tables.Add(this.tablev_macchine); + this.tablev_selFamMacc = new v_selFamMaccDataTable(); + base.Tables.Add(this.tablev_selFamMacc); + this.tableAnagFamMacchine = new AnagFamMacchineDataTable(); + base.Tables.Add(this.tableAnagFamMacchine); + this.tablev_intervExp = new v_intervExpDataTable(); + base.Tables.Add(this.tablev_intervExp); + this.tableAnagTipoGuasto = new AnagTipoGuastoDataTable(); + base.Tables.Add(this.tableAnagTipoGuasto); + this.tableAnagStati = new AnagStatiDataTable(); + base.Tables.Add(this.tableAnagStati); + this.tableInterventoOpMtz = new InterventoOpMtzDataTable(); + base.Tables.Add(this.tableInterventoOpMtz); + this.tablev_mtzProgExp = new v_mtzProgExpDataTable(); + base.Tables.Add(this.tablev_mtzProgExp); + this.tableMtzProgPending = new MtzProgPendingDataTable(); + base.Tables.Add(this.tableMtzProgPending); + this.tableMtzProgrammata = new MtzProgrammataDataTable(); + base.Tables.Add(this.tableMtzProgrammata); + this.tableCalendFesteFerie = new CalendFesteFerieDataTable(); + base.Tables.Add(this.tableCalendFesteFerie); + this.tableOreAperturaSett = new OreAperturaSettDataTable(); + base.Tables.Add(this.tableOreAperturaSett); + this.tableFiltroImpianti = new FiltroImpiantiDataTable(); + base.Tables.Add(this.tableFiltroImpianti); + this.tableFiltroMacchine = new FiltroMacchineDataTable(); + base.Tables.Add(this.tableFiltroMacchine); + this.tableFiltroStati = new FiltroStatiDataTable(); + base.Tables.Add(this.tableFiltroStati); + this.tableAnagCausali = new AnagCausaliDataTable(); + base.Tables.Add(this.tableAnagCausali); + this.tableAnagrOperMtz = new AnagrOperMtzDataTable(); + base.Tables.Add(this.tableAnagrOperMtz); + this.relationFK_AnagMacchine_AnagImpianti = new global::System.Data.DataRelation("FK_AnagMacchine_AnagImpianti", new global::System.Data.DataColumn[] { + this.tableAnagImpianti.idxImpiantoColumn}, new global::System.Data.DataColumn[] { + this.tablev_macchine.idxImpiantoColumn}, false); + this.Relations.Add(this.relationFK_AnagMacchine_AnagImpianti); + this.relationMacchine2FamMacchine_v_macchine = new global::System.Data.DataRelation("Macchine2FamMacchine_v_macchine", new global::System.Data.DataColumn[] { + this.tablev_selFamMacc.idxMacchinaColumn}, new global::System.Data.DataColumn[] { + this.tablev_macchine.idxMacchinaColumn}, false); + this.Relations.Add(this.relationMacchine2FamMacchine_v_macchine); + this.relationAnagFamMacchine_v_selFamMacc = new global::System.Data.DataRelation("AnagFamMacchine_v_selFamMacc", new global::System.Data.DataColumn[] { + this.tableAnagFamMacchine.idxFamMacchineColumn}, new global::System.Data.DataColumn[] { + this.tablev_selFamMacc.idxFamMacchineColumn}, false); + this.Relations.Add(this.relationAnagFamMacchine_v_selFamMacc); + this.relationFK_InterventiMtz_AnagAmbitoGuasto = new global::System.Data.DataRelation("FK_InterventiMtz_AnagAmbitoGuasto", new global::System.Data.DataColumn[] { + this.tableAnagAmbitoGuasto.idxAmbitoColumn}, new global::System.Data.DataColumn[] { + this.tablev_intervExp.idxAmbitoColumn}, false); + this.Relations.Add(this.relationFK_InterventiMtz_AnagAmbitoGuasto); + this.relationFK_InterventiMtz_AnagImpianti = new global::System.Data.DataRelation("FK_InterventiMtz_AnagImpianti", new global::System.Data.DataColumn[] { + this.tableAnagImpianti.idxImpiantoColumn}, new global::System.Data.DataColumn[] { + this.tablev_intervExp.idxImpiantoColumn}, false); + this.Relations.Add(this.relationFK_InterventiMtz_AnagImpianti); + this.relationFK_InterventiMtz_AnagPriorita = new global::System.Data.DataRelation("FK_InterventiMtz_AnagPriorita", new global::System.Data.DataColumn[] { + this.tableAnagPriorita.idxPrioritaColumn}, new global::System.Data.DataColumn[] { + this.tablev_intervExp.idxPrioritaColumn}, false); + this.Relations.Add(this.relationFK_InterventiMtz_AnagPriorita); + this.relationFK_InterventiMtz_AnagTipoGuasto = new global::System.Data.DataRelation("FK_InterventiMtz_AnagTipoGuasto", new global::System.Data.DataColumn[] { + this.tableAnagTipoGuasto.idxTipoColumn}, new global::System.Data.DataColumn[] { + this.tablev_intervExp.idxTipoColumn}, false); + this.Relations.Add(this.relationFK_InterventiMtz_AnagTipoGuasto); + this.relationv_intervExp_InterventoOpMtz = new global::System.Data.DataRelation("v_intervExp_InterventoOpMtz", new global::System.Data.DataColumn[] { + this.tablev_intervExp.numIntMtzColumn}, new global::System.Data.DataColumn[] { + this.tableInterventoOpMtz.numIntMtzColumn}, false); + this.Relations.Add(this.relationv_intervExp_InterventoOpMtz); + this.relationFK_MtzProgPending_MtzProgrammata = new global::System.Data.DataRelation("FK_MtzProgPending_MtzProgrammata", new global::System.Data.DataColumn[] { + this.tableMtzProgrammata.idxIntProColumn}, new global::System.Data.DataColumn[] { + this.tableMtzProgPending.idxIntProColumn}, false); + this.Relations.Add(this.relationFK_MtzProgPending_MtzProgrammata); + this.relationFK_FiltroImpianti_AnagImpianti = new global::System.Data.DataRelation("FK_FiltroImpianti_AnagImpianti", new global::System.Data.DataColumn[] { + this.tableAnagImpianti.idxImpiantoColumn}, new global::System.Data.DataColumn[] { + this.tableFiltroImpianti.idxImpiantoColumn}, false); + this.Relations.Add(this.relationFK_FiltroImpianti_AnagImpianti); + this.relationv_macchine_FiltroMacchine = new global::System.Data.DataRelation("v_macchine_FiltroMacchine", new global::System.Data.DataColumn[] { + this.tablev_macchine.idxMacchinaColumn}, new global::System.Data.DataColumn[] { + this.tableFiltroMacchine.idxMacchinaColumn}, false); + this.Relations.Add(this.relationv_macchine_FiltroMacchine); + this.relationFK_FiltroStati_AnagStati = new global::System.Data.DataRelation("FK_FiltroStati_AnagStati", new global::System.Data.DataColumn[] { + this.tableAnagStati.idxStatoColumn}, new global::System.Data.DataColumn[] { + this.tableFiltroStati.idxStatoColumn}, false); + this.Relations.Add(this.relationFK_FiltroStati_AnagStati); + this.relationFK_AnagCausali_AnagFamMacchine = new global::System.Data.DataRelation("FK_AnagCausali_AnagFamMacchine", new global::System.Data.DataColumn[] { + this.tableAnagFamMacchine.idxFamMacchineColumn}, new global::System.Data.DataColumn[] { + this.tableAnagCausali.idxFamMacchineColumn}, false); + this.Relations.Add(this.relationFK_AnagCausali_AnagFamMacchine); + this.relationFK_InterventoOpMtz_AnagrOperMtz = new global::System.Data.DataRelation("FK_InterventoOpMtz_AnagrOperMtz", new global::System.Data.DataColumn[] { + this.tableAnagrOperMtz.matrOpColumn}, new global::System.Data.DataColumn[] { + this.tableInterventoOpMtz.matrOpColumn}, false); + this.Relations.Add(this.relationFK_InterventoOpMtz_AnagrOperMtz); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeLogUpdateDb() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagAmbitoGuasto() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagPriorita() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagImpianti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_macchine() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selFamMacc() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagFamMacchine() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_intervExp() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagTipoGuasto() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagStati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeInterventoOpMtz() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_mtzProgExp() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeMtzProgPending() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeMtzProgrammata() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeCalendFesteFerie() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeOreAperturaSett() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeFiltroImpianti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeFiltroMacchine() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeFiltroStati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagCausali() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagrOperMtz() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_applicazione ds = new DS_applicazione(); + 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; + } + + public delegate void LogUpdateDbRowChangeEventHandler(object sender, LogUpdateDbRowChangeEvent e); + + public delegate void AnagAmbitoGuastoRowChangeEventHandler(object sender, AnagAmbitoGuastoRowChangeEvent e); + + public delegate void AnagPrioritaRowChangeEventHandler(object sender, AnagPrioritaRowChangeEvent e); + + public delegate void AnagImpiantiRowChangeEventHandler(object sender, AnagImpiantiRowChangeEvent e); + + public delegate void v_macchineRowChangeEventHandler(object sender, v_macchineRowChangeEvent e); + + public delegate void v_selFamMaccRowChangeEventHandler(object sender, v_selFamMaccRowChangeEvent e); + + public delegate void AnagFamMacchineRowChangeEventHandler(object sender, AnagFamMacchineRowChangeEvent e); + + public delegate void v_intervExpRowChangeEventHandler(object sender, v_intervExpRowChangeEvent e); + + public delegate void AnagTipoGuastoRowChangeEventHandler(object sender, AnagTipoGuastoRowChangeEvent e); + + public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e); + + public delegate void InterventoOpMtzRowChangeEventHandler(object sender, InterventoOpMtzRowChangeEvent e); + + public delegate void v_mtzProgExpRowChangeEventHandler(object sender, v_mtzProgExpRowChangeEvent e); + + public delegate void MtzProgPendingRowChangeEventHandler(object sender, MtzProgPendingRowChangeEvent e); + + public delegate void MtzProgrammataRowChangeEventHandler(object sender, MtzProgrammataRowChangeEvent e); + + public delegate void CalendFesteFerieRowChangeEventHandler(object sender, CalendFesteFerieRowChangeEvent e); + + public delegate void OreAperturaSettRowChangeEventHandler(object sender, OreAperturaSettRowChangeEvent e); + + public delegate void FiltroImpiantiRowChangeEventHandler(object sender, FiltroImpiantiRowChangeEvent e); + + public delegate void FiltroMacchineRowChangeEventHandler(object sender, FiltroMacchineRowChangeEvent e); + + public delegate void FiltroStatiRowChangeEventHandler(object sender, FiltroStatiRowChangeEvent e); + + public delegate void AnagCausaliRowChangeEventHandler(object sender, AnagCausaliRowChangeEvent e); + + public delegate void AnagrOperMtzRowChangeEventHandler(object sender, AnagrOperMtzRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class LogUpdateDbDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnVersione; + + private global::System.Data.DataColumn columnData; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbDataTable() { + this.TableName = "LogUpdateDb"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal LogUpdateDbDataTable(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()] + protected LogUpdateDbDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn VersioneColumn { + get { + return this.columnVersione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DataColumn { + get { + return this.columnData; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbRow this[int index] { + get { + return ((LogUpdateDbRow)(this.Rows[index])); + } + } + + public event LogUpdateDbRowChangeEventHandler LogUpdateDbRowChanging; + + public event LogUpdateDbRowChangeEventHandler LogUpdateDbRowChanged; + + public event LogUpdateDbRowChangeEventHandler LogUpdateDbRowDeleting; + + public event LogUpdateDbRowChangeEventHandler LogUpdateDbRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddLogUpdateDbRow(LogUpdateDbRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbRow AddLogUpdateDbRow(int Versione, System.DateTime Data) { + LogUpdateDbRow rowLogUpdateDbRow = ((LogUpdateDbRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Versione, + Data}; + rowLogUpdateDbRow.ItemArray = columnValuesArray; + this.Rows.Add(rowLogUpdateDbRow); + return rowLogUpdateDbRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbRow FindByVersione(int Versione) { + return ((LogUpdateDbRow)(this.Rows.Find(new object[] { + Versione}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + LogUpdateDbDataTable cln = ((LogUpdateDbDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new LogUpdateDbDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnVersione = base.Columns["Versione"]; + this.columnData = base.Columns["Data"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnVersione = new global::System.Data.DataColumn("Versione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnVersione); + this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnData); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnVersione}, true)); + this.columnVersione.AllowDBNull = false; + this.columnVersione.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbRow NewLogUpdateDbRow() { + return ((LogUpdateDbRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new LogUpdateDbRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(LogUpdateDbRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.LogUpdateDbRowChanged != null)) { + this.LogUpdateDbRowChanged(this, new LogUpdateDbRowChangeEvent(((LogUpdateDbRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.LogUpdateDbRowChanging != null)) { + this.LogUpdateDbRowChanging(this, new LogUpdateDbRowChangeEvent(((LogUpdateDbRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.LogUpdateDbRowDeleted != null)) { + this.LogUpdateDbRowDeleted(this, new LogUpdateDbRowChangeEvent(((LogUpdateDbRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.LogUpdateDbRowDeleting != null)) { + this.LogUpdateDbRowDeleting(this, new LogUpdateDbRowChangeEvent(((LogUpdateDbRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveLogUpdateDbRow(LogUpdateDbRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "LogUpdateDbDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagAmbitoGuastoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxAmbito; + + private global::System.Data.DataColumn columndescrAmbitoGuasto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoDataTable() { + this.TableName = "AnagAmbitoGuasto"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagAmbitoGuastoDataTable(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()] + protected AnagAmbitoGuastoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxAmbitoColumn { + get { + return this.columnidxAmbito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrAmbitoGuastoColumn { + get { + return this.columndescrAmbitoGuasto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoRow this[int index] { + get { + return ((AnagAmbitoGuastoRow)(this.Rows[index])); + } + } + + public event AnagAmbitoGuastoRowChangeEventHandler AnagAmbitoGuastoRowChanging; + + public event AnagAmbitoGuastoRowChangeEventHandler AnagAmbitoGuastoRowChanged; + + public event AnagAmbitoGuastoRowChangeEventHandler AnagAmbitoGuastoRowDeleting; + + public event AnagAmbitoGuastoRowChangeEventHandler AnagAmbitoGuastoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagAmbitoGuastoRow(AnagAmbitoGuastoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoRow AddAnagAmbitoGuastoRow(string descrAmbitoGuasto) { + AnagAmbitoGuastoRow rowAnagAmbitoGuastoRow = ((AnagAmbitoGuastoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + descrAmbitoGuasto}; + rowAnagAmbitoGuastoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagAmbitoGuastoRow); + return rowAnagAmbitoGuastoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoRow FindByidxAmbito(int idxAmbito) { + return ((AnagAmbitoGuastoRow)(this.Rows.Find(new object[] { + idxAmbito}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagAmbitoGuastoDataTable cln = ((AnagAmbitoGuastoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagAmbitoGuastoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxAmbito = base.Columns["idxAmbito"]; + this.columndescrAmbitoGuasto = base.Columns["descrAmbitoGuasto"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxAmbito = new global::System.Data.DataColumn("idxAmbito", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxAmbito); + this.columndescrAmbitoGuasto = new global::System.Data.DataColumn("descrAmbitoGuasto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrAmbitoGuasto); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxAmbito}, true)); + this.columnidxAmbito.AutoIncrement = true; + this.columnidxAmbito.AutoIncrementSeed = -1; + this.columnidxAmbito.AutoIncrementStep = -1; + this.columnidxAmbito.AllowDBNull = false; + this.columnidxAmbito.ReadOnly = true; + this.columnidxAmbito.Unique = true; + this.columndescrAmbitoGuasto.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoRow NewAnagAmbitoGuastoRow() { + return ((AnagAmbitoGuastoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagAmbitoGuastoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagAmbitoGuastoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagAmbitoGuastoRowChanged != null)) { + this.AnagAmbitoGuastoRowChanged(this, new AnagAmbitoGuastoRowChangeEvent(((AnagAmbitoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagAmbitoGuastoRowChanging != null)) { + this.AnagAmbitoGuastoRowChanging(this, new AnagAmbitoGuastoRowChangeEvent(((AnagAmbitoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagAmbitoGuastoRowDeleted != null)) { + this.AnagAmbitoGuastoRowDeleted(this, new AnagAmbitoGuastoRowChangeEvent(((AnagAmbitoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagAmbitoGuastoRowDeleting != null)) { + this.AnagAmbitoGuastoRowDeleting(this, new AnagAmbitoGuastoRowChangeEvent(((AnagAmbitoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagAmbitoGuastoRow(AnagAmbitoGuastoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagAmbitoGuastoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagPrioritaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxPriorita; + + private global::System.Data.DataColumn columndescrPriorita; + + private global::System.Data.DataColumn columnstile; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaDataTable() { + this.TableName = "AnagPriorita"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagPrioritaDataTable(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()] + protected AnagPrioritaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxPrioritaColumn { + get { + return this.columnidxPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrPrioritaColumn { + get { + return this.columndescrPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn stileColumn { + get { + return this.columnstile; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaRow this[int index] { + get { + return ((AnagPrioritaRow)(this.Rows[index])); + } + } + + public event AnagPrioritaRowChangeEventHandler AnagPrioritaRowChanging; + + public event AnagPrioritaRowChangeEventHandler AnagPrioritaRowChanged; + + public event AnagPrioritaRowChangeEventHandler AnagPrioritaRowDeleting; + + public event AnagPrioritaRowChangeEventHandler AnagPrioritaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagPrioritaRow(AnagPrioritaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaRow AddAnagPrioritaRow(string descrPriorita, string stile) { + AnagPrioritaRow rowAnagPrioritaRow = ((AnagPrioritaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + descrPriorita, + stile}; + rowAnagPrioritaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagPrioritaRow); + return rowAnagPrioritaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaRow FindByidxPriorita(int idxPriorita) { + return ((AnagPrioritaRow)(this.Rows.Find(new object[] { + idxPriorita}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagPrioritaDataTable cln = ((AnagPrioritaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagPrioritaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxPriorita = base.Columns["idxPriorita"]; + this.columndescrPriorita = base.Columns["descrPriorita"]; + this.columnstile = base.Columns["stile"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxPriorita = new global::System.Data.DataColumn("idxPriorita", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPriorita); + this.columndescrPriorita = new global::System.Data.DataColumn("descrPriorita", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrPriorita); + this.columnstile = new global::System.Data.DataColumn("stile", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstile); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxPriorita}, true)); + this.columnidxPriorita.AutoIncrement = true; + this.columnidxPriorita.AutoIncrementSeed = -1; + this.columnidxPriorita.AutoIncrementStep = -1; + this.columnidxPriorita.AllowDBNull = false; + this.columnidxPriorita.ReadOnly = true; + this.columnidxPriorita.Unique = true; + this.columndescrPriorita.MaxLength = 50; + this.columnstile.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaRow NewAnagPrioritaRow() { + return ((AnagPrioritaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagPrioritaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagPrioritaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagPrioritaRowChanged != null)) { + this.AnagPrioritaRowChanged(this, new AnagPrioritaRowChangeEvent(((AnagPrioritaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagPrioritaRowChanging != null)) { + this.AnagPrioritaRowChanging(this, new AnagPrioritaRowChangeEvent(((AnagPrioritaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagPrioritaRowDeleted != null)) { + this.AnagPrioritaRowDeleted(this, new AnagPrioritaRowChangeEvent(((AnagPrioritaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagPrioritaRowDeleting != null)) { + this.AnagPrioritaRowDeleting(this, new AnagPrioritaRowChangeEvent(((AnagPrioritaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagPrioritaRow(AnagPrioritaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagPrioritaDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagImpiantiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxImpianto; + + private global::System.Data.DataColumn columncodImpianto; + + private global::System.Data.DataColumn columnnomeImpianto; + + private global::System.Data.DataColumn columntipoImpianto; + + private global::System.Data.DataColumn columnfunzDal; + + private global::System.Data.DataColumn columnfunzAl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiDataTable() { + this.TableName = "AnagImpianti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagImpiantiDataTable(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()] + protected AnagImpiantiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxImpiantoColumn { + get { + return this.columnidxImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codImpiantoColumn { + get { + return this.columncodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeImpiantoColumn { + get { + return this.columnnomeImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn tipoImpiantoColumn { + get { + return this.columntipoImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn funzDalColumn { + get { + return this.columnfunzDal; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn funzAlColumn { + get { + return this.columnfunzAl; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow this[int index] { + get { + return ((AnagImpiantiRow)(this.Rows[index])); + } + } + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowChanging; + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowChanged; + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowDeleting; + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagImpiantiRow(AnagImpiantiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow AddAnagImpiantiRow(string codImpianto, string nomeImpianto, string tipoImpianto, System.DateTime funzDal, System.DateTime funzAl) { + AnagImpiantiRow rowAnagImpiantiRow = ((AnagImpiantiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + codImpianto, + nomeImpianto, + tipoImpianto, + funzDal, + funzAl}; + rowAnagImpiantiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagImpiantiRow); + return rowAnagImpiantiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow FindByidxImpianto(int idxImpianto) { + return ((AnagImpiantiRow)(this.Rows.Find(new object[] { + idxImpianto}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagImpiantiDataTable cln = ((AnagImpiantiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagImpiantiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxImpianto = base.Columns["idxImpianto"]; + this.columncodImpianto = base.Columns["codImpianto"]; + this.columnnomeImpianto = base.Columns["nomeImpianto"]; + this.columntipoImpianto = base.Columns["tipoImpianto"]; + this.columnfunzDal = base.Columns["funzDal"]; + this.columnfunzAl = base.Columns["funzAl"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxImpianto = new global::System.Data.DataColumn("idxImpianto", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxImpianto); + this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodImpianto); + this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeImpianto); + this.columntipoImpianto = new global::System.Data.DataColumn("tipoImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntipoImpianto); + this.columnfunzDal = new global::System.Data.DataColumn("funzDal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfunzDal); + this.columnfunzAl = new global::System.Data.DataColumn("funzAl", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfunzAl); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxImpianto}, true)); + this.columnidxImpianto.AutoIncrement = true; + this.columnidxImpianto.AutoIncrementSeed = -1; + this.columnidxImpianto.AutoIncrementStep = -1; + this.columnidxImpianto.AllowDBNull = false; + this.columnidxImpianto.ReadOnly = true; + this.columnidxImpianto.Unique = true; + this.columncodImpianto.MaxLength = 50; + this.columnnomeImpianto.MaxLength = 50; + this.columntipoImpianto.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow NewAnagImpiantiRow() { + return ((AnagImpiantiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagImpiantiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagImpiantiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagImpiantiRowChanged != null)) { + this.AnagImpiantiRowChanged(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagImpiantiRowChanging != null)) { + this.AnagImpiantiRowChanging(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagImpiantiRowDeleted != null)) { + this.AnagImpiantiRowDeleted(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagImpiantiRowDeleting != null)) { + this.AnagImpiantiRowDeleting(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagImpiantiRow(AnagImpiantiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagImpiantiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_macchineDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columnidxImpianto; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeMacchina; + + private global::System.Data.DataColumn columnmodello; + + private global::System.Data.DataColumn columnmatricola; + + private global::System.Data.DataColumn columnanno; + + private global::System.Data.DataColumn columnkgPeso; + + private global::System.Data.DataColumn columnkwConsumo; + + private global::System.Data.DataColumn columnfunzDal; + + private global::System.Data.DataColumn columnfunzAl; + + private global::System.Data.DataColumn columndescrImpianto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineDataTable() { + this.TableName = "v_macchine"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_macchineDataTable(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()] + protected v_macchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxImpiantoColumn { + get { + return this.columnidxImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn modelloColumn { + get { + return this.columnmodello; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn matricolaColumn { + get { + return this.columnmatricola; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn annoColumn { + get { + return this.columnanno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn kgPesoColumn { + get { + return this.columnkgPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn kwConsumoColumn { + get { + return this.columnkwConsumo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn funzDalColumn { + get { + return this.columnfunzDal; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn funzAlColumn { + get { + return this.columnfunzAl; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrImpiantoColumn { + get { + return this.columndescrImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow this[int index] { + get { + return ((v_macchineRow)(this.Rows[index])); + } + } + + public event v_macchineRowChangeEventHandler v_macchineRowChanging; + + public event v_macchineRowChangeEventHandler v_macchineRowChanged; + + public event v_macchineRowChangeEventHandler v_macchineRowDeleting; + + public event v_macchineRowChangeEventHandler v_macchineRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_macchineRow(v_macchineRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow Addv_macchineRow(AnagImpiantiRow parentAnagImpiantiRowByFK_AnagMacchine_AnagImpianti, string codMacchina, string nomeMacchina, string modello, string matricola, int anno, double kgPeso, double kwConsumo, System.DateTime funzDal, System.DateTime funzAl, string descrImpianto) { + v_macchineRow rowv_macchineRow = ((v_macchineRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + codMacchina, + nomeMacchina, + modello, + matricola, + anno, + kgPeso, + kwConsumo, + funzDal, + funzAl, + descrImpianto}; + if ((parentAnagImpiantiRowByFK_AnagMacchine_AnagImpianti != null)) { + columnValuesArray[1] = parentAnagImpiantiRowByFK_AnagMacchine_AnagImpianti[0]; + } + rowv_macchineRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_macchineRow); + return rowv_macchineRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow FindByidxMacchina(int idxMacchina) { + return ((v_macchineRow)(this.Rows.Find(new object[] { + idxMacchina}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_macchineDataTable cln = ((v_macchineDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_macchineDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columnidxImpianto = base.Columns["idxImpianto"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + this.columnmodello = base.Columns["modello"]; + this.columnmatricola = base.Columns["matricola"]; + this.columnanno = base.Columns["anno"]; + this.columnkgPeso = base.Columns["kgPeso"]; + this.columnkwConsumo = base.Columns["kwConsumo"]; + this.columnfunzDal = base.Columns["funzDal"]; + this.columnfunzAl = base.Columns["funzAl"]; + this.columndescrImpianto = base.Columns["descrImpianto"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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.columnidxImpianto = new global::System.Data.DataColumn("idxImpianto", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxImpianto); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + this.columnmodello = new global::System.Data.DataColumn("modello", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmodello); + this.columnmatricola = new global::System.Data.DataColumn("matricola", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmatricola); + this.columnanno = new global::System.Data.DataColumn("anno", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnanno); + this.columnkgPeso = new global::System.Data.DataColumn("kgPeso", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnkgPeso); + this.columnkwConsumo = new global::System.Data.DataColumn("kwConsumo", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnkwConsumo); + this.columnfunzDal = new global::System.Data.DataColumn("funzDal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfunzDal); + this.columnfunzAl = new global::System.Data.DataColumn("funzAl", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfunzAl); + this.columndescrImpianto = new global::System.Data.DataColumn("descrImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrImpianto); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxMacchina}, true)); + this.columnidxMacchina.AutoIncrement = true; + this.columnidxMacchina.AutoIncrementSeed = -1; + this.columnidxMacchina.AutoIncrementStep = -1; + this.columnidxMacchina.AllowDBNull = false; + this.columnidxMacchina.ReadOnly = true; + this.columnidxMacchina.Unique = true; + this.columncodMacchina.MaxLength = 50; + this.columnnomeMacchina.MaxLength = 250; + this.columnmodello.MaxLength = 250; + this.columnmatricola.MaxLength = 50; + this.columndescrImpianto.ReadOnly = true; + this.columndescrImpianto.MaxLength = 103; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow Newv_macchineRow() { + return ((v_macchineRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_macchineRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_macchineRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_macchineRowChanged != null)) { + this.v_macchineRowChanged(this, new v_macchineRowChangeEvent(((v_macchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_macchineRowChanging != null)) { + this.v_macchineRowChanging(this, new v_macchineRowChangeEvent(((v_macchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_macchineRowDeleted != null)) { + this.v_macchineRowDeleted(this, new v_macchineRowChangeEvent(((v_macchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_macchineRowDeleting != null)) { + this.v_macchineRowDeleting(this, new v_macchineRowChangeEvent(((v_macchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_macchineRow(v_macchineRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_macchineDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selFamMaccDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columnidxFamMacchine; + + private global::System.Data.DataColumn columnfamiglia; + + private global::System.Data.DataColumn columnmacchina; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccDataTable() { + this.TableName = "v_selFamMacc"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selFamMaccDataTable(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()] + protected v_selFamMaccDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxFamMacchineColumn { + get { + return this.columnidxFamMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn famigliaColumn { + get { + return this.columnfamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn macchinaColumn { + get { + return this.columnmacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRow this[int index] { + get { + return ((v_selFamMaccRow)(this.Rows[index])); + } + } + + public event v_selFamMaccRowChangeEventHandler v_selFamMaccRowChanging; + + public event v_selFamMaccRowChangeEventHandler v_selFamMaccRowChanged; + + public event v_selFamMaccRowChangeEventHandler v_selFamMaccRowDeleting; + + public event v_selFamMaccRowChangeEventHandler v_selFamMaccRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selFamMaccRow(v_selFamMaccRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRow Addv_selFamMaccRow(int idxMacchina, AnagFamMacchineRow parentAnagFamMacchineRowByAnagFamMacchine_v_selFamMacc, string famiglia, string macchina) { + v_selFamMaccRow rowv_selFamMaccRow = ((v_selFamMaccRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxMacchina, + null, + famiglia, + macchina}; + if ((parentAnagFamMacchineRowByAnagFamMacchine_v_selFamMacc != null)) { + columnValuesArray[1] = parentAnagFamMacchineRowByAnagFamMacchine_v_selFamMacc[0]; + } + rowv_selFamMaccRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selFamMaccRow); + return rowv_selFamMaccRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRow FindByidxMacchinaidxFamMacchine(int idxMacchina, int idxFamMacchine) { + return ((v_selFamMaccRow)(this.Rows.Find(new object[] { + idxMacchina, + idxFamMacchine}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selFamMaccDataTable cln = ((v_selFamMaccDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selFamMaccDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columnidxFamMacchine = base.Columns["idxFamMacchine"]; + this.columnfamiglia = base.Columns["famiglia"]; + this.columnmacchina = base.Columns["macchina"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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.columnidxFamMacchine = new global::System.Data.DataColumn("idxFamMacchine", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxFamMacchine); + this.columnfamiglia = new global::System.Data.DataColumn("famiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfamiglia); + this.columnmacchina = new global::System.Data.DataColumn("macchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmacchina); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxMacchina, + this.columnidxFamMacchine}, true)); + this.columnidxMacchina.AllowDBNull = false; + this.columnidxFamMacchine.AllowDBNull = false; + this.columnfamiglia.MaxLength = 50; + this.columnmacchina.ReadOnly = true; + this.columnmacchina.MaxLength = 212; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRow Newv_selFamMaccRow() { + return ((v_selFamMaccRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selFamMaccRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selFamMaccRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selFamMaccRowChanged != null)) { + this.v_selFamMaccRowChanged(this, new v_selFamMaccRowChangeEvent(((v_selFamMaccRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selFamMaccRowChanging != null)) { + this.v_selFamMaccRowChanging(this, new v_selFamMaccRowChangeEvent(((v_selFamMaccRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selFamMaccRowDeleted != null)) { + this.v_selFamMaccRowDeleted(this, new v_selFamMaccRowChangeEvent(((v_selFamMaccRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selFamMaccRowDeleting != null)) { + this.v_selFamMaccRowDeleting(this, new v_selFamMaccRowChangeEvent(((v_selFamMaccRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selFamMaccRow(v_selFamMaccRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_selFamMaccDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagFamMacchineDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxFamMacchine; + + private global::System.Data.DataColumn columnnomeFamMacch; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineDataTable() { + this.TableName = "AnagFamMacchine"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagFamMacchineDataTable(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()] + protected AnagFamMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxFamMacchineColumn { + get { + return this.columnidxFamMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeFamMacchColumn { + get { + return this.columnnomeFamMacch; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRow this[int index] { + get { + return ((AnagFamMacchineRow)(this.Rows[index])); + } + } + + public event AnagFamMacchineRowChangeEventHandler AnagFamMacchineRowChanging; + + public event AnagFamMacchineRowChangeEventHandler AnagFamMacchineRowChanged; + + public event AnagFamMacchineRowChangeEventHandler AnagFamMacchineRowDeleting; + + public event AnagFamMacchineRowChangeEventHandler AnagFamMacchineRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagFamMacchineRow(AnagFamMacchineRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRow AddAnagFamMacchineRow(string nomeFamMacch) { + AnagFamMacchineRow rowAnagFamMacchineRow = ((AnagFamMacchineRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + nomeFamMacch}; + rowAnagFamMacchineRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagFamMacchineRow); + return rowAnagFamMacchineRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRow FindByidxFamMacchine(int idxFamMacchine) { + return ((AnagFamMacchineRow)(this.Rows.Find(new object[] { + idxFamMacchine}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagFamMacchineDataTable cln = ((AnagFamMacchineDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagFamMacchineDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxFamMacchine = base.Columns["idxFamMacchine"]; + this.columnnomeFamMacch = base.Columns["nomeFamMacch"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxFamMacchine = new global::System.Data.DataColumn("idxFamMacchine", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxFamMacchine); + this.columnnomeFamMacch = new global::System.Data.DataColumn("nomeFamMacch", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeFamMacch); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxFamMacchine}, true)); + this.columnidxFamMacchine.AutoIncrement = true; + this.columnidxFamMacchine.AutoIncrementSeed = -1; + this.columnidxFamMacchine.AutoIncrementStep = -1; + this.columnidxFamMacchine.AllowDBNull = false; + this.columnidxFamMacchine.ReadOnly = true; + this.columnidxFamMacchine.Unique = true; + this.columnnomeFamMacch.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRow NewAnagFamMacchineRow() { + return ((AnagFamMacchineRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagFamMacchineRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagFamMacchineRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagFamMacchineRowChanged != null)) { + this.AnagFamMacchineRowChanged(this, new AnagFamMacchineRowChangeEvent(((AnagFamMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagFamMacchineRowChanging != null)) { + this.AnagFamMacchineRowChanging(this, new AnagFamMacchineRowChangeEvent(((AnagFamMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagFamMacchineRowDeleted != null)) { + this.AnagFamMacchineRowDeleted(this, new AnagFamMacchineRowChangeEvent(((AnagFamMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagFamMacchineRowDeleting != null)) { + this.AnagFamMacchineRowDeleting(this, new AnagFamMacchineRowChangeEvent(((AnagFamMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagFamMacchineRow(AnagFamMacchineRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagFamMacchineDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_intervExpDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnumIntMtz; + + private global::System.Data.DataColumn columnrichiesta; + + private global::System.Data.DataColumn columndataLav; + + private global::System.Data.DataColumn columnturnoLav; + + private global::System.Data.DataColumn columnmatr; + + private global::System.Data.DataColumn columnguasto; + + private global::System.Data.DataColumn columnidxAmbito; + + private global::System.Data.DataColumn columnidxPriorita; + + private global::System.Data.DataColumn columnisFermo; + + private global::System.Data.DataColumn columnidxTipo; + + private global::System.Data.DataColumn columnidxImpianto; + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnidxStato; + + private global::System.Data.DataColumn columnpresaInCarico; + + private global::System.Data.DataColumn columninizioIntervento; + + private global::System.Data.DataColumn columnfineIntervento; + + private global::System.Data.DataColumn columndescrizioneIntervento; + + private global::System.Data.DataColumn columnisPreventivabile; + + private global::System.Data.DataColumn columnidxCausale; + + private global::System.Data.DataColumn columndescrAmbitoGuasto; + + private global::System.Data.DataColumn columndescrPriorita; + + private global::System.Data.DataColumn columndescrTipo; + + private global::System.Data.DataColumn columncodImpianto; + + private global::System.Data.DataColumn columnnomeImpianto; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeMacchina; + + private global::System.Data.DataColumn columnDescrStato; + + private global::System.Data.DataColumn columndescrCausale; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpDataTable() { + this.TableName = "v_intervExp"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_intervExpDataTable(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()] + protected v_intervExpDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn numIntMtzColumn { + get { + return this.columnnumIntMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn richiestaColumn { + get { + return this.columnrichiesta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn dataLavColumn { + get { + return this.columndataLav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn turnoLavColumn { + get { + return this.columnturnoLav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn matrColumn { + get { + return this.columnmatr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn guastoColumn { + get { + return this.columnguasto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxAmbitoColumn { + get { + return this.columnidxAmbito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxPrioritaColumn { + get { + return this.columnidxPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn isFermoColumn { + get { + return this.columnisFermo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxTipoColumn { + get { + return this.columnidxTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxImpiantoColumn { + get { + return this.columnidxImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxStatoColumn { + get { + return this.columnidxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn presaInCaricoColumn { + get { + return this.columnpresaInCarico; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn inizioInterventoColumn { + get { + return this.columninizioIntervento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn fineInterventoColumn { + get { + return this.columnfineIntervento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneInterventoColumn { + get { + return this.columndescrizioneIntervento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn isPreventivabileColumn { + get { + return this.columnisPreventivabile; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxCausaleColumn { + get { + return this.columnidxCausale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrAmbitoGuastoColumn { + get { + return this.columndescrAmbitoGuasto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrPrioritaColumn { + get { + return this.columndescrPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrTipoColumn { + get { + return this.columndescrTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codImpiantoColumn { + get { + return this.columncodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeImpiantoColumn { + get { + return this.columnnomeImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrStatoColumn { + get { + return this.columnDescrStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrCausaleColumn { + get { + return this.columndescrCausale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow this[int index] { + get { + return ((v_intervExpRow)(this.Rows[index])); + } + } + + public event v_intervExpRowChangeEventHandler v_intervExpRowChanging; + + public event v_intervExpRowChangeEventHandler v_intervExpRowChanged; + + public event v_intervExpRowChangeEventHandler v_intervExpRowDeleting; + + public event v_intervExpRowChangeEventHandler v_intervExpRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_intervExpRow(v_intervExpRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow Addv_intervExpRow( + System.DateTime richiesta, + System.DateTime dataLav, + int turnoLav, + string matr, + System.DateTime guasto, + AnagAmbitoGuastoRow parentAnagAmbitoGuastoRowByFK_InterventiMtz_AnagAmbitoGuasto, + AnagPrioritaRow parentAnagPrioritaRowByFK_InterventiMtz_AnagPriorita, + bool isFermo, + AnagTipoGuastoRow parentAnagTipoGuastoRowByFK_InterventiMtz_AnagTipoGuasto, + AnagImpiantiRow parentAnagImpiantiRowByFK_InterventiMtz_AnagImpianti, + int idxMacchina, + string descrizione, + int idxStato, + System.DateTime presaInCarico, + System.DateTime inizioIntervento, + System.DateTime fineIntervento, + string descrizioneIntervento, + bool isPreventivabile, + int idxCausale, + string descrAmbitoGuasto, + string descrPriorita, + string descrTipo, + string codImpianto, + string nomeImpianto, + string codMacchina, + string nomeMacchina, + string DescrStato, + string descrCausale) { + v_intervExpRow rowv_intervExpRow = ((v_intervExpRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + richiesta, + dataLav, + turnoLav, + matr, + guasto, + null, + null, + isFermo, + null, + null, + idxMacchina, + descrizione, + idxStato, + presaInCarico, + inizioIntervento, + fineIntervento, + descrizioneIntervento, + isPreventivabile, + idxCausale, + descrAmbitoGuasto, + descrPriorita, + descrTipo, + codImpianto, + nomeImpianto, + codMacchina, + nomeMacchina, + DescrStato, + descrCausale}; + if ((parentAnagAmbitoGuastoRowByFK_InterventiMtz_AnagAmbitoGuasto != null)) { + columnValuesArray[6] = parentAnagAmbitoGuastoRowByFK_InterventiMtz_AnagAmbitoGuasto[0]; + } + if ((parentAnagPrioritaRowByFK_InterventiMtz_AnagPriorita != null)) { + columnValuesArray[7] = parentAnagPrioritaRowByFK_InterventiMtz_AnagPriorita[0]; + } + if ((parentAnagTipoGuastoRowByFK_InterventiMtz_AnagTipoGuasto != null)) { + columnValuesArray[9] = parentAnagTipoGuastoRowByFK_InterventiMtz_AnagTipoGuasto[0]; + } + if ((parentAnagImpiantiRowByFK_InterventiMtz_AnagImpianti != null)) { + columnValuesArray[10] = parentAnagImpiantiRowByFK_InterventiMtz_AnagImpianti[0]; + } + rowv_intervExpRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_intervExpRow); + return rowv_intervExpRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow FindBynumIntMtz(int numIntMtz) { + return ((v_intervExpRow)(this.Rows.Find(new object[] { + numIntMtz}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_intervExpDataTable cln = ((v_intervExpDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_intervExpDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnnumIntMtz = base.Columns["numIntMtz"]; + this.columnrichiesta = base.Columns["richiesta"]; + this.columndataLav = base.Columns["dataLav"]; + this.columnturnoLav = base.Columns["turnoLav"]; + this.columnmatr = base.Columns["matr"]; + this.columnguasto = base.Columns["guasto"]; + this.columnidxAmbito = base.Columns["idxAmbito"]; + this.columnidxPriorita = base.Columns["idxPriorita"]; + this.columnisFermo = base.Columns["isFermo"]; + this.columnidxTipo = base.Columns["idxTipo"]; + this.columnidxImpianto = base.Columns["idxImpianto"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnidxStato = base.Columns["idxStato"]; + this.columnpresaInCarico = base.Columns["presaInCarico"]; + this.columninizioIntervento = base.Columns["inizioIntervento"]; + this.columnfineIntervento = base.Columns["fineIntervento"]; + this.columndescrizioneIntervento = base.Columns["descrizioneIntervento"]; + this.columnisPreventivabile = base.Columns["isPreventivabile"]; + this.columnidxCausale = base.Columns["idxCausale"]; + this.columndescrAmbitoGuasto = base.Columns["descrAmbitoGuasto"]; + this.columndescrPriorita = base.Columns["descrPriorita"]; + this.columndescrTipo = base.Columns["descrTipo"]; + this.columncodImpianto = base.Columns["codImpianto"]; + this.columnnomeImpianto = base.Columns["nomeImpianto"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + this.columnDescrStato = base.Columns["DescrStato"]; + this.columndescrCausale = base.Columns["descrCausale"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnnumIntMtz = new global::System.Data.DataColumn("numIntMtz", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnumIntMtz); + this.columnrichiesta = new global::System.Data.DataColumn("richiesta", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrichiesta); + this.columndataLav = new global::System.Data.DataColumn("dataLav", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndataLav); + this.columnturnoLav = new global::System.Data.DataColumn("turnoLav", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnturnoLav); + this.columnmatr = new global::System.Data.DataColumn("matr", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmatr); + this.columnguasto = new global::System.Data.DataColumn("guasto", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnguasto); + this.columnidxAmbito = new global::System.Data.DataColumn("idxAmbito", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxAmbito); + this.columnidxPriorita = new global::System.Data.DataColumn("idxPriorita", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPriorita); + this.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisFermo); + this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxTipo); + this.columnidxImpianto = new global::System.Data.DataColumn("idxImpianto", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxImpianto); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxStato); + this.columnpresaInCarico = new global::System.Data.DataColumn("presaInCarico", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpresaInCarico); + this.columninizioIntervento = new global::System.Data.DataColumn("inizioIntervento", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninizioIntervento); + this.columnfineIntervento = new global::System.Data.DataColumn("fineIntervento", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfineIntervento); + this.columndescrizioneIntervento = new global::System.Data.DataColumn("descrizioneIntervento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizioneIntervento); + this.columnisPreventivabile = new global::System.Data.DataColumn("isPreventivabile", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisPreventivabile); + this.columnidxCausale = new global::System.Data.DataColumn("idxCausale", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxCausale); + this.columndescrAmbitoGuasto = new global::System.Data.DataColumn("descrAmbitoGuasto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrAmbitoGuasto); + this.columndescrPriorita = new global::System.Data.DataColumn("descrPriorita", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrPriorita); + this.columndescrTipo = new global::System.Data.DataColumn("descrTipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrTipo); + this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodImpianto); + this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeImpianto); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + this.columnDescrStato = new global::System.Data.DataColumn("DescrStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrStato); + this.columndescrCausale = new global::System.Data.DataColumn("descrCausale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrCausale); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnnumIntMtz}, true)); + this.columnnumIntMtz.AutoIncrement = true; + this.columnnumIntMtz.AutoIncrementSeed = -1; + this.columnnumIntMtz.AutoIncrementStep = -1; + this.columnnumIntMtz.AllowDBNull = false; + this.columnnumIntMtz.ReadOnly = true; + this.columnnumIntMtz.Unique = true; + this.columnrichiesta.AllowDBNull = false; + this.columndataLav.AllowDBNull = false; + this.columnturnoLav.AllowDBNull = false; + this.columnmatr.AllowDBNull = false; + this.columnmatr.MaxLength = 10; + this.columnguasto.AllowDBNull = false; + this.columnidxAmbito.AllowDBNull = false; + this.columnidxPriorita.AllowDBNull = false; + this.columnisFermo.AllowDBNull = false; + this.columnidxTipo.AllowDBNull = false; + this.columnidxImpianto.AllowDBNull = false; + this.columnidxMacchina.AllowDBNull = false; + this.columndescrizione.AllowDBNull = false; + this.columndescrizione.MaxLength = 500; + this.columnidxStato.AllowDBNull = false; + this.columndescrizioneIntervento.MaxLength = 500; + this.columndescrAmbitoGuasto.MaxLength = 50; + this.columndescrPriorita.MaxLength = 50; + this.columndescrTipo.MaxLength = 50; + this.columncodImpianto.MaxLength = 50; + this.columnnomeImpianto.MaxLength = 250; + this.columncodMacchina.MaxLength = 50; + this.columnnomeMacchina.MaxLength = 250; + this.columnDescrStato.MaxLength = 50; + this.columndescrCausale.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow Newv_intervExpRow() { + return ((v_intervExpRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_intervExpRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_intervExpRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_intervExpRowChanged != null)) { + this.v_intervExpRowChanged(this, new v_intervExpRowChangeEvent(((v_intervExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_intervExpRowChanging != null)) { + this.v_intervExpRowChanging(this, new v_intervExpRowChangeEvent(((v_intervExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_intervExpRowDeleted != null)) { + this.v_intervExpRowDeleted(this, new v_intervExpRowChangeEvent(((v_intervExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_intervExpRowDeleting != null)) { + this.v_intervExpRowDeleting(this, new v_intervExpRowChangeEvent(((v_intervExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_intervExpRow(v_intervExpRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_intervExpDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagTipoGuastoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxTipo; + + private global::System.Data.DataColumn columndescrTipo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoDataTable() { + this.TableName = "AnagTipoGuasto"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagTipoGuastoDataTable(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()] + protected AnagTipoGuastoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxTipoColumn { + get { + return this.columnidxTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrTipoColumn { + get { + return this.columndescrTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoRow this[int index] { + get { + return ((AnagTipoGuastoRow)(this.Rows[index])); + } + } + + public event AnagTipoGuastoRowChangeEventHandler AnagTipoGuastoRowChanging; + + public event AnagTipoGuastoRowChangeEventHandler AnagTipoGuastoRowChanged; + + public event AnagTipoGuastoRowChangeEventHandler AnagTipoGuastoRowDeleting; + + public event AnagTipoGuastoRowChangeEventHandler AnagTipoGuastoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagTipoGuastoRow(AnagTipoGuastoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoRow AddAnagTipoGuastoRow(string descrTipo) { + AnagTipoGuastoRow rowAnagTipoGuastoRow = ((AnagTipoGuastoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + descrTipo}; + rowAnagTipoGuastoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagTipoGuastoRow); + return rowAnagTipoGuastoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoRow FindByidxTipo(int idxTipo) { + return ((AnagTipoGuastoRow)(this.Rows.Find(new object[] { + idxTipo}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagTipoGuastoDataTable cln = ((AnagTipoGuastoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagTipoGuastoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxTipo = base.Columns["idxTipo"]; + this.columndescrTipo = base.Columns["descrTipo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxTipo); + this.columndescrTipo = new global::System.Data.DataColumn("descrTipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrTipo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxTipo}, true)); + this.columnidxTipo.AutoIncrement = true; + this.columnidxTipo.AutoIncrementSeed = -1; + this.columnidxTipo.AutoIncrementStep = -1; + this.columnidxTipo.AllowDBNull = false; + this.columnidxTipo.ReadOnly = true; + this.columnidxTipo.Unique = true; + this.columndescrTipo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoRow NewAnagTipoGuastoRow() { + return ((AnagTipoGuastoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagTipoGuastoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagTipoGuastoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagTipoGuastoRowChanged != null)) { + this.AnagTipoGuastoRowChanged(this, new AnagTipoGuastoRowChangeEvent(((AnagTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagTipoGuastoRowChanging != null)) { + this.AnagTipoGuastoRowChanging(this, new AnagTipoGuastoRowChangeEvent(((AnagTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagTipoGuastoRowDeleted != null)) { + this.AnagTipoGuastoRowDeleted(this, new AnagTipoGuastoRowChangeEvent(((AnagTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagTipoGuastoRowDeleting != null)) { + this.AnagTipoGuastoRowDeleting(this, new AnagTipoGuastoRowChangeEvent(((AnagTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagTipoGuastoRow(AnagTipoGuastoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagTipoGuastoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagStatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxStato; + + private global::System.Data.DataColumn columnDescrStato; + + private global::System.Data.DataColumn columnstile; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiDataTable() { + this.TableName = "AnagStati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagStatiDataTable(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()] + protected AnagStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxStatoColumn { + get { + return this.columnidxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrStatoColumn { + get { + return this.columnDescrStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn stileColumn { + get { + return this.columnstile; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow this[int index] { + get { + return ((AnagStatiRow)(this.Rows[index])); + } + } + + public event AnagStatiRowChangeEventHandler AnagStatiRowChanging; + + public event AnagStatiRowChangeEventHandler AnagStatiRowChanged; + + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleting; + + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagStatiRow(AnagStatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow AddAnagStatiRow(int idxStato, string DescrStato, string stile) { + AnagStatiRow rowAnagStatiRow = ((AnagStatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxStato, + DescrStato, + stile}; + rowAnagStatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagStatiRow); + return rowAnagStatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow FindByidxStato(int idxStato) { + return ((AnagStatiRow)(this.Rows.Find(new object[] { + idxStato}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagStatiDataTable cln = ((AnagStatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagStatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxStato = base.Columns["idxStato"]; + this.columnDescrStato = base.Columns["DescrStato"]; + this.columnstile = base.Columns["stile"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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.columnDescrStato = new global::System.Data.DataColumn("DescrStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrStato); + this.columnstile = new global::System.Data.DataColumn("stile", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstile); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxStato}, true)); + this.columnidxStato.AllowDBNull = false; + this.columnidxStato.Unique = true; + this.columnDescrStato.MaxLength = 50; + this.columnstile.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow NewAnagStatiRow() { + return ((AnagStatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagStatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagStatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagStatiRowChanged != null)) { + this.AnagStatiRowChanged(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagStatiRowChanging != null)) { + this.AnagStatiRowChanging(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagStatiRowDeleted != null)) { + this.AnagStatiRowDeleted(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagStatiRowDeleting != null)) { + this.AnagStatiRowDeleting(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagStatiRow(AnagStatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagStatiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class InterventoOpMtzDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnumIntMtz; + + private global::System.Data.DataColumn columnmatrOp; + + private global::System.Data.DataColumn columndurataMinuti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzDataTable() { + this.TableName = "InterventoOpMtz"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal InterventoOpMtzDataTable(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()] + protected InterventoOpMtzDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn numIntMtzColumn { + get { + return this.columnnumIntMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn matrOpColumn { + get { + return this.columnmatrOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn durataMinutiColumn { + get { + return this.columndurataMinuti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRow this[int index] { + get { + return ((InterventoOpMtzRow)(this.Rows[index])); + } + } + + public event InterventoOpMtzRowChangeEventHandler InterventoOpMtzRowChanging; + + public event InterventoOpMtzRowChangeEventHandler InterventoOpMtzRowChanged; + + public event InterventoOpMtzRowChangeEventHandler InterventoOpMtzRowDeleting; + + public event InterventoOpMtzRowChangeEventHandler InterventoOpMtzRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddInterventoOpMtzRow(InterventoOpMtzRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRow AddInterventoOpMtzRow(v_intervExpRow parentv_intervExpRowByv_intervExp_InterventoOpMtz, AnagrOperMtzRow parentAnagrOperMtzRowByFK_InterventoOpMtz_AnagrOperMtz, int durataMinuti) { + InterventoOpMtzRow rowInterventoOpMtzRow = ((InterventoOpMtzRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + durataMinuti}; + if ((parentv_intervExpRowByv_intervExp_InterventoOpMtz != null)) { + columnValuesArray[0] = parentv_intervExpRowByv_intervExp_InterventoOpMtz[0]; + } + if ((parentAnagrOperMtzRowByFK_InterventoOpMtz_AnagrOperMtz != null)) { + columnValuesArray[1] = parentAnagrOperMtzRowByFK_InterventoOpMtz_AnagrOperMtz[0]; + } + rowInterventoOpMtzRow.ItemArray = columnValuesArray; + this.Rows.Add(rowInterventoOpMtzRow); + return rowInterventoOpMtzRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRow FindBynumIntMtzmatrOp(int numIntMtz, string matrOp) { + return ((InterventoOpMtzRow)(this.Rows.Find(new object[] { + numIntMtz, + matrOp}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + InterventoOpMtzDataTable cln = ((InterventoOpMtzDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new InterventoOpMtzDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnnumIntMtz = base.Columns["numIntMtz"]; + this.columnmatrOp = base.Columns["matrOp"]; + this.columndurataMinuti = base.Columns["durataMinuti"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnnumIntMtz = new global::System.Data.DataColumn("numIntMtz", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnumIntMtz); + this.columnmatrOp = new global::System.Data.DataColumn("matrOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmatrOp); + this.columndurataMinuti = new global::System.Data.DataColumn("durataMinuti", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndurataMinuti); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnnumIntMtz, + this.columnmatrOp}, true)); + this.columnnumIntMtz.AllowDBNull = false; + this.columnmatrOp.AllowDBNull = false; + this.columnmatrOp.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRow NewInterventoOpMtzRow() { + return ((InterventoOpMtzRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new InterventoOpMtzRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(InterventoOpMtzRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.InterventoOpMtzRowChanged != null)) { + this.InterventoOpMtzRowChanged(this, new InterventoOpMtzRowChangeEvent(((InterventoOpMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.InterventoOpMtzRowChanging != null)) { + this.InterventoOpMtzRowChanging(this, new InterventoOpMtzRowChangeEvent(((InterventoOpMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.InterventoOpMtzRowDeleted != null)) { + this.InterventoOpMtzRowDeleted(this, new InterventoOpMtzRowChangeEvent(((InterventoOpMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.InterventoOpMtzRowDeleting != null)) { + this.InterventoOpMtzRowDeleting(this, new InterventoOpMtzRowChangeEvent(((InterventoOpMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveInterventoOpMtzRow(InterventoOpMtzRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "InterventoOpMtzDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_mtzProgExpDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxIntPro; + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columninizio; + + private global::System.Data.DataColumn columncodFrequenza; + + private global::System.Data.DataColumn columncadenza; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnidxPriorita; + + private global::System.Data.DataColumn columnisFermo; + + private global::System.Data.DataColumn columnidxTipo; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeMacchina; + + private global::System.Data.DataColumn columnfrequenza; + + private global::System.Data.DataColumn columndescrPriorita; + + private global::System.Data.DataColumn columndescrTipo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpDataTable() { + this.TableName = "v_mtzProgExp"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_mtzProgExpDataTable(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()] + protected v_mtzProgExpDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxIntProColumn { + get { + return this.columnidxIntPro; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn inizioColumn { + get { + return this.columninizio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codFrequenzaColumn { + get { + return this.columncodFrequenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn cadenzaColumn { + get { + return this.columncadenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxPrioritaColumn { + get { + return this.columnidxPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn isFermoColumn { + get { + return this.columnisFermo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxTipoColumn { + get { + return this.columnidxTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn frequenzaColumn { + get { + return this.columnfrequenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrPrioritaColumn { + get { + return this.columndescrPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrTipoColumn { + get { + return this.columndescrTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpRow this[int index] { + get { + return ((v_mtzProgExpRow)(this.Rows[index])); + } + } + + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowChanging; + + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowChanged; + + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowDeleting; + + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_mtzProgExpRow(v_mtzProgExpRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpRow Addv_mtzProgExpRow(int idxMacchina, System.DateTime inizio, string codFrequenza, int cadenza, string descrizione, int idxPriorita, bool isFermo, int idxTipo, string codMacchina, string nomeMacchina, string frequenza, string descrPriorita, string descrTipo) { + v_mtzProgExpRow rowv_mtzProgExpRow = ((v_mtzProgExpRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + idxMacchina, + inizio, + codFrequenza, + cadenza, + descrizione, + idxPriorita, + isFermo, + idxTipo, + codMacchina, + nomeMacchina, + frequenza, + descrPriorita, + descrTipo}; + rowv_mtzProgExpRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_mtzProgExpRow); + return rowv_mtzProgExpRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpRow FindByidxIntPro(int idxIntPro) { + return ((v_mtzProgExpRow)(this.Rows.Find(new object[] { + idxIntPro}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_mtzProgExpDataTable cln = ((v_mtzProgExpDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_mtzProgExpDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxIntPro = base.Columns["idxIntPro"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columninizio = base.Columns["inizio"]; + this.columncodFrequenza = base.Columns["codFrequenza"]; + this.columncadenza = base.Columns["cadenza"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnidxPriorita = base.Columns["idxPriorita"]; + this.columnisFermo = base.Columns["isFermo"]; + this.columnidxTipo = base.Columns["idxTipo"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + this.columnfrequenza = base.Columns["frequenza"]; + this.columndescrPriorita = base.Columns["descrPriorita"]; + this.columndescrTipo = base.Columns["descrTipo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxIntPro = new global::System.Data.DataColumn("idxIntPro", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxIntPro); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + this.columninizio = new global::System.Data.DataColumn("inizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninizio); + this.columncodFrequenza = new global::System.Data.DataColumn("codFrequenza", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodFrequenza); + this.columncadenza = new global::System.Data.DataColumn("cadenza", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncadenza); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columnidxPriorita = new global::System.Data.DataColumn("idxPriorita", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPriorita); + this.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisFermo); + this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxTipo); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + this.columnfrequenza = new global::System.Data.DataColumn("frequenza", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfrequenza); + this.columndescrPriorita = new global::System.Data.DataColumn("descrPriorita", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrPriorita); + this.columndescrTipo = new global::System.Data.DataColumn("descrTipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrTipo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxIntPro}, true)); + this.columnidxIntPro.AutoIncrement = true; + this.columnidxIntPro.AutoIncrementSeed = -1; + this.columnidxIntPro.AutoIncrementStep = -1; + this.columnidxIntPro.AllowDBNull = false; + this.columnidxIntPro.ReadOnly = true; + this.columnidxIntPro.Unique = true; + this.columncodFrequenza.MaxLength = 2; + this.columndescrizione.MaxLength = 500; + this.columncodMacchina.MaxLength = 50; + this.columnnomeMacchina.MaxLength = 50; + this.columnfrequenza.MaxLength = 50; + this.columndescrPriorita.MaxLength = 50; + this.columndescrTipo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpRow Newv_mtzProgExpRow() { + return ((v_mtzProgExpRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_mtzProgExpRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_mtzProgExpRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_mtzProgExpRowChanged != null)) { + this.v_mtzProgExpRowChanged(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_mtzProgExpRowChanging != null)) { + this.v_mtzProgExpRowChanging(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_mtzProgExpRowDeleted != null)) { + this.v_mtzProgExpRowDeleted(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_mtzProgExpRowDeleting != null)) { + this.v_mtzProgExpRowDeleting(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_mtzProgExpRow(v_mtzProgExpRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_mtzProgExpDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class MtzProgPendingDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxPending; + + private global::System.Data.DataColumn columnidxIntPro; + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columndata; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnidxPriorita; + + private global::System.Data.DataColumn columnisFermo; + + private global::System.Data.DataColumn columnidxTipo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingDataTable() { + this.TableName = "MtzProgPending"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal MtzProgPendingDataTable(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()] + protected MtzProgPendingDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxPendingColumn { + get { + return this.columnidxPending; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxIntProColumn { + get { + return this.columnidxIntPro; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn dataColumn { + get { + return this.columndata; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxPrioritaColumn { + get { + return this.columnidxPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn isFermoColumn { + get { + return this.columnisFermo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxTipoColumn { + get { + return this.columnidxTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingRow this[int index] { + get { + return ((MtzProgPendingRow)(this.Rows[index])); + } + } + + public event MtzProgPendingRowChangeEventHandler MtzProgPendingRowChanging; + + public event MtzProgPendingRowChangeEventHandler MtzProgPendingRowChanged; + + public event MtzProgPendingRowChangeEventHandler MtzProgPendingRowDeleting; + + public event MtzProgPendingRowChangeEventHandler MtzProgPendingRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddMtzProgPendingRow(MtzProgPendingRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingRow AddMtzProgPendingRow(MtzProgrammataRow parentMtzProgrammataRowByFK_MtzProgPending_MtzProgrammata, int idxMacchina, System.DateTime data, string descrizione, int idxPriorita, bool isFermo, int idxTipo) { + MtzProgPendingRow rowMtzProgPendingRow = ((MtzProgPendingRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + idxMacchina, + data, + descrizione, + idxPriorita, + isFermo, + idxTipo}; + if ((parentMtzProgrammataRowByFK_MtzProgPending_MtzProgrammata != null)) { + columnValuesArray[1] = parentMtzProgrammataRowByFK_MtzProgPending_MtzProgrammata[0]; + } + rowMtzProgPendingRow.ItemArray = columnValuesArray; + this.Rows.Add(rowMtzProgPendingRow); + return rowMtzProgPendingRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingRow FindByidxPending(int idxPending) { + return ((MtzProgPendingRow)(this.Rows.Find(new object[] { + idxPending}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + MtzProgPendingDataTable cln = ((MtzProgPendingDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new MtzProgPendingDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxPending = base.Columns["idxPending"]; + this.columnidxIntPro = base.Columns["idxIntPro"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columndata = base.Columns["data"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnidxPriorita = base.Columns["idxPriorita"]; + this.columnisFermo = base.Columns["isFermo"]; + this.columnidxTipo = base.Columns["idxTipo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxPending = new global::System.Data.DataColumn("idxPending", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPending); + this.columnidxIntPro = new global::System.Data.DataColumn("idxIntPro", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxIntPro); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + 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.columnidxPriorita = new global::System.Data.DataColumn("idxPriorita", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPriorita); + this.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisFermo); + this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxTipo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxPending}, true)); + this.columnidxPending.AutoIncrement = true; + this.columnidxPending.AutoIncrementSeed = -1; + this.columnidxPending.AutoIncrementStep = -1; + this.columnidxPending.AllowDBNull = false; + this.columnidxPending.ReadOnly = true; + this.columnidxPending.Unique = true; + this.columnidxIntPro.AllowDBNull = false; + this.columndescrizione.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingRow NewMtzProgPendingRow() { + return ((MtzProgPendingRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new MtzProgPendingRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(MtzProgPendingRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.MtzProgPendingRowChanged != null)) { + this.MtzProgPendingRowChanged(this, new MtzProgPendingRowChangeEvent(((MtzProgPendingRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.MtzProgPendingRowChanging != null)) { + this.MtzProgPendingRowChanging(this, new MtzProgPendingRowChangeEvent(((MtzProgPendingRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.MtzProgPendingRowDeleted != null)) { + this.MtzProgPendingRowDeleted(this, new MtzProgPendingRowChangeEvent(((MtzProgPendingRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.MtzProgPendingRowDeleting != null)) { + this.MtzProgPendingRowDeleting(this, new MtzProgPendingRowChangeEvent(((MtzProgPendingRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveMtzProgPendingRow(MtzProgPendingRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "MtzProgPendingDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class MtzProgrammataDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxIntPro; + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columninizio; + + private global::System.Data.DataColumn columncodFrequenza; + + private global::System.Data.DataColumn columncadenza; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnidxPriorita; + + private global::System.Data.DataColumn columnisFermo; + + private global::System.Data.DataColumn columnidxTipo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataDataTable() { + this.TableName = "MtzProgrammata"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal MtzProgrammataDataTable(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()] + protected MtzProgrammataDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxIntProColumn { + get { + return this.columnidxIntPro; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn inizioColumn { + get { + return this.columninizio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codFrequenzaColumn { + get { + return this.columncodFrequenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn cadenzaColumn { + get { + return this.columncadenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxPrioritaColumn { + get { + return this.columnidxPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn isFermoColumn { + get { + return this.columnisFermo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxTipoColumn { + get { + return this.columnidxTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataRow this[int index] { + get { + return ((MtzProgrammataRow)(this.Rows[index])); + } + } + + public event MtzProgrammataRowChangeEventHandler MtzProgrammataRowChanging; + + public event MtzProgrammataRowChangeEventHandler MtzProgrammataRowChanged; + + public event MtzProgrammataRowChangeEventHandler MtzProgrammataRowDeleting; + + public event MtzProgrammataRowChangeEventHandler MtzProgrammataRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddMtzProgrammataRow(MtzProgrammataRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataRow AddMtzProgrammataRow(int idxMacchina, System.DateTime inizio, string codFrequenza, int cadenza, string descrizione, int idxPriorita, bool isFermo, int idxTipo) { + MtzProgrammataRow rowMtzProgrammataRow = ((MtzProgrammataRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + idxMacchina, + inizio, + codFrequenza, + cadenza, + descrizione, + idxPriorita, + isFermo, + idxTipo}; + rowMtzProgrammataRow.ItemArray = columnValuesArray; + this.Rows.Add(rowMtzProgrammataRow); + return rowMtzProgrammataRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataRow FindByidxIntPro(int idxIntPro) { + return ((MtzProgrammataRow)(this.Rows.Find(new object[] { + idxIntPro}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + MtzProgrammataDataTable cln = ((MtzProgrammataDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new MtzProgrammataDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxIntPro = base.Columns["idxIntPro"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columninizio = base.Columns["inizio"]; + this.columncodFrequenza = base.Columns["codFrequenza"]; + this.columncadenza = base.Columns["cadenza"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnidxPriorita = base.Columns["idxPriorita"]; + this.columnisFermo = base.Columns["isFermo"]; + this.columnidxTipo = base.Columns["idxTipo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxIntPro = new global::System.Data.DataColumn("idxIntPro", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxIntPro); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + this.columninizio = new global::System.Data.DataColumn("inizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninizio); + this.columncodFrequenza = new global::System.Data.DataColumn("codFrequenza", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodFrequenza); + this.columncadenza = new global::System.Data.DataColumn("cadenza", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncadenza); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columnidxPriorita = new global::System.Data.DataColumn("idxPriorita", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPriorita); + this.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisFermo); + this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxTipo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxIntPro}, true)); + this.columnidxIntPro.AutoIncrement = true; + this.columnidxIntPro.AutoIncrementSeed = -1; + this.columnidxIntPro.AutoIncrementStep = -1; + this.columnidxIntPro.AllowDBNull = false; + this.columnidxIntPro.ReadOnly = true; + this.columnidxIntPro.Unique = true; + this.columncodFrequenza.MaxLength = 2; + this.columndescrizione.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataRow NewMtzProgrammataRow() { + return ((MtzProgrammataRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new MtzProgrammataRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(MtzProgrammataRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.MtzProgrammataRowChanged != null)) { + this.MtzProgrammataRowChanged(this, new MtzProgrammataRowChangeEvent(((MtzProgrammataRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.MtzProgrammataRowChanging != null)) { + this.MtzProgrammataRowChanging(this, new MtzProgrammataRowChangeEvent(((MtzProgrammataRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.MtzProgrammataRowDeleted != null)) { + this.MtzProgrammataRowDeleted(this, new MtzProgrammataRowChangeEvent(((MtzProgrammataRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.MtzProgrammataRowDeleting != null)) { + this.MtzProgrammataRowDeleting(this, new MtzProgrammataRowChangeEvent(((MtzProgrammataRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveMtzProgrammataRow(MtzProgrammataRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "MtzProgrammataDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class CalendFesteFerieDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columndata; + + private global::System.Data.DataColumn columndescrizione; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public CalendFesteFerieDataTable() { + this.TableName = "CalendFesteFerie"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected CalendFesteFerieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn dataColumn { + get { + return this.columndata; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public CalendFesteFerieRow this[int index] { + get { + return ((CalendFesteFerieRow)(this.Rows[index])); + } + } + + public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanging; + + public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanged; + + public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleting; + + public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddCalendFesteFerieRow(CalendFesteFerieRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + public CalendFesteFerieRow FindBydata(System.DateTime data) { + return ((CalendFesteFerieRow)(this.Rows.Find(new object[] { + data}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + CalendFesteFerieDataTable cln = ((CalendFesteFerieDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new CalendFesteFerieDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columndata = base.Columns["data"]; + this.columndescrizione = base.Columns["descrizione"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + public CalendFesteFerieRow NewCalendFesteFerieRow() { + return ((CalendFesteFerieRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new CalendFesteFerieRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(CalendFesteFerieRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + 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()] + 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()] + 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()] + public void RemoveCalendFesteFerieRow(CalendFesteFerieRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "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; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class OreAperturaSettDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columngiorno; + + private global::System.Data.DataColumn columndescrGiorno; + + private global::System.Data.DataColumn columnapertura; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettDataTable() { + this.TableName = "OreAperturaSett"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal OreAperturaSettDataTable(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()] + protected OreAperturaSettDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn giornoColumn { + get { + return this.columngiorno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrGiornoColumn { + get { + return this.columndescrGiorno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn aperturaColumn { + get { + return this.columnapertura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettRow this[int index] { + get { + return ((OreAperturaSettRow)(this.Rows[index])); + } + } + + public event OreAperturaSettRowChangeEventHandler OreAperturaSettRowChanging; + + public event OreAperturaSettRowChangeEventHandler OreAperturaSettRowChanged; + + public event OreAperturaSettRowChangeEventHandler OreAperturaSettRowDeleting; + + public event OreAperturaSettRowChangeEventHandler OreAperturaSettRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddOreAperturaSettRow(OreAperturaSettRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettRow AddOreAperturaSettRow(int giorno, string descrGiorno, decimal apertura) { + OreAperturaSettRow rowOreAperturaSettRow = ((OreAperturaSettRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + giorno, + descrGiorno, + apertura}; + rowOreAperturaSettRow.ItemArray = columnValuesArray; + this.Rows.Add(rowOreAperturaSettRow); + return rowOreAperturaSettRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettRow FindBygiorno(int giorno) { + return ((OreAperturaSettRow)(this.Rows.Find(new object[] { + giorno}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + OreAperturaSettDataTable cln = ((OreAperturaSettDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new OreAperturaSettDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columngiorno = base.Columns["giorno"]; + this.columndescrGiorno = base.Columns["descrGiorno"]; + this.columnapertura = base.Columns["apertura"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columngiorno = new global::System.Data.DataColumn("giorno", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngiorno); + this.columndescrGiorno = new global::System.Data.DataColumn("descrGiorno", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrGiorno); + this.columnapertura = new global::System.Data.DataColumn("apertura", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnapertura); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columngiorno}, true)); + this.columngiorno.AllowDBNull = false; + this.columngiorno.Unique = true; + this.columndescrGiorno.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettRow NewOreAperturaSettRow() { + return ((OreAperturaSettRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new OreAperturaSettRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(OreAperturaSettRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.OreAperturaSettRowChanged != null)) { + this.OreAperturaSettRowChanged(this, new OreAperturaSettRowChangeEvent(((OreAperturaSettRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.OreAperturaSettRowChanging != null)) { + this.OreAperturaSettRowChanging(this, new OreAperturaSettRowChangeEvent(((OreAperturaSettRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.OreAperturaSettRowDeleted != null)) { + this.OreAperturaSettRowDeleted(this, new OreAperturaSettRowChangeEvent(((OreAperturaSettRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.OreAperturaSettRowDeleting != null)) { + this.OreAperturaSettRowDeleting(this, new OreAperturaSettRowChangeEvent(((OreAperturaSettRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveOreAperturaSettRow(OreAperturaSettRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "OreAperturaSettDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class FiltroImpiantiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnusername; + + private global::System.Data.DataColumn columnidxImpianto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiDataTable() { + this.TableName = "FiltroImpianti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal FiltroImpiantiDataTable(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()] + protected FiltroImpiantiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn usernameColumn { + get { + return this.columnusername; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxImpiantoColumn { + get { + return this.columnidxImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiRow this[int index] { + get { + return ((FiltroImpiantiRow)(this.Rows[index])); + } + } + + public event FiltroImpiantiRowChangeEventHandler FiltroImpiantiRowChanging; + + public event FiltroImpiantiRowChangeEventHandler FiltroImpiantiRowChanged; + + public event FiltroImpiantiRowChangeEventHandler FiltroImpiantiRowDeleting; + + public event FiltroImpiantiRowChangeEventHandler FiltroImpiantiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddFiltroImpiantiRow(FiltroImpiantiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiRow AddFiltroImpiantiRow(string username, AnagImpiantiRow parentAnagImpiantiRowByFK_FiltroImpianti_AnagImpianti) { + FiltroImpiantiRow rowFiltroImpiantiRow = ((FiltroImpiantiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + username, + null}; + if ((parentAnagImpiantiRowByFK_FiltroImpianti_AnagImpianti != null)) { + columnValuesArray[1] = parentAnagImpiantiRowByFK_FiltroImpianti_AnagImpianti[0]; + } + rowFiltroImpiantiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowFiltroImpiantiRow); + return rowFiltroImpiantiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiRow FindByusernameidxImpianto(string username, int idxImpianto) { + return ((FiltroImpiantiRow)(this.Rows.Find(new object[] { + username, + idxImpianto}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + FiltroImpiantiDataTable cln = ((FiltroImpiantiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new FiltroImpiantiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnusername = base.Columns["username"]; + this.columnidxImpianto = base.Columns["idxImpianto"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnusername); + this.columnidxImpianto = new global::System.Data.DataColumn("idxImpianto", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxImpianto); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnusername, + this.columnidxImpianto}, true)); + this.columnusername.AllowDBNull = false; + this.columnusername.MaxLength = 50; + this.columnidxImpianto.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiRow NewFiltroImpiantiRow() { + return ((FiltroImpiantiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new FiltroImpiantiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(FiltroImpiantiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.FiltroImpiantiRowChanged != null)) { + this.FiltroImpiantiRowChanged(this, new FiltroImpiantiRowChangeEvent(((FiltroImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.FiltroImpiantiRowChanging != null)) { + this.FiltroImpiantiRowChanging(this, new FiltroImpiantiRowChangeEvent(((FiltroImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.FiltroImpiantiRowDeleted != null)) { + this.FiltroImpiantiRowDeleted(this, new FiltroImpiantiRowChangeEvent(((FiltroImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.FiltroImpiantiRowDeleting != null)) { + this.FiltroImpiantiRowDeleting(this, new FiltroImpiantiRowChangeEvent(((FiltroImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveFiltroImpiantiRow(FiltroImpiantiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "FiltroImpiantiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class FiltroMacchineDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnusername; + + private global::System.Data.DataColumn columnidxMacchina; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineDataTable() { + this.TableName = "FiltroMacchine"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal FiltroMacchineDataTable(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()] + protected FiltroMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn usernameColumn { + get { + return this.columnusername; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineRow this[int index] { + get { + return ((FiltroMacchineRow)(this.Rows[index])); + } + } + + public event FiltroMacchineRowChangeEventHandler FiltroMacchineRowChanging; + + public event FiltroMacchineRowChangeEventHandler FiltroMacchineRowChanged; + + public event FiltroMacchineRowChangeEventHandler FiltroMacchineRowDeleting; + + public event FiltroMacchineRowChangeEventHandler FiltroMacchineRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddFiltroMacchineRow(FiltroMacchineRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineRow AddFiltroMacchineRow(string username, v_macchineRow parentv_macchineRowByv_macchine_FiltroMacchine) { + FiltroMacchineRow rowFiltroMacchineRow = ((FiltroMacchineRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + username, + null}; + if ((parentv_macchineRowByv_macchine_FiltroMacchine != null)) { + columnValuesArray[1] = parentv_macchineRowByv_macchine_FiltroMacchine[0]; + } + rowFiltroMacchineRow.ItemArray = columnValuesArray; + this.Rows.Add(rowFiltroMacchineRow); + return rowFiltroMacchineRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineRow FindByusernameidxMacchina(string username, int idxMacchina) { + return ((FiltroMacchineRow)(this.Rows.Find(new object[] { + username, + idxMacchina}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + FiltroMacchineDataTable cln = ((FiltroMacchineDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new FiltroMacchineDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnusername = base.Columns["username"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnusername); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnusername, + this.columnidxMacchina}, true)); + this.columnusername.AllowDBNull = false; + this.columnusername.MaxLength = 50; + this.columnidxMacchina.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineRow NewFiltroMacchineRow() { + return ((FiltroMacchineRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new FiltroMacchineRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(FiltroMacchineRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.FiltroMacchineRowChanged != null)) { + this.FiltroMacchineRowChanged(this, new FiltroMacchineRowChangeEvent(((FiltroMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.FiltroMacchineRowChanging != null)) { + this.FiltroMacchineRowChanging(this, new FiltroMacchineRowChangeEvent(((FiltroMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.FiltroMacchineRowDeleted != null)) { + this.FiltroMacchineRowDeleted(this, new FiltroMacchineRowChangeEvent(((FiltroMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.FiltroMacchineRowDeleting != null)) { + this.FiltroMacchineRowDeleting(this, new FiltroMacchineRowChangeEvent(((FiltroMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveFiltroMacchineRow(FiltroMacchineRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "FiltroMacchineDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class FiltroStatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnusername; + + private global::System.Data.DataColumn columnidxStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiDataTable() { + this.TableName = "FiltroStati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal FiltroStatiDataTable(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()] + protected FiltroStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn usernameColumn { + get { + return this.columnusername; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxStatoColumn { + get { + return this.columnidxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiRow this[int index] { + get { + return ((FiltroStatiRow)(this.Rows[index])); + } + } + + public event FiltroStatiRowChangeEventHandler FiltroStatiRowChanging; + + public event FiltroStatiRowChangeEventHandler FiltroStatiRowChanged; + + public event FiltroStatiRowChangeEventHandler FiltroStatiRowDeleting; + + public event FiltroStatiRowChangeEventHandler FiltroStatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddFiltroStatiRow(FiltroStatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiRow AddFiltroStatiRow(string username, AnagStatiRow parentAnagStatiRowByFK_FiltroStati_AnagStati) { + FiltroStatiRow rowFiltroStatiRow = ((FiltroStatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + username, + null}; + if ((parentAnagStatiRowByFK_FiltroStati_AnagStati != null)) { + columnValuesArray[1] = parentAnagStatiRowByFK_FiltroStati_AnagStati[0]; + } + rowFiltroStatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowFiltroStatiRow); + return rowFiltroStatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiRow FindByusernameidxStato(string username, int idxStato) { + return ((FiltroStatiRow)(this.Rows.Find(new object[] { + username, + idxStato}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + FiltroStatiDataTable cln = ((FiltroStatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new FiltroStatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnusername = base.Columns["username"]; + this.columnidxStato = base.Columns["idxStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnusername); + this.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxStato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnusername, + this.columnidxStato}, true)); + this.columnusername.AllowDBNull = false; + this.columnusername.MaxLength = 50; + this.columnidxStato.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiRow NewFiltroStatiRow() { + return ((FiltroStatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new FiltroStatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(FiltroStatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.FiltroStatiRowChanged != null)) { + this.FiltroStatiRowChanged(this, new FiltroStatiRowChangeEvent(((FiltroStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.FiltroStatiRowChanging != null)) { + this.FiltroStatiRowChanging(this, new FiltroStatiRowChangeEvent(((FiltroStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.FiltroStatiRowDeleted != null)) { + this.FiltroStatiRowDeleted(this, new FiltroStatiRowChangeEvent(((FiltroStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.FiltroStatiRowDeleting != null)) { + this.FiltroStatiRowDeleting(this, new FiltroStatiRowChangeEvent(((FiltroStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveFiltroStatiRow(FiltroStatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "FiltroStatiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagCausaliDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxCausale; + + private global::System.Data.DataColumn columnidxFamMacchine; + + private global::System.Data.DataColumn columndescrCausale; + + private global::System.Data.DataColumn columnattiva; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliDataTable() { + this.TableName = "AnagCausali"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagCausaliDataTable(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()] + protected AnagCausaliDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxCausaleColumn { + get { + return this.columnidxCausale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxFamMacchineColumn { + get { + return this.columnidxFamMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrCausaleColumn { + get { + return this.columndescrCausale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn attivaColumn { + get { + return this.columnattiva; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliRow this[int index] { + get { + return ((AnagCausaliRow)(this.Rows[index])); + } + } + + public event AnagCausaliRowChangeEventHandler AnagCausaliRowChanging; + + public event AnagCausaliRowChangeEventHandler AnagCausaliRowChanged; + + public event AnagCausaliRowChangeEventHandler AnagCausaliRowDeleting; + + public event AnagCausaliRowChangeEventHandler AnagCausaliRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagCausaliRow(AnagCausaliRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliRow AddAnagCausaliRow(AnagFamMacchineRow parentAnagFamMacchineRowByFK_AnagCausali_AnagFamMacchine, string descrCausale, bool attiva) { + AnagCausaliRow rowAnagCausaliRow = ((AnagCausaliRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + descrCausale, + attiva}; + if ((parentAnagFamMacchineRowByFK_AnagCausali_AnagFamMacchine != null)) { + columnValuesArray[1] = parentAnagFamMacchineRowByFK_AnagCausali_AnagFamMacchine[0]; + } + rowAnagCausaliRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagCausaliRow); + return rowAnagCausaliRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliRow FindByidxCausale(int idxCausale) { + return ((AnagCausaliRow)(this.Rows.Find(new object[] { + idxCausale}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagCausaliDataTable cln = ((AnagCausaliDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagCausaliDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnidxCausale = base.Columns["idxCausale"]; + this.columnidxFamMacchine = base.Columns["idxFamMacchine"]; + this.columndescrCausale = base.Columns["descrCausale"]; + this.columnattiva = base.Columns["attiva"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnidxCausale = new global::System.Data.DataColumn("idxCausale", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxCausale); + this.columnidxFamMacchine = new global::System.Data.DataColumn("idxFamMacchine", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxFamMacchine); + this.columndescrCausale = new global::System.Data.DataColumn("descrCausale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrCausale); + this.columnattiva = new global::System.Data.DataColumn("attiva", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnattiva); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxCausale}, true)); + this.columnidxCausale.AutoIncrement = true; + this.columnidxCausale.AutoIncrementSeed = -1; + this.columnidxCausale.AutoIncrementStep = -1; + this.columnidxCausale.AllowDBNull = false; + this.columnidxCausale.ReadOnly = true; + this.columnidxCausale.Unique = true; + this.columnidxFamMacchine.AllowDBNull = false; + this.columndescrCausale.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliRow NewAnagCausaliRow() { + return ((AnagCausaliRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagCausaliRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagCausaliRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagCausaliRowChanged != null)) { + this.AnagCausaliRowChanged(this, new AnagCausaliRowChangeEvent(((AnagCausaliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagCausaliRowChanging != null)) { + this.AnagCausaliRowChanging(this, new AnagCausaliRowChangeEvent(((AnagCausaliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagCausaliRowDeleted != null)) { + this.AnagCausaliRowDeleted(this, new AnagCausaliRowChangeEvent(((AnagCausaliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagCausaliRowDeleting != null)) { + this.AnagCausaliRowDeleting(this, new AnagCausaliRowChangeEvent(((AnagCausaliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagCausaliRow(AnagCausaliRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagCausaliDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagrOperMtzDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnmatrOp; + + private global::System.Data.DataColumn columnCognome; + + private global::System.Data.DataColumn columnNome; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzDataTable() { + this.TableName = "AnagrOperMtz"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagrOperMtzDataTable(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()] + protected AnagrOperMtzDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn matrOpColumn { + get { + return this.columnmatrOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CognomeColumn { + get { + return this.columnCognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn NomeColumn { + get { + return this.columnNome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzRow this[int index] { + get { + return ((AnagrOperMtzRow)(this.Rows[index])); + } + } + + public event AnagrOperMtzRowChangeEventHandler AnagrOperMtzRowChanging; + + public event AnagrOperMtzRowChangeEventHandler AnagrOperMtzRowChanged; + + public event AnagrOperMtzRowChangeEventHandler AnagrOperMtzRowDeleting; + + public event AnagrOperMtzRowChangeEventHandler AnagrOperMtzRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagrOperMtzRow(AnagrOperMtzRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzRow AddAnagrOperMtzRow(string matrOp, string Cognome, string Nome) { + AnagrOperMtzRow rowAnagrOperMtzRow = ((AnagrOperMtzRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + matrOp, + Cognome, + Nome}; + rowAnagrOperMtzRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagrOperMtzRow); + return rowAnagrOperMtzRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzRow FindBymatrOp(string matrOp) { + return ((AnagrOperMtzRow)(this.Rows.Find(new object[] { + matrOp}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagrOperMtzDataTable cln = ((AnagrOperMtzDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagrOperMtzDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnmatrOp = base.Columns["matrOp"]; + this.columnCognome = base.Columns["Cognome"]; + this.columnNome = base.Columns["Nome"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnmatrOp = new global::System.Data.DataColumn("matrOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmatrOp); + this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCognome); + this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNome); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnmatrOp}, true)); + this.columnmatrOp.AllowDBNull = false; + this.columnmatrOp.Unique = true; + this.columnmatrOp.MaxLength = 10; + this.columnCognome.MaxLength = 50; + this.columnNome.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzRow NewAnagrOperMtzRow() { + return ((AnagrOperMtzRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagrOperMtzRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagrOperMtzRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagrOperMtzRowChanged != null)) { + this.AnagrOperMtzRowChanged(this, new AnagrOperMtzRowChangeEvent(((AnagrOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagrOperMtzRowChanging != null)) { + this.AnagrOperMtzRowChanging(this, new AnagrOperMtzRowChangeEvent(((AnagrOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagrOperMtzRowDeleted != null)) { + this.AnagrOperMtzRowDeleted(this, new AnagrOperMtzRowChangeEvent(((AnagrOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagrOperMtzRowDeleting != null)) { + this.AnagrOperMtzRowDeleting(this, new AnagrOperMtzRowChangeEvent(((AnagrOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagrOperMtzRow(AnagrOperMtzRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagrOperMtzDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class LogUpdateDbRow : global::System.Data.DataRow { + + private LogUpdateDbDataTable tableLogUpdateDb; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal LogUpdateDbRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableLogUpdateDb = ((LogUpdateDbDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int Versione { + get { + return ((int)(this[this.tableLogUpdateDb.VersioneColumn])); + } + set { + this[this.tableLogUpdateDb.VersioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime Data { + get { + try { + return ((global::System.DateTime)(this[this.tableLogUpdateDb.DataColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'LogUpdateDb\' is DBNull.", e); + } + } + set { + this[this.tableLogUpdateDb.DataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDataNull() { + return this.IsNull(this.tableLogUpdateDb.DataColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDataNull() { + this[this.tableLogUpdateDb.DataColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagAmbitoGuastoRow : global::System.Data.DataRow { + + private AnagAmbitoGuastoDataTable tableAnagAmbitoGuasto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagAmbitoGuastoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagAmbitoGuasto = ((AnagAmbitoGuastoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxAmbito { + get { + return ((int)(this[this.tableAnagAmbitoGuasto.idxAmbitoColumn])); + } + set { + this[this.tableAnagAmbitoGuasto.idxAmbitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrAmbitoGuasto { + get { + try { + return ((string)(this[this.tableAnagAmbitoGuasto.descrAmbitoGuastoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrAmbitoGuasto\' in table \'AnagAmbitoGuasto\' is DBNull.", e); + } + } + set { + this[this.tableAnagAmbitoGuasto.descrAmbitoGuastoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrAmbitoGuastoNull() { + return this.IsNull(this.tableAnagAmbitoGuasto.descrAmbitoGuastoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrAmbitoGuastoNull() { + this[this.tableAnagAmbitoGuasto.descrAmbitoGuastoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow[] Getv_intervExpRows() { + if ((this.Table.ChildRelations["FK_InterventiMtz_AnagAmbitoGuasto"] == null)) { + return new v_intervExpRow[0]; + } + else { + return ((v_intervExpRow[])(base.GetChildRows(this.Table.ChildRelations["FK_InterventiMtz_AnagAmbitoGuasto"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagPrioritaRow : global::System.Data.DataRow { + + private AnagPrioritaDataTable tableAnagPriorita; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagPrioritaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagPriorita = ((AnagPrioritaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxPriorita { + get { + return ((int)(this[this.tableAnagPriorita.idxPrioritaColumn])); + } + set { + this[this.tableAnagPriorita.idxPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrPriorita { + get { + try { + return ((string)(this[this.tableAnagPriorita.descrPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrPriorita\' in table \'AnagPriorita\' is DBNull.", e); + } + } + set { + this[this.tableAnagPriorita.descrPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string stile { + get { + try { + return ((string)(this[this.tableAnagPriorita.stileColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'stile\' in table \'AnagPriorita\' is DBNull.", e); + } + } + set { + this[this.tableAnagPriorita.stileColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrPrioritaNull() { + return this.IsNull(this.tableAnagPriorita.descrPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrPrioritaNull() { + this[this.tableAnagPriorita.descrPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsstileNull() { + return this.IsNull(this.tableAnagPriorita.stileColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetstileNull() { + this[this.tableAnagPriorita.stileColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow[] Getv_intervExpRows() { + if ((this.Table.ChildRelations["FK_InterventiMtz_AnagPriorita"] == null)) { + return new v_intervExpRow[0]; + } + else { + return ((v_intervExpRow[])(base.GetChildRows(this.Table.ChildRelations["FK_InterventiMtz_AnagPriorita"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagImpiantiRow : global::System.Data.DataRow { + + private AnagImpiantiDataTable tableAnagImpianti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagImpiantiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagImpianti = ((AnagImpiantiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxImpianto { + get { + return ((int)(this[this.tableAnagImpianti.idxImpiantoColumn])); + } + set { + this[this.tableAnagImpianti.idxImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codImpianto { + get { + try { + return ((string)(this[this.tableAnagImpianti.codImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.codImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeImpianto { + get { + try { + return ((string)(this[this.tableAnagImpianti.nomeImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.nomeImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string tipoImpianto { + get { + try { + return ((string)(this[this.tableAnagImpianti.tipoImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tipoImpianto\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.tipoImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime funzDal { + get { + try { + return ((global::System.DateTime)(this[this.tableAnagImpianti.funzDalColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'funzDal\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.funzDalColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime funzAl { + get { + try { + return ((global::System.DateTime)(this[this.tableAnagImpianti.funzAlColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'funzAl\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.funzAlColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodImpiantoNull() { + return this.IsNull(this.tableAnagImpianti.codImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodImpiantoNull() { + this[this.tableAnagImpianti.codImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeImpiantoNull() { + return this.IsNull(this.tableAnagImpianti.nomeImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeImpiantoNull() { + this[this.tableAnagImpianti.nomeImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstipoImpiantoNull() { + return this.IsNull(this.tableAnagImpianti.tipoImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettipoImpiantoNull() { + this[this.tableAnagImpianti.tipoImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfunzDalNull() { + return this.IsNull(this.tableAnagImpianti.funzDalColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfunzDalNull() { + this[this.tableAnagImpianti.funzDalColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfunzAlNull() { + return this.IsNull(this.tableAnagImpianti.funzAlColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfunzAlNull() { + this[this.tableAnagImpianti.funzAlColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow[] Getv_macchineRows() { + if ((this.Table.ChildRelations["FK_AnagMacchine_AnagImpianti"] == null)) { + return new v_macchineRow[0]; + } + else { + return ((v_macchineRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagMacchine_AnagImpianti"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow[] Getv_intervExpRows() { + if ((this.Table.ChildRelations["FK_InterventiMtz_AnagImpianti"] == null)) { + return new v_intervExpRow[0]; + } + else { + return ((v_intervExpRow[])(base.GetChildRows(this.Table.ChildRelations["FK_InterventiMtz_AnagImpianti"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiRow[] GetFiltroImpiantiRows() { + if ((this.Table.ChildRelations["FK_FiltroImpianti_AnagImpianti"] == null)) { + return new FiltroImpiantiRow[0]; + } + else { + return ((FiltroImpiantiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_FiltroImpianti_AnagImpianti"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_macchineRow : global::System.Data.DataRow { + + private v_macchineDataTable tablev_macchine; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_macchineRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_macchine = ((v_macchineDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + return ((int)(this[this.tablev_macchine.idxMacchinaColumn])); + } + set { + this[this.tablev_macchine.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxImpianto { + get { + try { + return ((int)(this[this.tablev_macchine.idxImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxImpianto\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.idxImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codMacchina { + get { + try { + return ((string)(this[this.tablev_macchine.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablev_macchine.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string modello { + get { + try { + return ((string)(this[this.tablev_macchine.modelloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'modello\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.modelloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string matricola { + get { + try { + return ((string)(this[this.tablev_macchine.matricolaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'matricola\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.matricolaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int anno { + get { + try { + return ((int)(this[this.tablev_macchine.annoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'anno\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.annoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double kgPeso { + get { + try { + return ((double)(this[this.tablev_macchine.kgPesoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'kgPeso\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.kgPesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double kwConsumo { + get { + try { + return ((double)(this[this.tablev_macchine.kwConsumoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'kwConsumo\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.kwConsumoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime funzDal { + get { + try { + return ((global::System.DateTime)(this[this.tablev_macchine.funzDalColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'funzDal\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.funzDalColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime funzAl { + get { + try { + return ((global::System.DateTime)(this[this.tablev_macchine.funzAlColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'funzAl\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.funzAlColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrImpianto { + get { + try { + return ((string)(this[this.tablev_macchine.descrImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrImpianto\' in table \'v_macchine\' is DBNull.", e); + } + } + set { + this[this.tablev_macchine.descrImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow AnagImpiantiRow { + get { + return ((AnagImpiantiRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagMacchine_AnagImpianti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagMacchine_AnagImpianti"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRow v_selFamMaccRow { + get { + return ((v_selFamMaccRow)(this.GetParentRow(this.Table.ParentRelations["Macchine2FamMacchine_v_macchine"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["Macchine2FamMacchine_v_macchine"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxImpiantoNull() { + return this.IsNull(this.tablev_macchine.idxImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxImpiantoNull() { + this[this.tablev_macchine.idxImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablev_macchine.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodMacchinaNull() { + this[this.tablev_macchine.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablev_macchine.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeMacchinaNull() { + this[this.tablev_macchine.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsmodelloNull() { + return this.IsNull(this.tablev_macchine.modelloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetmodelloNull() { + this[this.tablev_macchine.modelloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsmatricolaNull() { + return this.IsNull(this.tablev_macchine.matricolaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetmatricolaNull() { + this[this.tablev_macchine.matricolaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsannoNull() { + return this.IsNull(this.tablev_macchine.annoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetannoNull() { + this[this.tablev_macchine.annoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IskgPesoNull() { + return this.IsNull(this.tablev_macchine.kgPesoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetkgPesoNull() { + this[this.tablev_macchine.kgPesoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IskwConsumoNull() { + return this.IsNull(this.tablev_macchine.kwConsumoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetkwConsumoNull() { + this[this.tablev_macchine.kwConsumoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfunzDalNull() { + return this.IsNull(this.tablev_macchine.funzDalColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfunzDalNull() { + this[this.tablev_macchine.funzDalColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfunzAlNull() { + return this.IsNull(this.tablev_macchine.funzAlColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfunzAlNull() { + this[this.tablev_macchine.funzAlColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrImpiantoNull() { + return this.IsNull(this.tablev_macchine.descrImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrImpiantoNull() { + this[this.tablev_macchine.descrImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineRow[] GetFiltroMacchineRows() { + if ((this.Table.ChildRelations["v_macchine_FiltroMacchine"] == null)) { + return new FiltroMacchineRow[0]; + } + else { + return ((FiltroMacchineRow[])(base.GetChildRows(this.Table.ChildRelations["v_macchine_FiltroMacchine"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selFamMaccRow : global::System.Data.DataRow { + + private v_selFamMaccDataTable tablev_selFamMacc; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selFamMaccRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selFamMacc = ((v_selFamMaccDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + return ((int)(this[this.tablev_selFamMacc.idxMacchinaColumn])); + } + set { + this[this.tablev_selFamMacc.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxFamMacchine { + get { + return ((int)(this[this.tablev_selFamMacc.idxFamMacchineColumn])); + } + set { + this[this.tablev_selFamMacc.idxFamMacchineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string famiglia { + get { + try { + return ((string)(this[this.tablev_selFamMacc.famigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'famiglia\' in table \'v_selFamMacc\' is DBNull.", e); + } + } + set { + this[this.tablev_selFamMacc.famigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string macchina { + get { + try { + return ((string)(this[this.tablev_selFamMacc.macchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'macchina\' in table \'v_selFamMacc\' is DBNull.", e); + } + } + set { + this[this.tablev_selFamMacc.macchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRow AnagFamMacchineRow { + get { + return ((AnagFamMacchineRow)(this.GetParentRow(this.Table.ParentRelations["AnagFamMacchine_v_selFamMacc"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["AnagFamMacchine_v_selFamMacc"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfamigliaNull() { + return this.IsNull(this.tablev_selFamMacc.famigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfamigliaNull() { + this[this.tablev_selFamMacc.famigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsmacchinaNull() { + return this.IsNull(this.tablev_selFamMacc.macchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetmacchinaNull() { + this[this.tablev_selFamMacc.macchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow[] Getv_macchineRows() { + if ((this.Table.ChildRelations["Macchine2FamMacchine_v_macchine"] == null)) { + return new v_macchineRow[0]; + } + else { + return ((v_macchineRow[])(base.GetChildRows(this.Table.ChildRelations["Macchine2FamMacchine_v_macchine"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagFamMacchineRow : global::System.Data.DataRow { + + private AnagFamMacchineDataTable tableAnagFamMacchine; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagFamMacchineRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagFamMacchine = ((AnagFamMacchineDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxFamMacchine { + get { + return ((int)(this[this.tableAnagFamMacchine.idxFamMacchineColumn])); + } + set { + this[this.tableAnagFamMacchine.idxFamMacchineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeFamMacch { + get { + try { + return ((string)(this[this.tableAnagFamMacchine.nomeFamMacchColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeFamMacch\' in table \'AnagFamMacchine\' is DBNull.", e); + } + } + set { + this[this.tableAnagFamMacchine.nomeFamMacchColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeFamMacchNull() { + return this.IsNull(this.tableAnagFamMacchine.nomeFamMacchColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeFamMacchNull() { + this[this.tableAnagFamMacchine.nomeFamMacchColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRow[] Getv_selFamMaccRows() { + if ((this.Table.ChildRelations["AnagFamMacchine_v_selFamMacc"] == null)) { + return new v_selFamMaccRow[0]; + } + else { + return ((v_selFamMaccRow[])(base.GetChildRows(this.Table.ChildRelations["AnagFamMacchine_v_selFamMacc"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliRow[] GetAnagCausaliRows() { + if ((this.Table.ChildRelations["FK_AnagCausali_AnagFamMacchine"] == null)) { + return new AnagCausaliRow[0]; + } + else { + return ((AnagCausaliRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagCausali_AnagFamMacchine"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_intervExpRow : global::System.Data.DataRow { + + private v_intervExpDataTable tablev_intervExp; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_intervExpRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_intervExp = ((v_intervExpDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numIntMtz { + get { + return ((int)(this[this.tablev_intervExp.numIntMtzColumn])); + } + set { + this[this.tablev_intervExp.numIntMtzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime richiesta { + get { + return ((global::System.DateTime)(this[this.tablev_intervExp.richiestaColumn])); + } + set { + this[this.tablev_intervExp.richiestaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime dataLav { + get { + return ((global::System.DateTime)(this[this.tablev_intervExp.dataLavColumn])); + } + set { + this[this.tablev_intervExp.dataLavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int turnoLav { + get { + return ((int)(this[this.tablev_intervExp.turnoLavColumn])); + } + set { + this[this.tablev_intervExp.turnoLavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string matr { + get { + return ((string)(this[this.tablev_intervExp.matrColumn])); + } + set { + this[this.tablev_intervExp.matrColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime guasto { + get { + return ((global::System.DateTime)(this[this.tablev_intervExp.guastoColumn])); + } + set { + this[this.tablev_intervExp.guastoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxAmbito { + get { + return ((int)(this[this.tablev_intervExp.idxAmbitoColumn])); + } + set { + this[this.tablev_intervExp.idxAmbitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxPriorita { + get { + return ((int)(this[this.tablev_intervExp.idxPrioritaColumn])); + } + set { + this[this.tablev_intervExp.idxPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool isFermo { + get { + return ((bool)(this[this.tablev_intervExp.isFermoColumn])); + } + set { + this[this.tablev_intervExp.isFermoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxTipo { + get { + return ((int)(this[this.tablev_intervExp.idxTipoColumn])); + } + set { + this[this.tablev_intervExp.idxTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxImpianto { + get { + return ((int)(this[this.tablev_intervExp.idxImpiantoColumn])); + } + set { + this[this.tablev_intervExp.idxImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + return ((int)(this[this.tablev_intervExp.idxMacchinaColumn])); + } + set { + this[this.tablev_intervExp.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizione { + get { + return ((string)(this[this.tablev_intervExp.descrizioneColumn])); + } + set { + this[this.tablev_intervExp.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxStato { + get { + return ((int)(this[this.tablev_intervExp.idxStatoColumn])); + } + set { + this[this.tablev_intervExp.idxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime presaInCarico { + get { + try { + return ((global::System.DateTime)(this[this.tablev_intervExp.presaInCaricoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'presaInCarico\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.presaInCaricoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime inizioIntervento { + get { + try { + return ((global::System.DateTime)(this[this.tablev_intervExp.inizioInterventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'inizioIntervento\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.inizioInterventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime fineIntervento { + get { + try { + return ((global::System.DateTime)(this[this.tablev_intervExp.fineInterventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'fineIntervento\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.fineInterventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizioneIntervento { + get { + try { + return ((string)(this[this.tablev_intervExp.descrizioneInterventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizioneIntervento\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.descrizioneInterventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool isPreventivabile { + get { + try { + return ((bool)(this[this.tablev_intervExp.isPreventivabileColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isPreventivabile\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.isPreventivabileColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxCausale { + get { + try { + return ((int)(this[this.tablev_intervExp.idxCausaleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxCausale\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.idxCausaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrAmbitoGuasto { + get { + try { + return ((string)(this[this.tablev_intervExp.descrAmbitoGuastoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrAmbitoGuasto\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.descrAmbitoGuastoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrPriorita { + get { + try { + return ((string)(this[this.tablev_intervExp.descrPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrPriorita\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.descrPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrTipo { + get { + try { + return ((string)(this[this.tablev_intervExp.descrTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrTipo\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.descrTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codImpianto { + get { + try { + return ((string)(this[this.tablev_intervExp.codImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.codImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeImpianto { + get { + try { + return ((string)(this[this.tablev_intervExp.nomeImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.nomeImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codMacchina { + get { + try { + return ((string)(this[this.tablev_intervExp.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablev_intervExp.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrStato { + get { + try { + return ((string)(this[this.tablev_intervExp.DescrStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.DescrStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrCausale { + get { + try { + return ((string)(this[this.tablev_intervExp.descrCausaleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrCausale\' in table \'v_intervExp\' is DBNull.", e); + } + } + set { + this[this.tablev_intervExp.descrCausaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoRow AnagAmbitoGuastoRow { + get { + return ((AnagAmbitoGuastoRow)(this.GetParentRow(this.Table.ParentRelations["FK_InterventiMtz_AnagAmbitoGuasto"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_InterventiMtz_AnagAmbitoGuasto"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow AnagImpiantiRow { + get { + return ((AnagImpiantiRow)(this.GetParentRow(this.Table.ParentRelations["FK_InterventiMtz_AnagImpianti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_InterventiMtz_AnagImpianti"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaRow AnagPrioritaRow { + get { + return ((AnagPrioritaRow)(this.GetParentRow(this.Table.ParentRelations["FK_InterventiMtz_AnagPriorita"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_InterventiMtz_AnagPriorita"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoRow AnagTipoGuastoRow { + get { + return ((AnagTipoGuastoRow)(this.GetParentRow(this.Table.ParentRelations["FK_InterventiMtz_AnagTipoGuasto"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_InterventiMtz_AnagTipoGuasto"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspresaInCaricoNull() { + return this.IsNull(this.tablev_intervExp.presaInCaricoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpresaInCaricoNull() { + this[this.tablev_intervExp.presaInCaricoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsinizioInterventoNull() { + return this.IsNull(this.tablev_intervExp.inizioInterventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetinizioInterventoNull() { + this[this.tablev_intervExp.inizioInterventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfineInterventoNull() { + return this.IsNull(this.tablev_intervExp.fineInterventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfineInterventoNull() { + this[this.tablev_intervExp.fineInterventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrizioneInterventoNull() { + return this.IsNull(this.tablev_intervExp.descrizioneInterventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrizioneInterventoNull() { + this[this.tablev_intervExp.descrizioneInterventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsisPreventivabileNull() { + return this.IsNull(this.tablev_intervExp.isPreventivabileColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetisPreventivabileNull() { + this[this.tablev_intervExp.isPreventivabileColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxCausaleNull() { + return this.IsNull(this.tablev_intervExp.idxCausaleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxCausaleNull() { + this[this.tablev_intervExp.idxCausaleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrAmbitoGuastoNull() { + return this.IsNull(this.tablev_intervExp.descrAmbitoGuastoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrAmbitoGuastoNull() { + this[this.tablev_intervExp.descrAmbitoGuastoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrPrioritaNull() { + return this.IsNull(this.tablev_intervExp.descrPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrPrioritaNull() { + this[this.tablev_intervExp.descrPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrTipoNull() { + return this.IsNull(this.tablev_intervExp.descrTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrTipoNull() { + this[this.tablev_intervExp.descrTipoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodImpiantoNull() { + return this.IsNull(this.tablev_intervExp.codImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodImpiantoNull() { + this[this.tablev_intervExp.codImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeImpiantoNull() { + return this.IsNull(this.tablev_intervExp.nomeImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeImpiantoNull() { + this[this.tablev_intervExp.nomeImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablev_intervExp.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodMacchinaNull() { + this[this.tablev_intervExp.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablev_intervExp.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeMacchinaNull() { + this[this.tablev_intervExp.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrStatoNull() { + return this.IsNull(this.tablev_intervExp.DescrStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrStatoNull() { + this[this.tablev_intervExp.DescrStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrCausaleNull() { + return this.IsNull(this.tablev_intervExp.descrCausaleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrCausaleNull() { + this[this.tablev_intervExp.descrCausaleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRow[] GetInterventoOpMtzRows() { + if ((this.Table.ChildRelations["v_intervExp_InterventoOpMtz"] == null)) { + return new InterventoOpMtzRow[0]; + } + else { + return ((InterventoOpMtzRow[])(base.GetChildRows(this.Table.ChildRelations["v_intervExp_InterventoOpMtz"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagTipoGuastoRow : global::System.Data.DataRow { + + private AnagTipoGuastoDataTable tableAnagTipoGuasto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagTipoGuastoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagTipoGuasto = ((AnagTipoGuastoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxTipo { + get { + return ((int)(this[this.tableAnagTipoGuasto.idxTipoColumn])); + } + set { + this[this.tableAnagTipoGuasto.idxTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrTipo { + get { + try { + return ((string)(this[this.tableAnagTipoGuasto.descrTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrTipo\' in table \'AnagTipoGuasto\' is DBNull.", e); + } + } + set { + this[this.tableAnagTipoGuasto.descrTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrTipoNull() { + return this.IsNull(this.tableAnagTipoGuasto.descrTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrTipoNull() { + this[this.tableAnagTipoGuasto.descrTipoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow[] GetInterventiMtzRows() { + if ((this.Table.ChildRelations["FK_InterventiMtz_AnagTipoGuasto"] == null)) { + return new v_intervExpRow[0]; + } + else { + return ((v_intervExpRow[])(base.GetChildRows(this.Table.ChildRelations["FK_InterventiMtz_AnagTipoGuasto"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagStatiRow : global::System.Data.DataRow { + + private AnagStatiDataTable tableAnagStati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagStatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagStati = ((AnagStatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxStato { + get { + return ((int)(this[this.tableAnagStati.idxStatoColumn])); + } + set { + this[this.tableAnagStati.idxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrStato { + get { + try { + return ((string)(this[this.tableAnagStati.DescrStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'AnagStati\' is DBNull.", e); + } + } + set { + this[this.tableAnagStati.DescrStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string stile { + get { + try { + return ((string)(this[this.tableAnagStati.stileColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'stile\' in table \'AnagStati\' is DBNull.", e); + } + } + set { + this[this.tableAnagStati.stileColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrStatoNull() { + return this.IsNull(this.tableAnagStati.DescrStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrStatoNull() { + this[this.tableAnagStati.DescrStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsstileNull() { + return this.IsNull(this.tableAnagStati.stileColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetstileNull() { + this[this.tableAnagStati.stileColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiRow[] GetFiltroStatiRows() { + if ((this.Table.ChildRelations["FK_FiltroStati_AnagStati"] == null)) { + return new FiltroStatiRow[0]; + } + else { + return ((FiltroStatiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_FiltroStati_AnagStati"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class InterventoOpMtzRow : global::System.Data.DataRow { + + private InterventoOpMtzDataTable tableInterventoOpMtz; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal InterventoOpMtzRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableInterventoOpMtz = ((InterventoOpMtzDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numIntMtz { + get { + return ((int)(this[this.tableInterventoOpMtz.numIntMtzColumn])); + } + set { + this[this.tableInterventoOpMtz.numIntMtzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string matrOp { + get { + return ((string)(this[this.tableInterventoOpMtz.matrOpColumn])); + } + set { + this[this.tableInterventoOpMtz.matrOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int durataMinuti { + get { + try { + return ((int)(this[this.tableInterventoOpMtz.durataMinutiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'durataMinuti\' in table \'InterventoOpMtz\' is DBNull.", e); + } + } + set { + this[this.tableInterventoOpMtz.durataMinutiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow v_intervExpRow { + get { + return ((v_intervExpRow)(this.GetParentRow(this.Table.ParentRelations["v_intervExp_InterventoOpMtz"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["v_intervExp_InterventoOpMtz"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzRow AnagrOperMtzRow { + get { + return ((AnagrOperMtzRow)(this.GetParentRow(this.Table.ParentRelations["FK_InterventoOpMtz_AnagrOperMtz"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_InterventoOpMtz_AnagrOperMtz"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdurataMinutiNull() { + return this.IsNull(this.tableInterventoOpMtz.durataMinutiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdurataMinutiNull() { + this[this.tableInterventoOpMtz.durataMinutiColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_mtzProgExpRow : global::System.Data.DataRow { + + private v_mtzProgExpDataTable tablev_mtzProgExp; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_mtzProgExpRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_mtzProgExp = ((v_mtzProgExpDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxIntPro { + get { + return ((int)(this[this.tablev_mtzProgExp.idxIntProColumn])); + } + set { + this[this.tablev_mtzProgExp.idxIntProColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.idxMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime inizio { + get { + try { + return ((global::System.DateTime)(this[this.tablev_mtzProgExp.inizioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'inizio\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.inizioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codFrequenza { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.codFrequenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codFrequenza\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.codFrequenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int cadenza { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.cadenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cadenza\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.cadenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizione { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxPriorita { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.idxPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxPriorita\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.idxPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool isFermo { + get { + try { + return ((bool)(this[this.tablev_mtzProgExp.isFermoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isFermo\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.isFermoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxTipo { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.idxTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxTipo\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.idxTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codMacchina { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string frequenza { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.frequenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'frequenza\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.frequenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrPriorita { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.descrPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrPriorita\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.descrPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrTipo { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.descrTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrTipo\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.descrTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxMacchinaNull() { + return this.IsNull(this.tablev_mtzProgExp.idxMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxMacchinaNull() { + this[this.tablev_mtzProgExp.idxMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsinizioNull() { + return this.IsNull(this.tablev_mtzProgExp.inizioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetinizioNull() { + this[this.tablev_mtzProgExp.inizioColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodFrequenzaNull() { + return this.IsNull(this.tablev_mtzProgExp.codFrequenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodFrequenzaNull() { + this[this.tablev_mtzProgExp.codFrequenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscadenzaNull() { + return this.IsNull(this.tablev_mtzProgExp.cadenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcadenzaNull() { + this[this.tablev_mtzProgExp.cadenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrizioneNull() { + return this.IsNull(this.tablev_mtzProgExp.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrizioneNull() { + this[this.tablev_mtzProgExp.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxPrioritaNull() { + return this.IsNull(this.tablev_mtzProgExp.idxPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxPrioritaNull() { + this[this.tablev_mtzProgExp.idxPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsisFermoNull() { + return this.IsNull(this.tablev_mtzProgExp.isFermoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetisFermoNull() { + this[this.tablev_mtzProgExp.isFermoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxTipoNull() { + return this.IsNull(this.tablev_mtzProgExp.idxTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxTipoNull() { + this[this.tablev_mtzProgExp.idxTipoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablev_mtzProgExp.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodMacchinaNull() { + this[this.tablev_mtzProgExp.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablev_mtzProgExp.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeMacchinaNull() { + this[this.tablev_mtzProgExp.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfrequenzaNull() { + return this.IsNull(this.tablev_mtzProgExp.frequenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfrequenzaNull() { + this[this.tablev_mtzProgExp.frequenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrPrioritaNull() { + return this.IsNull(this.tablev_mtzProgExp.descrPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrPrioritaNull() { + this[this.tablev_mtzProgExp.descrPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrTipoNull() { + return this.IsNull(this.tablev_mtzProgExp.descrTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrTipoNull() { + this[this.tablev_mtzProgExp.descrTipoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class MtzProgPendingRow : global::System.Data.DataRow { + + private MtzProgPendingDataTable tableMtzProgPending; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal MtzProgPendingRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableMtzProgPending = ((MtzProgPendingDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxPending { + get { + return ((int)(this[this.tableMtzProgPending.idxPendingColumn])); + } + set { + this[this.tableMtzProgPending.idxPendingColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxIntPro { + get { + return ((int)(this[this.tableMtzProgPending.idxIntProColumn])); + } + set { + this[this.tableMtzProgPending.idxIntProColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + try { + return ((int)(this[this.tableMtzProgPending.idxMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'MtzProgPending\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgPending.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime data { + get { + try { + return ((global::System.DateTime)(this[this.tableMtzProgPending.dataColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'data\' in table \'MtzProgPending\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgPending.dataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizione { + get { + try { + return ((string)(this[this.tableMtzProgPending.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'MtzProgPending\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgPending.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxPriorita { + get { + try { + return ((int)(this[this.tableMtzProgPending.idxPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxPriorita\' in table \'MtzProgPending\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgPending.idxPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool isFermo { + get { + try { + return ((bool)(this[this.tableMtzProgPending.isFermoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isFermo\' in table \'MtzProgPending\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgPending.isFermoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxTipo { + get { + try { + return ((int)(this[this.tableMtzProgPending.idxTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxTipo\' in table \'MtzProgPending\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgPending.idxTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataRow MtzProgrammataRow { + get { + return ((MtzProgrammataRow)(this.GetParentRow(this.Table.ParentRelations["FK_MtzProgPending_MtzProgrammata"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_MtzProgPending_MtzProgrammata"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxMacchinaNull() { + return this.IsNull(this.tableMtzProgPending.idxMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxMacchinaNull() { + this[this.tableMtzProgPending.idxMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdataNull() { + return this.IsNull(this.tableMtzProgPending.dataColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdataNull() { + this[this.tableMtzProgPending.dataColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrizioneNull() { + return this.IsNull(this.tableMtzProgPending.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrizioneNull() { + this[this.tableMtzProgPending.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxPrioritaNull() { + return this.IsNull(this.tableMtzProgPending.idxPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxPrioritaNull() { + this[this.tableMtzProgPending.idxPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsisFermoNull() { + return this.IsNull(this.tableMtzProgPending.isFermoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetisFermoNull() { + this[this.tableMtzProgPending.isFermoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxTipoNull() { + return this.IsNull(this.tableMtzProgPending.idxTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxTipoNull() { + this[this.tableMtzProgPending.idxTipoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class MtzProgrammataRow : global::System.Data.DataRow { + + private MtzProgrammataDataTable tableMtzProgrammata; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal MtzProgrammataRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableMtzProgrammata = ((MtzProgrammataDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxIntPro { + get { + return ((int)(this[this.tableMtzProgrammata.idxIntProColumn])); + } + set { + this[this.tableMtzProgrammata.idxIntProColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + try { + return ((int)(this[this.tableMtzProgrammata.idxMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime inizio { + get { + try { + return ((global::System.DateTime)(this[this.tableMtzProgrammata.inizioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'inizio\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.inizioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codFrequenza { + get { + try { + return ((string)(this[this.tableMtzProgrammata.codFrequenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codFrequenza\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.codFrequenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int cadenza { + get { + try { + return ((int)(this[this.tableMtzProgrammata.cadenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cadenza\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.cadenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizione { + get { + try { + return ((string)(this[this.tableMtzProgrammata.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxPriorita { + get { + try { + return ((int)(this[this.tableMtzProgrammata.idxPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxPriorita\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.idxPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool isFermo { + get { + try { + return ((bool)(this[this.tableMtzProgrammata.isFermoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isFermo\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.isFermoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxTipo { + get { + try { + return ((int)(this[this.tableMtzProgrammata.idxTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxTipo\' in table \'MtzProgrammata\' is DBNull.", e); + } + } + set { + this[this.tableMtzProgrammata.idxTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxMacchinaNull() { + return this.IsNull(this.tableMtzProgrammata.idxMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxMacchinaNull() { + this[this.tableMtzProgrammata.idxMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsinizioNull() { + return this.IsNull(this.tableMtzProgrammata.inizioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetinizioNull() { + this[this.tableMtzProgrammata.inizioColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodFrequenzaNull() { + return this.IsNull(this.tableMtzProgrammata.codFrequenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodFrequenzaNull() { + this[this.tableMtzProgrammata.codFrequenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscadenzaNull() { + return this.IsNull(this.tableMtzProgrammata.cadenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcadenzaNull() { + this[this.tableMtzProgrammata.cadenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrizioneNull() { + return this.IsNull(this.tableMtzProgrammata.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrizioneNull() { + this[this.tableMtzProgrammata.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxPrioritaNull() { + return this.IsNull(this.tableMtzProgrammata.idxPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxPrioritaNull() { + this[this.tableMtzProgrammata.idxPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsisFermoNull() { + return this.IsNull(this.tableMtzProgrammata.isFermoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetisFermoNull() { + this[this.tableMtzProgrammata.isFermoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxTipoNull() { + return this.IsNull(this.tableMtzProgrammata.idxTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxTipoNull() { + this[this.tableMtzProgrammata.idxTipoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingRow[] GetMtzProgPendingRows() { + if ((this.Table.ChildRelations["FK_MtzProgPending_MtzProgrammata"] == null)) { + return new MtzProgPendingRow[0]; + } + else { + return ((MtzProgPendingRow[])(base.GetChildRows(this.Table.ChildRelations["FK_MtzProgPending_MtzProgrammata"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class CalendFesteFerieRow : global::System.Data.DataRow { + + private CalendFesteFerieDataTable tableCalendFesteFerie; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal CalendFesteFerieRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime data { + get { + return ((global::System.DateTime)(this[this.tableCalendFesteFerie.dataColumn])); + } + set { + this[this.tableCalendFesteFerie.dataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + public bool IsdescrizioneNull() { + return this.IsNull(this.tableCalendFesteFerie.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrizioneNull() { + this[this.tableCalendFesteFerie.descrizioneColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class OreAperturaSettRow : global::System.Data.DataRow { + + private OreAperturaSettDataTable tableOreAperturaSett; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal OreAperturaSettRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableOreAperturaSett = ((OreAperturaSettDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int giorno { + get { + return ((int)(this[this.tableOreAperturaSett.giornoColumn])); + } + set { + this[this.tableOreAperturaSett.giornoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrGiorno { + get { + try { + return ((string)(this[this.tableOreAperturaSett.descrGiornoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrGiorno\' in table \'OreAperturaSett\' is DBNull.", e); + } + } + set { + this[this.tableOreAperturaSett.descrGiornoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal apertura { + get { + try { + return ((decimal)(this[this.tableOreAperturaSett.aperturaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'apertura\' in table \'OreAperturaSett\' is DBNull.", e); + } + } + set { + this[this.tableOreAperturaSett.aperturaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrGiornoNull() { + return this.IsNull(this.tableOreAperturaSett.descrGiornoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrGiornoNull() { + this[this.tableOreAperturaSett.descrGiornoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsaperturaNull() { + return this.IsNull(this.tableOreAperturaSett.aperturaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetaperturaNull() { + this[this.tableOreAperturaSett.aperturaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class FiltroImpiantiRow : global::System.Data.DataRow { + + private FiltroImpiantiDataTable tableFiltroImpianti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal FiltroImpiantiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableFiltroImpianti = ((FiltroImpiantiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string username { + get { + return ((string)(this[this.tableFiltroImpianti.usernameColumn])); + } + set { + this[this.tableFiltroImpianti.usernameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxImpianto { + get { + return ((int)(this[this.tableFiltroImpianti.idxImpiantoColumn])); + } + set { + this[this.tableFiltroImpianti.idxImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow AnagImpiantiRow { + get { + return ((AnagImpiantiRow)(this.GetParentRow(this.Table.ParentRelations["FK_FiltroImpianti_AnagImpianti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_FiltroImpianti_AnagImpianti"]); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class FiltroMacchineRow : global::System.Data.DataRow { + + private FiltroMacchineDataTable tableFiltroMacchine; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal FiltroMacchineRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableFiltroMacchine = ((FiltroMacchineDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string username { + get { + return ((string)(this[this.tableFiltroMacchine.usernameColumn])); + } + set { + this[this.tableFiltroMacchine.usernameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + return ((int)(this[this.tableFiltroMacchine.idxMacchinaColumn])); + } + set { + this[this.tableFiltroMacchine.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow v_macchineRow { + get { + return ((v_macchineRow)(this.GetParentRow(this.Table.ParentRelations["v_macchine_FiltroMacchine"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["v_macchine_FiltroMacchine"]); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class FiltroStatiRow : global::System.Data.DataRow { + + private FiltroStatiDataTable tableFiltroStati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal FiltroStatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableFiltroStati = ((FiltroStatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string username { + get { + return ((string)(this[this.tableFiltroStati.usernameColumn])); + } + set { + this[this.tableFiltroStati.usernameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxStato { + get { + return ((int)(this[this.tableFiltroStati.idxStatoColumn])); + } + set { + this[this.tableFiltroStati.idxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow AnagStatiRow { + get { + return ((AnagStatiRow)(this.GetParentRow(this.Table.ParentRelations["FK_FiltroStati_AnagStati"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_FiltroStati_AnagStati"]); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagCausaliRow : global::System.Data.DataRow { + + private AnagCausaliDataTable tableAnagCausali; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagCausaliRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagCausali = ((AnagCausaliDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxCausale { + get { + return ((int)(this[this.tableAnagCausali.idxCausaleColumn])); + } + set { + this[this.tableAnagCausali.idxCausaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxFamMacchine { + get { + return ((int)(this[this.tableAnagCausali.idxFamMacchineColumn])); + } + set { + this[this.tableAnagCausali.idxFamMacchineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrCausale { + get { + try { + return ((string)(this[this.tableAnagCausali.descrCausaleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrCausale\' in table \'AnagCausali\' is DBNull.", e); + } + } + set { + this[this.tableAnagCausali.descrCausaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool attiva { + get { + try { + return ((bool)(this[this.tableAnagCausali.attivaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'attiva\' in table \'AnagCausali\' is DBNull.", e); + } + } + set { + this[this.tableAnagCausali.attivaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRow AnagFamMacchineRow { + get { + return ((AnagFamMacchineRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagCausali_AnagFamMacchine"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagCausali_AnagFamMacchine"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrCausaleNull() { + return this.IsNull(this.tableAnagCausali.descrCausaleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrCausaleNull() { + this[this.tableAnagCausali.descrCausaleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsattivaNull() { + return this.IsNull(this.tableAnagCausali.attivaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetattivaNull() { + this[this.tableAnagCausali.attivaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagrOperMtzRow : global::System.Data.DataRow { + + private AnagrOperMtzDataTable tableAnagrOperMtz; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagrOperMtzRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagrOperMtz = ((AnagrOperMtzDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string matrOp { + get { + return ((string)(this[this.tableAnagrOperMtz.matrOpColumn])); + } + set { + this[this.tableAnagrOperMtz.matrOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Cognome { + get { + try { + return ((string)(this[this.tableAnagrOperMtz.CognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Cognome\' in table \'AnagrOperMtz\' is DBNull.", e); + } + } + set { + this[this.tableAnagrOperMtz.CognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Nome { + get { + try { + return ((string)(this[this.tableAnagrOperMtz.NomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'AnagrOperMtz\' is DBNull.", e); + } + } + set { + this[this.tableAnagrOperMtz.NomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCognomeNull() { + return this.IsNull(this.tableAnagrOperMtz.CognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCognomeNull() { + this[this.tableAnagrOperMtz.CognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsNomeNull() { + return this.IsNull(this.tableAnagrOperMtz.NomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetNomeNull() { + this[this.tableAnagrOperMtz.NomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRow[] GetInterventoOpMtzRows() { + if ((this.Table.ChildRelations["FK_InterventoOpMtz_AnagrOperMtz"] == null)) { + return new InterventoOpMtzRow[0]; + } + else { + return ((InterventoOpMtzRow[])(base.GetChildRows(this.Table.ChildRelations["FK_InterventoOpMtz_AnagrOperMtz"]))); + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class LogUpdateDbRowChangeEvent : global::System.EventArgs { + + private LogUpdateDbRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbRowChangeEvent(LogUpdateDbRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagAmbitoGuastoRowChangeEvent : global::System.EventArgs { + + private AnagAmbitoGuastoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoRowChangeEvent(AnagAmbitoGuastoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagPrioritaRowChangeEvent : global::System.EventArgs { + + private AnagPrioritaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaRowChangeEvent(AnagPrioritaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagImpiantiRowChangeEvent : global::System.EventArgs { + + private AnagImpiantiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRowChangeEvent(AnagImpiantiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_macchineRowChangeEvent : global::System.EventArgs { + + private v_macchineRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRowChangeEvent(v_macchineRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selFamMaccRowChangeEvent : global::System.EventArgs { + + private v_selFamMaccRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRowChangeEvent(v_selFamMaccRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagFamMacchineRowChangeEvent : global::System.EventArgs { + + private AnagFamMacchineRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRowChangeEvent(AnagFamMacchineRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_intervExpRowChangeEvent : global::System.EventArgs { + + private v_intervExpRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRowChangeEvent(v_intervExpRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagTipoGuastoRowChangeEvent : global::System.EventArgs { + + private AnagTipoGuastoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoRowChangeEvent(AnagTipoGuastoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagStatiRowChangeEvent : global::System.EventArgs { + + private AnagStatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRowChangeEvent(AnagStatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class InterventoOpMtzRowChangeEvent : global::System.EventArgs { + + private InterventoOpMtzRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRowChangeEvent(InterventoOpMtzRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_mtzProgExpRowChangeEvent : global::System.EventArgs { + + private v_mtzProgExpRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpRowChangeEvent(v_mtzProgExpRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class MtzProgPendingRowChangeEvent : global::System.EventArgs { + + private MtzProgPendingRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingRowChangeEvent(MtzProgPendingRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class MtzProgrammataRowChangeEvent : global::System.EventArgs { + + private MtzProgrammataRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataRowChangeEvent(MtzProgrammataRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class CalendFesteFerieRowChangeEvent : global::System.EventArgs { + + private CalendFesteFerieRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public CalendFesteFerieRowChangeEvent(CalendFesteFerieRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public CalendFesteFerieRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class OreAperturaSettRowChangeEvent : global::System.EventArgs { + + private OreAperturaSettRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettRowChangeEvent(OreAperturaSettRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class FiltroImpiantiRowChangeEvent : global::System.EventArgs { + + private FiltroImpiantiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiRowChangeEvent(FiltroImpiantiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class FiltroMacchineRowChangeEvent : global::System.EventArgs { + + private FiltroMacchineRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineRowChangeEvent(FiltroMacchineRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class FiltroStatiRowChangeEvent : global::System.EventArgs { + + private FiltroStatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiRowChangeEvent(FiltroStatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagCausaliRowChangeEvent : global::System.EventArgs { + + private AnagCausaliRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliRowChangeEvent(AnagCausaliRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagrOperMtzRowChangeEvent : global::System.EventArgs { + + private AnagrOperMtzRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzRowChangeEvent(AnagrOperMtzRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GIM_data.DS_applicazioneTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class LogUpdateDbTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public LogUpdateDbTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "LogUpdateDb"; + tableMapping.ColumnMappings.Add("Versione", "Versione"); + tableMapping.ColumnMappings.Add("Data", "Data"); + 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].[LogUpdateDb] WHERE (([Versione] = @Original_Versione))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Versione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Versione", 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].[LogUpdateDb] ([Versione], [Data]) VALUES (@Versione, @Data)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Versione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Versione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[LogUpdateDb] SET [Versione] = @Versione, [Data] = @Data WHERE (([Ve" + + "rsione] = @Original_Versione))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Versione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Versione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@Original_Versione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Versione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 Versione, Data FROM dbo.LogUpdateDb"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT MAX(Versione) as Versione FROM LogUpdateDb"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.LogUpdateDbDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.LogUpdateDbDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.LogUpdateDbDataTable dataTable = new DS_applicazione.LogUpdateDbDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.LogUpdateDbDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "LogUpdateDb"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_Versione) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Versione)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int Versione, global::System.Nullable Data) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Versione)); + if ((Data.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[1].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int Versione, global::System.Nullable Data, int Original_Versione) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(Versione)); + if ((Data.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_Versione)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable Data, int Original_Versione) { + return this.Update(Original_Versione, Data, Original_Versione); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual global::System.Nullable getDbVers() { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + object returnValue; + try { + returnValue = command.ExecuteScalar(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return new global::System.Nullable(); + } + else { + return new global::System.Nullable(((int)(returnValue))); + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagAmbitoGuastoTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagAmbitoGuastoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagAmbitoGuasto"; + tableMapping.ColumnMappings.Add("idxAmbito", "idxAmbito"); + tableMapping.ColumnMappings.Add("descrAmbitoGuasto", "descrAmbitoGuasto"); + 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].[AnagAmbitoGuasto] WHERE (([idxAmbito] = @Original_idxAmbito))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxAmbito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmbito", 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].[AnagAmbitoGuasto] ([descrAmbitoGuasto]) VALUES (@descrAmbitoGu" + + "asto)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrAmbitoGuasto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrAmbitoGuasto", 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].[AnagAmbitoGuasto] SET [descrAmbitoGuasto] = @descrAmbitoGuasto WHER" + + "E (([idxAmbito] = @Original_idxAmbito))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrAmbitoGuasto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrAmbitoGuasto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxAmbito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmbito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxAmbito, descrAmbitoGuasto FROM dbo.AnagAmbitoGuasto"; + 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 = "DELETE FROM [dbo].[AnagAmbitoGuasto] WHERE (([idxAmbito] = @Original_idxAmbito))"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxAmbito", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmbito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagAmbitoGuastoDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagAmbitoGuastoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagAmbitoGuastoDataTable dataTable = new DS_applicazione.AnagAmbitoGuastoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagAmbitoGuastoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagAmbitoGuasto"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxAmbito) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxAmbito)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string descrAmbitoGuasto) { + if ((descrAmbitoGuasto == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(descrAmbitoGuasto)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string descrAmbitoGuasto, int Original_idxAmbito) { + if ((descrAmbitoGuasto == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(descrAmbitoGuasto)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Original_idxAmbito)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(int Original_idxAmbito) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + command.Parameters[0].Value = ((int)(Original_idxAmbito)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagPrioritaTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagPrioritaTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagPriorita"; + tableMapping.ColumnMappings.Add("idxPriorita", "idxPriorita"); + tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita"); + tableMapping.ColumnMappings.Add("stile", "stile"); + 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].[AnagPriorita] WHERE (([idxPriorita] = @Original_idxPriorita))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", 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].[AnagPriorita] ([idxPriorita], [descrPriorita], [stile]) VALUES" + + " (@idxPriorita, @descrPriorita, @stile)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrPriorita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stile", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stile", 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].[AnagPriorita] SET [idxPriorita] = @idxPriorita, [descrPriorita] = @" + + "descrPriorita, [stile] = @stile WHERE (([idxPriorita] = @Original_idxPriorita))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrPriorita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stile", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stile", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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.AnagPriorita"; + 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 = "DELETE FROM [dbo].[AnagPriorita] WHERE (([idxPriorita] = @Original_idxPriorita))"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "SELECT * FROM dbo.AnagPriorita\r\nwhere idxPriorita=@idxPriorita"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "SELECT MAX(idxPriorita) as idxPriorita FROM AnagPriorita"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "UPDATE AnagPriorita\r\nSET idxPriorita = @idxPriorita, descrPriorit" + + "a = @descrPriorita, stile = @stile\r\nWHERE (idxPriorita = @Original_idxPriori" + + "ta)"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrPriorita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "descrPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stile", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "stile", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagPrioritaDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagPrioritaDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagPrioritaDataTable dataTable = new DS_applicazione.AnagPrioritaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.AnagPrioritaDataTable getByIdxPriorita(int idxPriorita) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxPriorita)); + DS_applicazione.AnagPrioritaDataTable dataTable = new DS_applicazione.AnagPrioritaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagPrioritaDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagPriorita"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxPriorita) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxPriorita)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int idxPriorita, string descrPriorita, string stile) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxPriorita)); + if ((descrPriorita == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(descrPriorita)); + } + if ((stile == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(stile)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int idxPriorita, string descrPriorita, string stile, int Original_idxPriorita) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxPriorita)); + if ((descrPriorita == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(descrPriorita)); + } + if ((stile == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(stile)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxPriorita)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string descrPriorita, string stile, int Original_idxPriorita) { + return this.Update(Original_idxPriorita, descrPriorita, stile, Original_idxPriorita); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(int Original_idxPriorita) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + command.Parameters[0].Value = ((int)(Original_idxPriorita)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual global::System.Nullable getMaxPriorita() { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + 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 (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return new global::System.Nullable(); + } + else { + return new global::System.Nullable(((int)(returnValue))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(int idxPriorita, string descrPriorita, string stile, int Original_idxPriorita) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + command.Parameters[0].Value = ((int)(idxPriorita)); + if ((descrPriorita == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(descrPriorita)); + } + if ((stile == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(stile)); + } + command.Parameters[3].Value = ((int)(Original_idxPriorita)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagImpiantiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagImpianti"; + tableMapping.ColumnMappings.Add("idxImpianto", "idxImpianto"); + tableMapping.ColumnMappings.Add("codImpianto", "codImpianto"); + tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto"); + tableMapping.ColumnMappings.Add("tipoImpianto", "tipoImpianto"); + tableMapping.ColumnMappings.Add("funzDal", "funzDal"); + tableMapping.ColumnMappings.Add("funzAl", "funzAl"); + 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].[AnagImpianti] WHERE (([idxImpianto] = @Original_idxImpianto))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", 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].[AnagImpianti] ([codImpianto], [nomeImpianto], [tipoImpianto], " + + "[funzDal], [funzAl]) VALUES (@codImpianto, @nomeImpianto, @tipoImpianto, @funzDa" + + "l, @funzAl)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nomeImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tipoImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tipoImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzDal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzDal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzAl", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzAl", 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].[AnagImpianti] SET [codImpianto] = @codImpianto, [nomeImpianto] = @n" + + "omeImpianto, [tipoImpianto] = @tipoImpianto, [funzDal] = @funzDal, [funzAl] = @f" + + "unzAl WHERE (([idxImpianto] = @Original_idxImpianto))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nomeImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tipoImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tipoImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzDal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzDal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzAl", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzAl", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl FROM" + + " dbo.AnagImpianti\r\nORDER BY codImpianto, nomeImpianto"; + 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 = "DELETE FROM [dbo].[AnagImpianti] WHERE (([idxImpianto] = @Original_idxImpianto))"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.sp_clonaImpianto"; + 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("@idxImpianto", 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagImpiantiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagImpiantiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagImpiantiDataTable dataTable = new DS_applicazione.AnagImpiantiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagImpiantiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagImpianti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxImpianto) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxImpianto)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string codImpianto, string nomeImpianto, string tipoImpianto, global::System.Nullable funzDal, global::System.Nullable funzAl) { + if ((codImpianto == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(codImpianto)); + } + if ((nomeImpianto == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(nomeImpianto)); + } + if ((tipoImpianto == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(tipoImpianto)); + } + if ((funzDal.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(funzDal.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((funzAl.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(funzAl.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string codImpianto, string nomeImpianto, string tipoImpianto, global::System.Nullable funzDal, global::System.Nullable funzAl, int Original_idxImpianto) { + if ((codImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(codImpianto)); + } + if ((nomeImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(nomeImpianto)); + } + if ((tipoImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(tipoImpianto)); + } + if ((funzDal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(funzDal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((funzAl.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(funzAl.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_idxImpianto)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(int Original_idxImpianto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + command.Parameters[0].Value = ((int)(Original_idxImpianto)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_clonaImpianto(global::System.Nullable idxImpianto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((idxImpianto.HasValue == true)) { + command.Parameters[1].Value = ((int)(idxImpianto.Value)); + } + else { + command.Parameters[1].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; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_macchineTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_macchineTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_macchine"; + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("idxImpianto", "idxImpianto"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + tableMapping.ColumnMappings.Add("modello", "modello"); + tableMapping.ColumnMappings.Add("matricola", "matricola"); + tableMapping.ColumnMappings.Add("anno", "anno"); + tableMapping.ColumnMappings.Add("kgPeso", "kgPeso"); + tableMapping.ColumnMappings.Add("kwConsumo", "kwConsumo"); + tableMapping.ColumnMappings.Add("funzDal", "funzDal"); + tableMapping.ColumnMappings.Add("funzAl", "funzAl"); + tableMapping.ColumnMappings.Add("descrImpianto", "descrImpianto"); + 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].[AnagMacchine] WHERE (([idxMacchina] = @Original_idxMacchina))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagMacchine] ([idxImpianto], [codMacchina], [nomeMacchina], [modello], [matricola], [anno], [kgPeso], [kwConsumo], [funzDal], [funzAl]) VALUES (@idxImpianto, @codMacchina, @nomeMacchina, @modello, @matricola, @anno, @kgPeso, @kwConsumo, @funzDal, @funzAl)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", 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("@nomeMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nomeMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@modello", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "modello", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "anno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kgPeso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kgPeso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kwConsumo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwConsumo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzDal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzDal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzAl", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzAl", 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].[AnagMacchine] SET [idxImpianto] = @idxImpianto, [codMacchina] = @codMacchina, [nomeMacchina] = @nomeMacchina, [modello] = @modello, [matricola] = @matricola, [anno] = @anno, [kgPeso] = @kgPeso, [kwConsumo] = @kwConsumo, [funzDal] = @funzDal, [funzAl] = @funzAl WHERE (([idxMacchina] = @Original_idxMacchina))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", 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("@nomeMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nomeMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@modello", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "modello", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "anno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kgPeso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kgPeso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kwConsumo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwConsumo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzDal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzDal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@funzAl", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "funzAl", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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, idxImpianto, codMacchina, nomeMacchina, modello, matricol" + + "a, anno, kgPeso, kwConsumo, funzDal, funzAl, descrImpianto\r\nFROM v_macch" + + "ine"; + 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 = "DELETE FROM [dbo].[AnagMacchine] WHERE (([idxMacchina] = @Original_idxMacchina))"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "SELECT idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricol" + + "a, anno, kgPeso, kwConsumo, funzDal, funzAl, descrImpianto\r\nFROM v_macch" + + "ine\r\nwhere idxImpianto=@idxImpianto"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "SELECT idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricol" + + "a, anno, kgPeso, kwConsumo, funzDal, funzAl, descrImpianto\r\nFROM v_macch" + + "ine\r\nWHERE idxMacchina=@idxMacchina"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.sp_clonaMacchina"; + 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.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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.sp_spostaMacchina"; + 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.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("@idxImpiantoTo", 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_macchineDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_macchineDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_macchineDataTable dataTable = new DS_applicazione.v_macchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_macchineDataTable getByIdxImpianto(global::System.Nullable idxImpianto) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((idxImpianto.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxImpianto.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + DS_applicazione.v_macchineDataTable dataTable = new DS_applicazione.v_macchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_macchineDataTable getByIdxMacchina(int idxMacchina) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxMacchina)); + DS_applicazione.v_macchineDataTable dataTable = new DS_applicazione.v_macchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.v_macchineDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "v_macchine"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxMacchina) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxMacchina)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(global::System.Nullable idxImpianto, string codMacchina, string nomeMacchina, string modello, string matricola, global::System.Nullable anno, global::System.Nullable kgPeso, global::System.Nullable kwConsumo, global::System.Nullable funzDal, global::System.Nullable funzAl) { + if ((idxImpianto.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxImpianto.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((codMacchina == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(codMacchina)); + } + if ((nomeMacchina == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(nomeMacchina)); + } + if ((modello == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(modello)); + } + if ((matricola == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(matricola)); + } + if ((anno.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(anno.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((kgPeso.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((double)(kgPeso.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((kwConsumo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((double)(kwConsumo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((funzDal.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(funzDal.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((funzAl.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(funzAl.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[9].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable idxImpianto, string codMacchina, string nomeMacchina, string modello, string matricola, global::System.Nullable anno, global::System.Nullable kgPeso, global::System.Nullable kwConsumo, global::System.Nullable funzDal, global::System.Nullable funzAl, int Original_idxMacchina) { + if ((idxImpianto.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxImpianto.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((codMacchina == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(codMacchina)); + } + if ((nomeMacchina == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(nomeMacchina)); + } + if ((modello == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(modello)); + } + if ((matricola == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(matricola)); + } + if ((anno.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(anno.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((kgPeso.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(kgPeso.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((kwConsumo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(kwConsumo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((funzDal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(funzDal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((funzAl.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(funzAl.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_idxMacchina)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(int Original_idxMacchina) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + command.Parameters[0].Value = ((int)(Original_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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_clonaMacchina(global::System.Nullable idxMacchina) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((idxMacchina.HasValue == true)) { + command.Parameters[1].Value = ((int)(idxMacchina.Value)); + } + else { + command.Parameters[1].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_spostaMacchina(global::System.Nullable idxMacchina, global::System.Nullable idxImpiantoTo) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((idxMacchina.HasValue == true)) { + command.Parameters[1].Value = ((int)(idxMacchina.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((idxImpiantoTo.HasValue == true)) { + command.Parameters[2].Value = ((int)(idxImpiantoTo.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; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selFamMaccTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamMaccTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selFamMacc"; + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("idxFamMacchine", "idxFamMacchine"); + tableMapping.ColumnMappings.Add("famiglia", "famiglia"); + tableMapping.ColumnMappings.Add("macchina", "macchina"); + 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].[Macchine2FamMacchine] WHERE (([idxMacchina] = @Original_idxMac" + + "china) AND ([idxFamMacchine] = @Original_idxFamMacchine))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", 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].[Macchine2FamMacchine] ([idxMacchina], [idxFamMacchine]) VALUES" + + " (@idxMacchina, @idxFamMacchine)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", 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].[Macchine2FamMacchine] SET [idxMacchina] = @idxMacchina, [idxFamMacc" + + "hine] = @idxFamMacchine WHERE (([idxMacchina] = @Original_idxMacchina) AND ([idx" + + "FamMacchine] = @Original_idxFamMacchine))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 v_selFamMacc.*\r\nFROM v_selFamMacc"; + 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 = "DELETE FROM [dbo].[Macchine2FamMacchine] WHERE (([idxMacchina] = @Original_idxMac" + + "china) AND ([idxFamMacchine] = @Original_idxFamMacchine))"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFamMacchine", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "SELECT idxFamMacchine, idxMacchina, famiglia, macchina\r\nFROM v_selFam" + + "Macc\r\nWHERE (idxFamMacchine = @idxFamMacchine)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFamMacchine", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "INSERT INTO [dbo].[Macchine2FamMacchine] ([idxMacchina], [idxFamMacchine]) VALUES" + + " (@idxMacchina, @idxFamMacchine)"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFamMacchine", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_selFamMaccDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_selFamMaccDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_selFamMaccDataTable dataTable = new DS_applicazione.v_selFamMaccDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_selFamMaccDataTable getByFam(int idxFamMacchine) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxFamMacchine)); + DS_applicazione.v_selFamMaccDataTable dataTable = new DS_applicazione.v_selFamMaccDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.v_selFamMaccDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "v_selFamMacc"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxMacchina, int Original_idxFamMacchine) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxMacchina)); + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxFamMacchine)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int idxMacchina, int idxFamMacchine) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxMacchina)); + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxFamMacchine)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int idxMacchina, int idxFamMacchine, int Original_idxMacchina, int Original_idxFamMacchine) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxMacchina)); + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxFamMacchine)); + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_idxMacchina)); + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxFamMacchine)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int Original_idxMacchina, int Original_idxFamMacchine) { + return this.Update(Original_idxMacchina, Original_idxFamMacchine, Original_idxMacchina, Original_idxFamMacchine); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(int Original_idxMacchina, int Original_idxFamMacchine) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + command.Parameters[0].Value = ((int)(Original_idxMacchina)); + command.Parameters[1].Value = ((int)(Original_idxFamMacchine)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)] + public virtual int InsertQuery(int idxMacchina, int idxFamMacchine) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + command.Parameters[0].Value = ((int)(idxMacchina)); + command.Parameters[1].Value = ((int)(idxFamMacchine)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagFamMacchineTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagFamMacchineTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagFamMacchine"; + tableMapping.ColumnMappings.Add("idxFamMacchine", "idxFamMacchine"); + tableMapping.ColumnMappings.Add("nomeFamMacch", "nomeFamMacch"); + 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].[AnagFamMacchine] WHERE (([idxFamMacchine] = @Original_idxFamMa" + + "cchine))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", 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].[AnagFamMacchine] ([nomeFamMacch]) VALUES (@nomeFamMacch)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeFamMacch", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nomeFamMacch", 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].[AnagFamMacchine] SET [nomeFamMacch] = @nomeFamMacch WHERE (([idxFam" + + "Macchine] = @Original_idxFamMacchine))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeFamMacch", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nomeFamMacch", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxFamMacchine, nomeFamMacch\r\nFROM AnagFamMacchine\r\nORDER BY n" + + "omeFamMacch"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagFamMacchineDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagFamMacchineDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagFamMacchineDataTable dataTable = new DS_applicazione.AnagFamMacchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagFamMacchineDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagFamMacchine"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxFamMacchine) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxFamMacchine)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string nomeFamMacch) { + if ((nomeFamMacch == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(nomeFamMacch)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string nomeFamMacch, int Original_idxFamMacchine) { + if ((nomeFamMacch == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(nomeFamMacch)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Original_idxFamMacchine)); + 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(); + } + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_intervExpTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_intervExpTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_intervExp"; + tableMapping.ColumnMappings.Add("numIntMtz", "numIntMtz"); + tableMapping.ColumnMappings.Add("richiesta", "richiesta"); + tableMapping.ColumnMappings.Add("dataLav", "dataLav"); + tableMapping.ColumnMappings.Add("turnoLav", "turnoLav"); + tableMapping.ColumnMappings.Add("matr", "matr"); + tableMapping.ColumnMappings.Add("guasto", "guasto"); + tableMapping.ColumnMappings.Add("idxAmbito", "idxAmbito"); + tableMapping.ColumnMappings.Add("idxPriorita", "idxPriorita"); + tableMapping.ColumnMappings.Add("isFermo", "isFermo"); + tableMapping.ColumnMappings.Add("idxTipo", "idxTipo"); + tableMapping.ColumnMappings.Add("idxImpianto", "idxImpianto"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("idxStato", "idxStato"); + tableMapping.ColumnMappings.Add("presaInCarico", "presaInCarico"); + tableMapping.ColumnMappings.Add("inizioIntervento", "inizioIntervento"); + tableMapping.ColumnMappings.Add("fineIntervento", "fineIntervento"); + tableMapping.ColumnMappings.Add("descrizioneIntervento", "descrizioneIntervento"); + tableMapping.ColumnMappings.Add("isPreventivabile", "isPreventivabile"); + tableMapping.ColumnMappings.Add("idxCausale", "idxCausale"); + tableMapping.ColumnMappings.Add("descrAmbitoGuasto", "descrAmbitoGuasto"); + tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita"); + tableMapping.ColumnMappings.Add("descrTipo", "descrTipo"); + tableMapping.ColumnMappings.Add("codImpianto", "codImpianto"); + tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); + tableMapping.ColumnMappings.Add("descrCausale", "descrCausale"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +ORDER BY numIntMtz DESC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +WHERE (numIntMtz = @numIntMtz)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "SELECT *\r\nFROM v_intervExp\r\nWHERE (idxCausale = @idxCausale)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxCausale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +where idxImpianto=@idxImpianto +ORDER BY numIntMtz DESC +"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +WHERE idxMacchina=@idxMacchina +ORDER BY numIntMtz DESC"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +where richiesta between @inizio and @fine +ORDER BY numIntMtz DESC"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.sp_insRichiesta"; + 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("@richiesta", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@turnoLav", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matr", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guasto", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmbito", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 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.sp_setPresaInCarico"; + 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("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStatoNew", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 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.sp_updateIntervento"; + 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("@Original_numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizioIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fineIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isPreventivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneIntervento", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + this._commandCollection[9].CommandText = "dbo.sp_updateInterventoFull"; + 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("@Original_numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizioIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fineIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isPreventivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneIntervento", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matr", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guasto", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmbito", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@presaInCarico", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_intervExpDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_intervExpDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_intervExpDataTable getByIdx(int numIntMtz) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(numIntMtz)); + DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_intervExpDataTable getByIdxCausale(global::System.Nullable idxCausale) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((idxCausale.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxCausale.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_intervExpDataTable getByIdxImpianto(int idxImpianto) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxImpianto)); + DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_intervExpDataTable getByIdxMacchina(int idxMacchina) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxMacchina)); + DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.v_intervExpDataTable getByPeriodo(System.DateTime inizio, System.DateTime fine) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(inizio)); + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(fine)); + DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual object sp_insRichiesta(global::System.Nullable richiesta, global::System.Nullable dataLav, global::System.Nullable turnoLav, string matr, global::System.Nullable guasto, global::System.Nullable idxAmbito, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo, global::System.Nullable idxImpianto, global::System.Nullable idxMacchina, string descrizione, global::System.Nullable idxCausale, ref global::System.Nullable numIntMtz) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((richiesta.HasValue == true)) { + command.Parameters[1].Value = ((System.DateTime)(richiesta.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((dataLav.HasValue == true)) { + command.Parameters[2].Value = ((System.DateTime)(dataLav.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((turnoLav.HasValue == true)) { + command.Parameters[3].Value = ((int)(turnoLav.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((matr == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(matr)); + } + if ((guasto.HasValue == true)) { + command.Parameters[5].Value = ((System.DateTime)(guasto.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((idxAmbito.HasValue == true)) { + command.Parameters[6].Value = ((int)(idxAmbito.Value)); + } + else { + command.Parameters[6].Value = global::System.DBNull.Value; + } + if ((idxPriorita.HasValue == true)) { + command.Parameters[7].Value = ((int)(idxPriorita.Value)); + } + else { + command.Parameters[7].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + command.Parameters[8].Value = ((bool)(isFermo.Value)); + } + else { + command.Parameters[8].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + command.Parameters[9].Value = ((int)(idxTipo.Value)); + } + else { + command.Parameters[9].Value = global::System.DBNull.Value; + } + if ((idxImpianto.HasValue == true)) { + command.Parameters[10].Value = ((int)(idxImpianto.Value)); + } + else { + command.Parameters[10].Value = global::System.DBNull.Value; + } + if ((idxMacchina.HasValue == true)) { + command.Parameters[11].Value = ((int)(idxMacchina.Value)); + } + else { + command.Parameters[11].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + command.Parameters[12].Value = global::System.DBNull.Value; + } + else { + command.Parameters[12].Value = ((string)(descrizione)); + } + if ((idxCausale.HasValue == true)) { + command.Parameters[13].Value = ((int)(idxCausale.Value)); + } + else { + command.Parameters[13].Value = global::System.DBNull.Value; + } + if ((numIntMtz.HasValue == true)) { + command.Parameters[14].Value = ((int)(numIntMtz.Value)); + } + else { + command.Parameters[14].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[14].Value == null) + || (command.Parameters[14].Value.GetType() == typeof(global::System.DBNull)))) { + numIntMtz = new global::System.Nullable(); + } + else { + numIntMtz = new global::System.Nullable(((int)(command.Parameters[14].Value))); + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return null; + } + else { + return ((object)(returnValue)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual object sp_setPresaInCarico(global::System.Nullable numIntMtz, ref global::System.Nullable idxStatoNew) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((numIntMtz.HasValue == true)) { + command.Parameters[1].Value = ((int)(numIntMtz.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((idxStatoNew.HasValue == true)) { + command.Parameters[2].Value = ((int)(idxStatoNew.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)))) { + idxStatoNew = new global::System.Nullable(); + } + else { + idxStatoNew = new global::System.Nullable(((int)(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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_updateIntervento(global::System.Nullable Original_numIntMtz, global::System.Nullable idxStato, global::System.Nullable inizioIntervento, global::System.Nullable fineIntervento, global::System.Nullable isPreventivabile, string descrizioneIntervento) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; + if ((Original_numIntMtz.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_numIntMtz.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((idxStato.HasValue == true)) { + command.Parameters[2].Value = ((int)(idxStato.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((inizioIntervento.HasValue == true)) { + command.Parameters[3].Value = ((System.DateTime)(inizioIntervento.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((fineIntervento.HasValue == true)) { + command.Parameters[4].Value = ((System.DateTime)(fineIntervento.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((isPreventivabile.HasValue == true)) { + command.Parameters[5].Value = ((bool)(isPreventivabile.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((descrizioneIntervento == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(descrizioneIntervento)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int sp_updateInterventoFull( + global::System.Nullable Original_numIntMtz, + global::System.Nullable idxStato, + global::System.Nullable inizioIntervento, + global::System.Nullable fineIntervento, + global::System.Nullable isPreventivabile, + string descrizioneIntervento, + string matr, + global::System.Nullable guasto, + global::System.Nullable isFermo, + global::System.Nullable idxImpianto, + global::System.Nullable idxMacchina, + global::System.Nullable idxAmbito, + global::System.Nullable idxPriorita, + string descrizione, + global::System.Nullable idxTipo, + global::System.Nullable idxCausale, + global::System.Nullable presaInCarico) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; + if ((Original_numIntMtz.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_numIntMtz.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((idxStato.HasValue == true)) { + command.Parameters[2].Value = ((int)(idxStato.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((inizioIntervento.HasValue == true)) { + command.Parameters[3].Value = ((System.DateTime)(inizioIntervento.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((fineIntervento.HasValue == true)) { + command.Parameters[4].Value = ((System.DateTime)(fineIntervento.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((isPreventivabile.HasValue == true)) { + command.Parameters[5].Value = ((bool)(isPreventivabile.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((descrizioneIntervento == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(descrizioneIntervento)); + } + if ((matr == null)) { + command.Parameters[7].Value = global::System.DBNull.Value; + } + else { + command.Parameters[7].Value = ((string)(matr)); + } + if ((guasto.HasValue == true)) { + command.Parameters[8].Value = ((System.DateTime)(guasto.Value)); + } + else { + command.Parameters[8].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + command.Parameters[9].Value = ((bool)(isFermo.Value)); + } + else { + command.Parameters[9].Value = global::System.DBNull.Value; + } + if ((idxImpianto.HasValue == true)) { + command.Parameters[10].Value = ((int)(idxImpianto.Value)); + } + else { + command.Parameters[10].Value = global::System.DBNull.Value; + } + if ((idxMacchina.HasValue == true)) { + command.Parameters[11].Value = ((int)(idxMacchina.Value)); + } + else { + command.Parameters[11].Value = global::System.DBNull.Value; + } + if ((idxAmbito.HasValue == true)) { + command.Parameters[12].Value = ((int)(idxAmbito.Value)); + } + else { + command.Parameters[12].Value = global::System.DBNull.Value; + } + if ((idxPriorita.HasValue == true)) { + command.Parameters[13].Value = ((int)(idxPriorita.Value)); + } + else { + command.Parameters[13].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + command.Parameters[14].Value = global::System.DBNull.Value; + } + else { + command.Parameters[14].Value = ((string)(descrizione)); + } + if ((idxTipo.HasValue == true)) { + command.Parameters[15].Value = ((int)(idxTipo.Value)); + } + else { + command.Parameters[15].Value = global::System.DBNull.Value; + } + if ((idxCausale.HasValue == true)) { + command.Parameters[16].Value = ((int)(idxCausale.Value)); + } + else { + command.Parameters[16].Value = global::System.DBNull.Value; + } + if ((presaInCarico.HasValue == true)) { + command.Parameters[17].Value = ((System.DateTime)(presaInCarico.Value)); + } + else { + command.Parameters[17].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; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagTipoGuastoTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagTipoGuastoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagTipoGuasto"; + tableMapping.ColumnMappings.Add("idxTipo", "idxTipo"); + tableMapping.ColumnMappings.Add("descrTipo", "descrTipo"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagTipoGuasto] WHERE (([idxTipo] = @Original_idxTipo))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagTipoGuasto] ([descrTipo]) VALUES (@descrTipo)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrTipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrTipo", 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].[AnagTipoGuasto] SET [descrTipo] = @descrTipo WHERE (([idxTipo] = @O" + + "riginal_idxTipo))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrTipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxTipo, descrTipo FROM dbo.AnagTipoGuasto"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagTipoGuastoDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagTipoGuastoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagTipoGuastoDataTable dataTable = new DS_applicazione.AnagTipoGuastoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagTipoGuastoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagTipoGuasto"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxTipo) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxTipo)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string descrTipo) { + if ((descrTipo == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(descrTipo)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string descrTipo, int Original_idxTipo) { + if ((descrTipo == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(descrTipo)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Original_idxTipo)); + 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(); + } + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagStatiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagStati"; + tableMapping.ColumnMappings.Add("idxStato", "idxStato"); + tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); + tableMapping.ColumnMappings.Add("stile", "stile"); + 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].[AnagStati] WHERE (([idxStato] = @Original_idxStato))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagStati] ([idxStato], [DescrStato], [stile]) VALUES (@idxSta" + + "to, @DescrStato, @stile)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stile", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stile", 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].[AnagStati] SET [idxStato] = @idxStato, [DescrStato] = @DescrStato, " + + "[stile] = @stile WHERE (([idxStato] = @Original_idxStato))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stile", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stile", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxStato, DescrStato, stile FROM dbo.AnagStati"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT idxStato, DescrStato, stile FROM dbo.AnagStati\r\nwhere idxStato=@idxStato"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagStatiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagStatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagStatiDataTable dataTable = new DS_applicazione.AnagStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.AnagStatiDataTable getByIdxStato(int idxStato) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxStato)); + DS_applicazione.AnagStatiDataTable dataTable = new DS_applicazione.AnagStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagStatiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagStati"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxStato) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxStato)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int idxStato, string DescrStato, string stile) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxStato)); + if ((DescrStato == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrStato)); + } + if ((stile == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(stile)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int idxStato, string DescrStato, string stile, int Original_idxStato) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxStato)); + if ((DescrStato == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrStato)); + } + if ((stile == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(stile)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxStato)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrStato, string stile, int Original_idxStato) { + return this.Update(Original_idxStato, DescrStato, stile, Original_idxStato); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class InterventoOpMtzTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public InterventoOpMtzTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "InterventoOpMtz"; + tableMapping.ColumnMappings.Add("numIntMtz", "numIntMtz"); + tableMapping.ColumnMappings.Add("matrOp", "matrOp"); + tableMapping.ColumnMappings.Add("durataMinuti", "durataMinuti"); + 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].[InterventoOpMtz] WHERE (([numIntMtz] = @Original_numIntMtz) AN" + + "D ([matrOp] = @Original_matrOp))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numIntMtz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", 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].[InterventoOpMtz] ([numIntMtz], [matrOp], [durataMinuti]) VALUE" + + "S (@numIntMtz, @matrOp, @durataMinuti)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@durataMinuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durataMinuti", 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].[InterventoOpMtz] SET [numIntMtz] = @numIntMtz, [matrOp] = @matrOp, " + + "[durataMinuti] = @durataMinuti WHERE (([numIntMtz] = @Original_numIntMtz) AND ([" + + "matrOp] = @Original_matrOp))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@durataMinuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durataMinuti", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numIntMtz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 numIntMtz, matrOp, durataMinuti FROM dbo.InterventoOpMtz"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT numIntMtz, matrOp, durataMinuti\r\nFROM InterventoOpMtz\r\nWHERE " + + " (numIntMtz = @numIntMtz) AND (matrOp = @matrOp)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOp", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", 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 numIntMtz, matrOp, durataMinuti FROM dbo.InterventoOpMtz\r\nwhere numIntMtz=" + + "@numIntMtz"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "UPDATE InterventoOpMtz\r\nSET matrOp = @matrOp, durataMinuti = @dur" + + "ataMinuti\r\nWHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_m" + + "atrOp)"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOp", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@durataMinuti", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "durataMinuti", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_matrOp", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.InterventoOpMtzDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.InterventoOpMtzDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.InterventoOpMtzDataTable dataTable = new DS_applicazione.InterventoOpMtzDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.InterventoOpMtzDataTable getByMatrNumIntMtz(int numIntMtz, string matrOp) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(numIntMtz)); + if ((matrOp == null)) { + throw new global::System.ArgumentNullException("matrOp"); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(matrOp)); + } + DS_applicazione.InterventoOpMtzDataTable dataTable = new DS_applicazione.InterventoOpMtzDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.InterventoOpMtzDataTable getByNumIntMtz(int numIntMtz) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(numIntMtz)); + DS_applicazione.InterventoOpMtzDataTable dataTable = new DS_applicazione.InterventoOpMtzDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.InterventoOpMtzDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "InterventoOpMtz"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_numIntMtz, string Original_matrOp) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_numIntMtz)); + if ((Original_matrOp == null)) { + throw new global::System.ArgumentNullException("Original_matrOp"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_matrOp)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int numIntMtz, string matrOp, global::System.Nullable durataMinuti) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(numIntMtz)); + if ((matrOp == null)) { + throw new global::System.ArgumentNullException("matrOp"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(matrOp)); + } + if ((durataMinuti.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(durataMinuti.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int numIntMtz, string matrOp, global::System.Nullable durataMinuti, int Original_numIntMtz, string Original_matrOp) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(numIntMtz)); + if ((matrOp == null)) { + throw new global::System.ArgumentNullException("matrOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(matrOp)); + } + if ((durataMinuti.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(durataMinuti.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_numIntMtz)); + if ((Original_matrOp == null)) { + throw new global::System.ArgumentNullException("Original_matrOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_matrOp)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable durataMinuti, int Original_numIntMtz, string Original_matrOp) { + return this.Update(Original_numIntMtz, Original_matrOp, durataMinuti, Original_numIntMtz, Original_matrOp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string matrOp, global::System.Nullable durataMinuti, int Original_numIntMtz, string Original_matrOp) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((matrOp == null)) { + throw new global::System.ArgumentNullException("matrOp"); + } + else { + command.Parameters[0].Value = ((string)(matrOp)); + } + if ((durataMinuti.HasValue == true)) { + command.Parameters[1].Value = ((int)(durataMinuti.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + command.Parameters[2].Value = ((int)(Original_numIntMtz)); + if ((Original_matrOp == null)) { + throw new global::System.ArgumentNullException("Original_matrOp"); + } + else { + command.Parameters[3].Value = ((string)(Original_matrOp)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_mtzProgExpTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgExpTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_mtzProgExp"; + tableMapping.ColumnMappings.Add("idxIntPro", "idxIntPro"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("inizio", "inizio"); + tableMapping.ColumnMappings.Add("codFrequenza", "codFrequenza"); + tableMapping.ColumnMappings.Add("cadenza", "cadenza"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("idxPriorita", "idxPriorita"); + tableMapping.ColumnMappings.Add("isFermo", "isFermo"); + tableMapping.ColumnMappings.Add("idxTipo", "idxTipo"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + tableMapping.ColumnMappings.Add("frequenza", "frequenza"); + tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita"); + tableMapping.ColumnMappings.Add("descrTipo", "descrTipo"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cad" + + "enza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina," + + " @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTip" + + "o)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codFrequenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cadenza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cadenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codFrequenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cadenza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cadenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxIntPro, idxMacchina, codMacchina, nomeMacchina, inizio, codFrequenz" + + "a, frequenza, cadenza, descrizione, idxPriorita, descrPriorita, isFermo, idxTipo" + + ", \r\n descrTipo\r\nFROM v_mtzProgExp"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.v_mtzProgExpDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_mtzProgExpDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_mtzProgExpDataTable dataTable = new DS_applicazione.v_mtzProgExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.v_mtzProgExpDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "v_mtzProgExp"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxIntPro) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxIntPro)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(global::System.Nullable idxMacchina, global::System.Nullable inizio, string codFrequenza, global::System.Nullable cadenza, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo) { + if ((idxMacchina.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxMacchina.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((inizio.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((codFrequenza == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(codFrequenza)); + } + if ((cadenza.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(cadenza.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(descrizione)); + } + if ((idxPriorita.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(idxPriorita.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(isFermo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((int)(idxTipo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable idxMacchina, global::System.Nullable inizio, string codFrequenza, global::System.Nullable cadenza, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo, int Original_idxIntPro) { + if ((idxMacchina.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxMacchina.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((inizio.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((codFrequenza == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(codFrequenza)); + } + if ((cadenza.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(cadenza.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(descrizione)); + } + if ((idxPriorita.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(idxPriorita.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(isFermo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(idxTipo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idxIntPro)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class MtzProgPendingTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgPendingTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "MtzProgPending"; + tableMapping.ColumnMappings.Add("idxPending", "idxPending"); + tableMapping.ColumnMappings.Add("idxIntPro", "idxIntPro"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("data", "data"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("idxPriorita", "idxPriorita"); + tableMapping.ColumnMappings.Add("isFermo", "isFermo"); + tableMapping.ColumnMappings.Add("idxTipo", "idxTipo"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[MtzProgPending] WHERE (([idxPending] = @Original_idxPending))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPending", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPending", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[MtzProgPending] ([idxIntPro], [idxMacchina], [data], [descrizi" + + "one], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxIntPro, @idxMacchina, @da" + + "ta, @descrizione, @idxPriorita, @isFermo, @idxTipo)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[MtzProgPending] SET [idxIntPro] = @idxIntPro, [idxMacchina] = @idxM" + + "acchina, [data] = @data, [descrizione] = @descrizione, [idxPriorita] = @idxPrior" + + "ita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxPending] = @Original" + + "_idxPending))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPending", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPending", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFerm" + + "o, idxTipo FROM dbo.MtzProgPending"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFerm" + + "o, idxTipo FROM dbo.MtzProgPending WHERE data < @dataScadenza"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataScadenza", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.MtzProgPendingDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.MtzProgPendingDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.MtzProgPendingDataTable dataTable = new DS_applicazione.MtzProgPendingDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.MtzProgPendingDataTable getByDataScad(global::System.Nullable dataScadenza) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((dataScadenza.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(dataScadenza.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + DS_applicazione.MtzProgPendingDataTable dataTable = new DS_applicazione.MtzProgPendingDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.MtzProgPendingDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "MtzProgPending"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxPending) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxPending)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int idxIntPro, global::System.Nullable idxMacchina, global::System.Nullable data, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxIntPro)); + if ((idxMacchina.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxMacchina.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((data.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(data.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(descrizione)); + } + if ((idxPriorita.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((int)(idxPriorita.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(isFermo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((int)(idxTipo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int idxIntPro, global::System.Nullable idxMacchina, global::System.Nullable data, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo, int Original_idxPending) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxIntPro)); + if ((idxMacchina.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxMacchina.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((data.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(data.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(descrizione)); + } + if ((idxPriorita.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(idxPriorita.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(isFermo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(idxTipo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_idxPending)); + 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(); + } + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class MtzProgrammataTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MtzProgrammataTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "MtzProgrammata"; + tableMapping.ColumnMappings.Add("idxIntPro", "idxIntPro"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("inizio", "inizio"); + tableMapping.ColumnMappings.Add("codFrequenza", "codFrequenza"); + tableMapping.ColumnMappings.Add("cadenza", "cadenza"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("idxPriorita", "idxPriorita"); + tableMapping.ColumnMappings.Add("isFermo", "isFermo"); + tableMapping.ColumnMappings.Add("idxTipo", "idxTipo"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cad" + + "enza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina," + + " @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTip" + + "o)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codFrequenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cadenza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cadenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codFrequenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cadenza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cadenza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 idxIntPro, idxMacchina, inizio, codFrequenza, cadenza, descrizione, idxPri" + + "orita, isFermo, idxTipo FROM dbo.MtzProgrammata"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = @"SELECT MtzProgrammata.idxIntPro, MtzProgrammata.idxMacchina, MtzProgrammata.inizio, MtzProgrammata.codFrequenza, MtzProgrammata.cadenza, + MtzProgrammata.descrizione, MtzProgrammata.idxPriorita, MtzProgrammata.isFermo, MtzProgrammata.idxTipo +FROM MtzProgrammata LEFT OUTER JOIN + MtzProgPending ON MtzProgrammata.idxIntPro = MtzProgPending.idxIntPro +WHERE (MtzProgPending.idxPending IS NULL)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.MtzProgrammataDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.MtzProgrammataDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.MtzProgrammataDataTable dataTable = new DS_applicazione.MtzProgrammataDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.MtzProgrammataDataTable getNotScheduled() { + this.Adapter.SelectCommand = this.CommandCollection[1]; + DS_applicazione.MtzProgrammataDataTable dataTable = new DS_applicazione.MtzProgrammataDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.MtzProgrammataDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "MtzProgrammata"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxIntPro) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxIntPro)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(global::System.Nullable idxMacchina, global::System.Nullable inizio, string codFrequenza, global::System.Nullable cadenza, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo) { + if ((idxMacchina.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxMacchina.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((inizio.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((codFrequenza == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(codFrequenza)); + } + if ((cadenza.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(cadenza.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(descrizione)); + } + if ((idxPriorita.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(idxPriorita.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(isFermo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((int)(idxTipo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable idxMacchina, global::System.Nullable inizio, string codFrequenza, global::System.Nullable cadenza, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo, int Original_idxIntPro) { + if ((idxMacchina.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxMacchina.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((inizio.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((codFrequenza == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(codFrequenza)); + } + if ((cadenza.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(cadenza.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(descrizione)); + } + if ((idxPriorita.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(idxPriorita.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(isFermo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(idxTipo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idxIntPro)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.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.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public CalendFesteFerieTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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))"; + 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.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)"; + 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))"; + 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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 data, descrizione FROM dbo.CalendFesteFerie"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT data, descrizione\r\nFROM CalendFesteFerie\r\nWHERE (data BETW" + + "EEN @inizio AND @fine)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "data", 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, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.CalendFesteFerieDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.CalendFesteFerieDataTable dataTable = new DS_applicazione.CalendFesteFerieDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_applicazione.CalendFesteFerieDataTable getByPeriodo(System.DateTime inizio, System.DateTime fine) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(inizio)); + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(fine)); + DS_applicazione.CalendFesteFerieDataTable dataTable = new DS_applicazione.CalendFesteFerieDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.CalendFesteFerieDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "CalendFesteFerie"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(System.DateTime Original_data) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_data)); + 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.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.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) { + 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)); + 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.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) { + return this.Update(Original_data, descrizione, Original_data); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class OreAperturaSettTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public OreAperturaSettTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "OreAperturaSett"; + tableMapping.ColumnMappings.Add("giorno", "giorno"); + tableMapping.ColumnMappings.Add("descrGiorno", "descrGiorno"); + tableMapping.ColumnMappings.Add("apertura", "apertura"); + 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].[OreAperturaSett] WHERE (([giorno] = @Original_giorno))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_giorno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "giorno", 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].[OreAperturaSett] ([giorno], [descrGiorno], [apertura]) VALUES " + + "(@giorno, @descrGiorno, @apertura)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@giorno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "giorno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrGiorno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrGiorno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@apertura", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 4, 2, "apertura", 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].[OreAperturaSett] SET [giorno] = @giorno, [descrGiorno] = @descrGior" + + "no, [apertura] = @apertura WHERE (([giorno] = @Original_giorno))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@giorno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "giorno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrGiorno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrGiorno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@apertura", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 4, 2, "apertura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_giorno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "giorno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 giorno, descrGiorno, apertura FROM dbo.OreAperturaSett"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT SUM(apertura) AS apertura FROM OreAperturaSett"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "UPDATE [dbo].[OreAperturaSett] SET [apertura] = @apertura WHERE (([giorno] = @Ori" + + "ginal_giorno))"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@apertura", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 4, 2, "apertura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_giorno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "giorno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.OreAperturaSettDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.OreAperturaSettDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.OreAperturaSettDataTable dataTable = new DS_applicazione.OreAperturaSettDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.OreAperturaSettDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "OreAperturaSett"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_giorno) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_giorno)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int giorno, string descrGiorno, global::System.Nullable apertura) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(giorno)); + if ((descrGiorno == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(descrGiorno)); + } + if ((apertura.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(apertura.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int giorno, string descrGiorno, global::System.Nullable apertura, int Original_giorno) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(giorno)); + if ((descrGiorno == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(descrGiorno)); + } + if ((apertura.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(apertura.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_giorno)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string descrGiorno, global::System.Nullable apertura, int Original_giorno) { + return this.Update(Original_giorno, descrGiorno, apertura, Original_giorno); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual global::System.Nullable oreAperturaSett() { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + object returnValue; + try { + returnValue = command.ExecuteScalar(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return new global::System.Nullable(); + } + else { + return new global::System.Nullable(((decimal)(returnValue))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int updateApertura(global::System.Nullable apertura, int Original_giorno) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((apertura.HasValue == true)) { + command.Parameters[0].Value = ((decimal)(apertura.Value)); + } + else { + command.Parameters[0].Value = global::System.DBNull.Value; + } + command.Parameters[1].Value = ((int)(Original_giorno)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class FiltroImpiantiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroImpiantiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "FiltroImpianti"; + tableMapping.ColumnMappings.Add("username", "username"); + tableMapping.ColumnMappings.Add("idxImpianto", "idxImpianto"); + 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].[FiltroImpianti] WHERE (([username] = @Original_username) AND (" + + "[idxImpianto] = @Original_idxImpianto))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", 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].[FiltroImpianti] ([username], [idxImpianto]) VALUES (@username," + + " @idxImpianto)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", 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].[FiltroImpianti] SET [username] = @username, [idxImpianto] = @idxImp" + + "ianto WHERE (([username] = @Original_username) AND ([idxImpianto] = @Original_id" + + "xImpianto))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 username, idxImpianto FROM dbo.FiltroImpianti"; + 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 = "DELETE FROM [dbo].[FiltroImpianti] WHERE ([username] = @Original_username)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.FiltroImpiantiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.FiltroImpiantiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.FiltroImpiantiDataTable dataTable = new DS_applicazione.FiltroImpiantiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.FiltroImpiantiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "FiltroImpianti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_username, int Original_idxImpianto) { + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_username)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxImpianto)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string username, int idxImpianto) { + if ((username == null)) { + throw new global::System.ArgumentNullException("username"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(username)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxImpianto)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string username, int idxImpianto, string Original_username, int Original_idxImpianto) { + if ((username == null)) { + throw new global::System.ArgumentNullException("username"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(username)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxImpianto)); + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_username)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxImpianto)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Original_username, int Original_idxImpianto) { + return this.Update(Original_username, Original_idxImpianto, Original_username, Original_idxImpianto); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int EmptyUserData(string Original_username) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + command.Parameters[0].Value = ((string)(Original_username)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class FiltroMacchineTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroMacchineTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "FiltroMacchine"; + tableMapping.ColumnMappings.Add("username", "username"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + 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].[FiltroMacchine] WHERE (([username] = @Original_username) AND (" + + "[idxMacchina] = @Original_idxMacchina))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[FiltroMacchine] ([username], [idxMacchina]) VALUES (@username," + + " @idxMacchina)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[FiltroMacchine] SET [username] = @username, [idxMacchina] = @idxMac" + + "china WHERE (([username] = @Original_username) AND ([idxMacchina] = @Original_id" + + "xMacchina))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 username, idxMacchina FROM dbo.FiltroMacchine"; + 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 = "DELETE FROM [dbo].[FiltroMacchine] WHERE ([username] = @Original_username)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.FiltroMacchineDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.FiltroMacchineDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.FiltroMacchineDataTable dataTable = new DS_applicazione.FiltroMacchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.FiltroMacchineDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "FiltroMacchine"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_username, int Original_idxMacchina) { + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_username)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxMacchina)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string username, int idxMacchina) { + if ((username == null)) { + throw new global::System.ArgumentNullException("username"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(username)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxMacchina)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string username, int idxMacchina, string Original_username, int Original_idxMacchina) { + if ((username == null)) { + throw new global::System.ArgumentNullException("username"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(username)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxMacchina)); + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_username)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxMacchina)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Original_username, int Original_idxMacchina) { + return this.Update(Original_username, Original_idxMacchina, Original_username, Original_idxMacchina); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int EmptyUserData(string Original_username) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + command.Parameters[0].Value = ((string)(Original_username)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class FiltroStatiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public FiltroStatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "FiltroStati"; + tableMapping.ColumnMappings.Add("username", "username"); + tableMapping.ColumnMappings.Add("idxStato", "idxStato"); + 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].[FiltroStati] WHERE (([username] = @Original_username) AND ([id" + + "xStato] = @Original_idxStato))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[FiltroStati] ([username], [idxStato]) VALUES (@username, @idxS" + + "tato)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[FiltroStati] SET [username] = @username, [idxStato] = @idxStato WHE" + + "RE (([username] = @Original_username) AND ([idxStato] = @Original_idxStato))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", 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("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", 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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 username, idxStato FROM dbo.FiltroStati"; + 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 = "DELETE FROM [dbo].[FiltroStati] WHERE ([username] = @Original_username)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.FiltroStatiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.FiltroStatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.FiltroStatiDataTable dataTable = new DS_applicazione.FiltroStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.FiltroStatiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "FiltroStati"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_username, int Original_idxStato) { + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_username)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxStato)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string username, int idxStato) { + if ((username == null)) { + throw new global::System.ArgumentNullException("username"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(username)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxStato)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string username, int idxStato, string Original_username, int Original_idxStato) { + if ((username == null)) { + throw new global::System.ArgumentNullException("username"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(username)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxStato)); + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_username)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxStato)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Original_username, int Original_idxStato) { + return this.Update(Original_username, Original_idxStato, Original_username, Original_idxStato); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int EmptyUserData(string Original_username) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_username == null)) { + throw new global::System.ArgumentNullException("Original_username"); + } + else { + command.Parameters[0].Value = ((string)(Original_username)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagCausaliTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCausaliTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagCausali"; + tableMapping.ColumnMappings.Add("idxCausale", "idxCausale"); + tableMapping.ColumnMappings.Add("idxFamMacchine", "idxFamMacchine"); + tableMapping.ColumnMappings.Add("descrCausale", "descrCausale"); + tableMapping.ColumnMappings.Add("attiva", "attiva"); + 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].[AnagCausali] WHERE (([idxCausale] = @Original_idxCausale))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCausale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxCausale", 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].[AnagCausali] ([idxFamMacchine], [descrCausale], [attiva]) VALU" + + "ES (@idxFamMacchine, @descrCausale, @attiva)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrCausale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrCausale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "attiva", 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].[AnagCausali] SET [idxFamMacchine] = @idxFamMacchine, [descrCausale]" + + " = @descrCausale, [attiva] = @attiva WHERE (([idxCausale] = @Original_idxCausale" + + "))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFamMacchine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFamMacchine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrCausale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrCausale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCausale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxCausale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 * FROM dbo.AnagCausali"; + 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 = "UPDATE AnagCausali\r\nSET descrCausale = @descrCausale, attiva = @a" + + "ttiva\r\nWHERE (idxCausale = @Original_idxCausale)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrCausale", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "descrCausale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attiva", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxCausale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagCausaliDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagCausaliDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagCausaliDataTable dataTable = new DS_applicazione.AnagCausaliDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagCausaliDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagCausali"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idxCausale) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxCausale)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int idxFamMacchine, string descrCausale, global::System.Nullable attiva) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxFamMacchine)); + if ((descrCausale == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(descrCausale)); + } + if ((attiva.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((bool)(attiva.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int idxFamMacchine, string descrCausale, global::System.Nullable attiva, int Original_idxCausale) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxFamMacchine)); + if ((descrCausale == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(descrCausale)); + } + if ((attiva.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((bool)(attiva.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxCausale)); + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string descrCausale, global::System.Nullable attiva, int Original_idxCausale) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((descrCausale == null)) { + command.Parameters[0].Value = global::System.DBNull.Value; + } + else { + command.Parameters[0].Value = ((string)(descrCausale)); + } + if ((attiva.HasValue == true)) { + command.Parameters[1].Value = ((bool)(attiva.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + command.Parameters[2].Value = ((int)(Original_idxCausale)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagrOperMtzTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagrOperMtzTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagrOperMtz"; + tableMapping.ColumnMappings.Add("matrOp", "matrOp"); + tableMapping.ColumnMappings.Add("Cognome", "Cognome"); + tableMapping.ColumnMappings.Add("Nome", "Nome"); + 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].[AnagrOperMtz] WHERE (([matrOp] = @Original_matrOp))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", 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].[AnagrOperMtz] ([matrOp], [Cognome], [Nome]) VALUES (@matrOp, @" + + "Cognome, @Nome)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[AnagrOperMtz] SET [matrOp] = @matrOp, [Cognome] = @Cognome, [Nome] " + + "= @Nome WHERE (([matrOp] = @Original_matrOp))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", 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("@Original_matrOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matrOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 matrOp, Cognome, Nome FROM dbo.AnagrOperMtz"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_applicazione.AnagrOperMtzDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.AnagrOperMtzDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.AnagrOperMtzDataTable dataTable = new DS_applicazione.AnagrOperMtzDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione.AnagrOperMtzDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagrOperMtz"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_matrOp) { + if ((Original_matrOp == null)) { + throw new global::System.ArgumentNullException("Original_matrOp"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_matrOp)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string matrOp, string Cognome, string Nome) { + if ((matrOp == null)) { + throw new global::System.ArgumentNullException("matrOp"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(matrOp)); + } + if ((Cognome == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Cognome)); + } + if ((Nome == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Nome)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string matrOp, string Cognome, string Nome, string Original_matrOp) { + if ((matrOp == null)) { + throw new global::System.ArgumentNullException("matrOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(matrOp)); + } + if ((Cognome == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Cognome)); + } + if ((Nome == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Nome)); + } + if ((Original_matrOp == null)) { + throw new global::System.ArgumentNullException("Original_matrOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_matrOp)); + } + 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Cognome, string Nome, string Original_matrOp) { + return this.Update(Original_matrOp, Cognome, Nome, Original_matrOp); + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.xsc b/Projects/WebGIM/GIM_data/DS_applicazione.xsc new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_applicazione.xsc @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.xsd b/Projects/WebGIM/GIM_data/DS_applicazione.xsd new file mode 100644 index 0000000..81d4c2a --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_applicazione.xsd @@ -0,0 +1,2211 @@ + + + + + + + + + + + + + + + DELETE FROM [dbo].[LogUpdateDb] WHERE (([Versione] = @Original_Versione)) + + + + + + + + INSERT INTO [dbo].[LogUpdateDb] ([Versione], [Data]) VALUES (@Versione, @Data) + + + + + + + + + SELECT Versione, Data FROM dbo.LogUpdateDb + + + + + + UPDATE [dbo].[LogUpdateDb] SET [Versione] = @Versione, [Data] = @Data WHERE (([Versione] = @Original_Versione)) + + + + + + + + + + + + + + + + + + SELECT MAX(Versione) as Versione FROM LogUpdateDb + + + + + + + + + + + + DELETE FROM [dbo].[AnagAmbitoGuasto] WHERE (([idxAmbito] = @Original_idxAmbito)) + + + + + + + + INSERT INTO [dbo].[AnagAmbitoGuasto] ([descrAmbitoGuasto]) VALUES (@descrAmbitoGuasto) + + + + + + + + SELECT idxAmbito, descrAmbitoGuasto FROM dbo.AnagAmbitoGuasto + + + + + + UPDATE [dbo].[AnagAmbitoGuasto] SET [descrAmbitoGuasto] = @descrAmbitoGuasto WHERE (([idxAmbito] = @Original_idxAmbito)) + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagAmbitoGuasto] WHERE (([idxAmbito] = @Original_idxAmbito)) + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagPriorita] WHERE (([idxPriorita] = @Original_idxPriorita)) + + + + + + + + INSERT INTO [dbo].[AnagPriorita] ([idxPriorita], [descrPriorita], [stile]) VALUES (@idxPriorita, @descrPriorita, @stile) + + + + + + + + + + SELECT * FROM dbo.AnagPriorita + + + + + + UPDATE [dbo].[AnagPriorita] SET [idxPriorita] = @idxPriorita, [descrPriorita] = @descrPriorita, [stile] = @stile WHERE (([idxPriorita] = @Original_idxPriorita)) + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagPriorita] WHERE (([idxPriorita] = @Original_idxPriorita)) + + + + + + + + + + SELECT * FROM dbo.AnagPriorita +where idxPriorita=@idxPriorita + + + + + + + + + + SELECT MAX(idxPriorita) as idxPriorita FROM AnagPriorita + + + + + + + + UPDATE AnagPriorita +SET idxPriorita = @idxPriorita, descrPriorita = @descrPriorita, stile = @stile +WHERE (idxPriorita = @Original_idxPriorita) + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagImpianti] WHERE (([idxImpianto] = @Original_idxImpianto)) + + + + + + + + INSERT INTO [dbo].[AnagImpianti] ([codImpianto], [nomeImpianto], [tipoImpianto], [funzDal], [funzAl]) VALUES (@codImpianto, @nomeImpianto, @tipoImpianto, @funzDal, @funzAl) + + + + + + + + + + + + SELECT idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl FROM dbo.AnagImpianti +ORDER BY codImpianto, nomeImpianto + + + + + + UPDATE [dbo].[AnagImpianti] SET [codImpianto] = @codImpianto, [nomeImpianto] = @nomeImpianto, [tipoImpianto] = @tipoImpianto, [funzDal] = @funzDal, [funzAl] = @funzAl WHERE (([idxImpianto] = @Original_idxImpianto)) + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagImpianti] WHERE (([idxImpianto] = @Original_idxImpianto)) + + + + + + + + + + dbo.sp_clonaImpianto + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagMacchine] WHERE (([idxMacchina] = @Original_idxMacchina)) + + + + + + + + INSERT INTO [dbo].[AnagMacchine] ([idxImpianto], [codMacchina], [nomeMacchina], [modello], [matricola], [anno], [kgPeso], [kwConsumo], [funzDal], [funzAl]) VALUES (@idxImpianto, @codMacchina, @nomeMacchina, @modello, @matricola, @anno, @kgPeso, @kwConsumo, @funzDal, @funzAl) + + + + + + + + + + + + + + + + + SELECT idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl, descrImpianto +FROM v_macchine + + + + + + UPDATE [dbo].[AnagMacchine] SET [idxImpianto] = @idxImpianto, [codMacchina] = @codMacchina, [nomeMacchina] = @nomeMacchina, [modello] = @modello, [matricola] = @matricola, [anno] = @anno, [kgPeso] = @kgPeso, [kwConsumo] = @kwConsumo, [funzDal] = @funzDal, [funzAl] = @funzAl WHERE (([idxMacchina] = @Original_idxMacchina)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagMacchine] WHERE (([idxMacchina] = @Original_idxMacchina)) + + + + + + + + + + SELECT idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl, descrImpianto +FROM v_macchine +where idxImpianto=@idxImpianto + + + + + + + + + + SELECT idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl, descrImpianto +FROM v_macchine +WHERE idxMacchina=@idxMacchina + + + + + + + + + + dbo.sp_clonaMacchina + + + + + + + + + + + dbo.sp_spostaMacchina + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Macchine2FamMacchine] WHERE (([idxMacchina] = @Original_idxMacchina) AND ([idxFamMacchine] = @Original_idxFamMacchine)) + + + + + + + + + INSERT INTO [dbo].[Macchine2FamMacchine] ([idxMacchina], [idxFamMacchine]) VALUES (@idxMacchina, @idxFamMacchine) + + + + + + + + + SELECT v_selFamMacc.* +FROM v_selFamMacc + + + + + + UPDATE [dbo].[Macchine2FamMacchine] SET [idxMacchina] = @idxMacchina, [idxFamMacchine] = @idxFamMacchine WHERE (([idxMacchina] = @Original_idxMacchina) AND ([idxFamMacchine] = @Original_idxFamMacchine)) + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Macchine2FamMacchine] WHERE (([idxMacchina] = @Original_idxMacchina) AND ([idxFamMacchine] = @Original_idxFamMacchine)) + + + + + + + + + + + SELECT idxFamMacchine, idxMacchina, famiglia, macchina +FROM v_selFamMacc +WHERE (idxFamMacchine = @idxFamMacchine) + + + + + + + + + + INSERT INTO [dbo].[Macchine2FamMacchine] ([idxMacchina], [idxFamMacchine]) VALUES (@idxMacchina, @idxFamMacchine) + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagFamMacchine] WHERE (([idxFamMacchine] = @Original_idxFamMacchine)) + + + + + + + + INSERT INTO [dbo].[AnagFamMacchine] ([nomeFamMacch]) VALUES (@nomeFamMacch) + + + + + + + + SELECT idxFamMacchine, nomeFamMacch +FROM AnagFamMacchine +ORDER BY nomeFamMacch + + + + + + UPDATE [dbo].[AnagFamMacchine] SET [nomeFamMacch] = @nomeFamMacch WHERE (([idxFamMacchine] = @Original_idxFamMacchine)) + + + + + + + + + + + + + + + + + + + + SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +ORDER BY numIntMtz DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +WHERE (numIntMtz = @numIntMtz) + + + + + + + + + + SELECT * +FROM v_intervExp +WHERE (idxCausale = @idxCausale) + + + + + + + + + + SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +where idxImpianto=@idxImpianto +ORDER BY numIntMtz DESC + + + + + + + + + + + SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +WHERE idxMacchina=@idxMacchina +ORDER BY numIntMtz DESC + + + + + + + + + + SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, + codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, + descrizioneIntervento, isPreventivabile, idxCausale, descrCausale +FROM v_intervExp +where richiesta between @inizio and @fine +ORDER BY numIntMtz DESC + + + + + + + + + + + dbo.sp_insRichiesta + + + + + + + + + + + + + + + + + + + + + + + + dbo.sp_setPresaInCarico + + + + + + + + + + + + dbo.sp_updateIntervento + + + + + + + + + + + + + + + + dbo.sp_updateInterventoFull + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagTipoGuasto] WHERE (([idxTipo] = @Original_idxTipo)) + + + + + + + + INSERT INTO [dbo].[AnagTipoGuasto] ([descrTipo]) VALUES (@descrTipo) + + + + + + + + SELECT idxTipo, descrTipo FROM dbo.AnagTipoGuasto + + + + + + UPDATE [dbo].[AnagTipoGuasto] SET [descrTipo] = @descrTipo WHERE (([idxTipo] = @Original_idxTipo)) + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagStati] WHERE (([idxStato] = @Original_idxStato)) + + + + + + + + INSERT INTO [dbo].[AnagStati] ([idxStato], [DescrStato], [stile]) VALUES (@idxStato, @DescrStato, @stile) + + + + + + + + + + SELECT idxStato, DescrStato, stile FROM dbo.AnagStati + + + + + + UPDATE [dbo].[AnagStati] SET [idxStato] = @idxStato, [DescrStato] = @DescrStato, [stile] = @stile WHERE (([idxStato] = @Original_idxStato)) + + + + + + + + + + + + + + + + + + + + SELECT idxStato, DescrStato, stile FROM dbo.AnagStati +where idxStato=@idxStato + + + + + + + + + + + + + + DELETE FROM [dbo].[InterventoOpMtz] WHERE (([numIntMtz] = @Original_numIntMtz) AND ([matrOp] = @Original_matrOp)) + + + + + + + + + INSERT INTO [dbo].[InterventoOpMtz] ([numIntMtz], [matrOp], [durataMinuti]) VALUES (@numIntMtz, @matrOp, @durataMinuti) + + + + + + + + + + SELECT numIntMtz, matrOp, durataMinuti FROM dbo.InterventoOpMtz + + + + + + UPDATE [dbo].[InterventoOpMtz] SET [numIntMtz] = @numIntMtz, [matrOp] = @matrOp, [durataMinuti] = @durataMinuti WHERE (([numIntMtz] = @Original_numIntMtz) AND ([matrOp] = @Original_matrOp)) + + + + + + + + + + + + + + + + + + + + + SELECT numIntMtz, matrOp, durataMinuti +FROM InterventoOpMtz +WHERE (numIntMtz = @numIntMtz) AND (matrOp = @matrOp) + + + + + + + + + + + SELECT numIntMtz, matrOp, durataMinuti FROM dbo.InterventoOpMtz +where numIntMtz=@numIntMtz + + + + + + + + + + UPDATE InterventoOpMtz +SET matrOp = @matrOp, durataMinuti = @durataMinuti +WHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_matrOp) + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro)) + + + + + + + + INSERT INTO [dbo].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cadenza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina, @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTipo) + + + + + + + + + + + + + + + SELECT idxIntPro, idxMacchina, codMacchina, nomeMacchina, inizio, codFrequenza, frequenza, cadenza, descrizione, idxPriorita, descrPriorita, isFermo, idxTipo, + descrTipo +FROM v_mtzProgExp + + + + + + UPDATE [dbo].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[MtzProgPending] WHERE (([idxPending] = @Original_idxPending)) + + + + + + + + INSERT INTO [dbo].[MtzProgPending] ([idxIntPro], [idxMacchina], [data], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxIntPro, @idxMacchina, @data, @descrizione, @idxPriorita, @isFermo, @idxTipo) + + + + + + + + + + + + + + SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFermo, idxTipo FROM dbo.MtzProgPending + + + + + + UPDATE [dbo].[MtzProgPending] SET [idxIntPro] = @idxIntPro, [idxMacchina] = @idxMacchina, [data] = @data, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxPending] = @Original_idxPending)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFermo, idxTipo FROM dbo.MtzProgPending WHERE data < @dataScadenza + + + + + + + + + + + + + + DELETE FROM [dbo].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro)) + + + + + + + + INSERT INTO [dbo].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cadenza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina, @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTipo) + + + + + + + + + + + + + + + SELECT idxIntPro, idxMacchina, inizio, codFrequenza, cadenza, descrizione, idxPriorita, isFermo, idxTipo FROM dbo.MtzProgrammata + + + + + + UPDATE [dbo].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT MtzProgrammata.idxIntPro, MtzProgrammata.idxMacchina, MtzProgrammata.inizio, MtzProgrammata.codFrequenza, MtzProgrammata.cadenza, + MtzProgrammata.descrizione, MtzProgrammata.idxPriorita, MtzProgrammata.isFermo, MtzProgrammata.idxTipo +FROM MtzProgrammata LEFT OUTER JOIN + MtzProgPending ON MtzProgrammata.idxIntPro = MtzProgPending.idxIntPro +WHERE (MtzProgPending.idxPending IS NULL) + + + + + + + + + + + + DELETE FROM [dbo].[CalendFesteFerie] WHERE (([data] = @Original_data)) + + + + + + + + INSERT INTO [dbo].[CalendFesteFerie] ([data], [descrizione]) VALUES (@data, @descrizione) + + + + + + + + + SELECT data, descrizione FROM dbo.CalendFesteFerie + + + + + + UPDATE [dbo].[CalendFesteFerie] SET [data] = @data, [descrizione] = @descrizione WHERE (([data] = @Original_data)) + + + + + + + + + + + + + + + + + + SELECT data, descrizione +FROM CalendFesteFerie +WHERE (data BETWEEN @inizio AND @fine) + + + + + + + + + + + + + + + DELETE FROM [dbo].[OreAperturaSett] WHERE (([giorno] = @Original_giorno)) + + + + + + + + INSERT INTO [dbo].[OreAperturaSett] ([giorno], [descrGiorno], [apertura]) VALUES (@giorno, @descrGiorno, @apertura) + + + + + + + + + + SELECT giorno, descrGiorno, apertura FROM dbo.OreAperturaSett + + + + + + UPDATE [dbo].[OreAperturaSett] SET [giorno] = @giorno, [descrGiorno] = @descrGiorno, [apertura] = @apertura WHERE (([giorno] = @Original_giorno)) + + + + + + + + + + + + + + + + + + + + SELECT SUM(apertura) AS apertura FROM OreAperturaSett + + + + + + + + UPDATE [dbo].[OreAperturaSett] SET [apertura] = @apertura WHERE (([giorno] = @Original_giorno)) + + + + + + + + + + + + + + + DELETE FROM [dbo].[FiltroImpianti] WHERE (([username] = @Original_username) AND ([idxImpianto] = @Original_idxImpianto)) + + + + + + + + + INSERT INTO [dbo].[FiltroImpianti] ([username], [idxImpianto]) VALUES (@username, @idxImpianto) + + + + + + + + + SELECT username, idxImpianto FROM dbo.FiltroImpianti + + + + + + UPDATE [dbo].[FiltroImpianti] SET [username] = @username, [idxImpianto] = @idxImpianto WHERE (([username] = @Original_username) AND ([idxImpianto] = @Original_idxImpianto)) + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[FiltroImpianti] WHERE ([username] = @Original_username) + + + + + + + + + + + + + + DELETE FROM [dbo].[FiltroMacchine] WHERE (([username] = @Original_username) AND ([idxMacchina] = @Original_idxMacchina)) + + + + + + + + + INSERT INTO [dbo].[FiltroMacchine] ([username], [idxMacchina]) VALUES (@username, @idxMacchina) + + + + + + + + + SELECT username, idxMacchina FROM dbo.FiltroMacchine + + + + + + UPDATE [dbo].[FiltroMacchine] SET [username] = @username, [idxMacchina] = @idxMacchina WHERE (([username] = @Original_username) AND ([idxMacchina] = @Original_idxMacchina)) + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[FiltroMacchine] WHERE ([username] = @Original_username) + + + + + + + + + + + + + + DELETE FROM [dbo].[FiltroStati] WHERE (([username] = @Original_username) AND ([idxStato] = @Original_idxStato)) + + + + + + + + + INSERT INTO [dbo].[FiltroStati] ([username], [idxStato]) VALUES (@username, @idxStato) + + + + + + + + + SELECT username, idxStato FROM dbo.FiltroStati + + + + + + UPDATE [dbo].[FiltroStati] SET [username] = @username, [idxStato] = @idxStato WHERE (([username] = @Original_username) AND ([idxStato] = @Original_idxStato)) + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[FiltroStati] WHERE ([username] = @Original_username) + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagCausali] WHERE (([idxCausale] = @Original_idxCausale)) + + + + + + + + INSERT INTO [dbo].[AnagCausali] ([idxFamMacchine], [descrCausale], [attiva]) VALUES (@idxFamMacchine, @descrCausale, @attiva) + + + + + + + + + + SELECT * FROM dbo.AnagCausali + + + + + + UPDATE [dbo].[AnagCausali] SET [idxFamMacchine] = @idxFamMacchine, [descrCausale] = @descrCausale, [attiva] = @attiva WHERE (([idxCausale] = @Original_idxCausale)) + + + + + + + + + + + + + + + + + + + + + UPDATE AnagCausali +SET descrCausale = @descrCausale, attiva = @attiva +WHERE (idxCausale = @Original_idxCausale) + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagrOperMtz] WHERE (([matrOp] = @Original_matrOp)) + + + + + + + + INSERT INTO [dbo].[AnagrOperMtz] ([matrOp], [Cognome], [Nome]) VALUES (@matrOp, @Cognome, @Nome) + + + + + + + + + + SELECT matrOp, Cognome, Nome FROM dbo.AnagrOperMtz + + + + + + UPDATE [dbo].[AnagrOperMtz] SET [matrOp] = @matrOp, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([matrOp] = @Original_matrOp)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.xss b/Projects/WebGIM/GIM_data/DS_applicazione.xss new file mode 100644 index 0000000..234901d --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_applicazione.xss @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1029 + 415 + + + 1116 + 415 + + + + + + + 1251 + 278 + + + 1251 + 309 + + + + + + + 1239 + 61 + + + 1239 + 88 + + + + + + + 511 + 142 + + + 511 + 217 + + + + + + + 810 + 429 + + + 732 + 429 + + + + + + + 453 + 437 + + + 484 + 437 + + + + + + + 353 + 260 + + + 484 + 260 + + + + + + + 631 + 560 + + + 631 + 599 + + + 793 + 599 + + + + + + + 1141 + 846 + + + 1117 + 846 + + + + + + + 1017 + 557 + + + 1017 + 665 + + + 1399 + 665 + + + + + + + 1362 + 445 + + + 1445 + 445 + + + 1445 + 290 + + + + + + + 922 + 178 + + + 922 + 129 + + + + + + + 1328 + -9 + + + 1433 + -9 + + + + + + + 754 + 712 + + + 793 + 712 + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_utility.Designer.cs b/Projects/WebGIM/GIM_data/DS_utility.Designer.cs new file mode 100644 index 0000000..637091c --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_utility.Designer.cs @@ -0,0 +1,9775 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GIM_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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_utility")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_utility : global::System.Data.DataSet { + + private v_selImpiantiDataTable tablev_selImpianti; + + private v_selMacchineDataTable tablev_selMacchine; + + private v_selPriorDataTable tablev_selPrior; + + private v_selAmbitiDataTable tablev_selAmbiti; + + private v_selCausaliMacchineDataTable tablev_selCausaliMacchine; + + private v_selTipoGuastoDataTable tablev_selTipoGuasto; + + private v_selSemaforiDataTable tablev_selSemafori; + + private v_selFreqDataTable tablev_selFreq; + + private v_selStatoDataTable tablev_selStato; + + private v_selPeriodiTradDataTable tablev_selPeriodiTrad; + + private v_elencoImpiantiMacchineDataTable tablev_elencoImpiantiMacchine; + + private v_elencoIntervFiltDataTable tablev_elencoIntervFilt; + + private sp_elencoIntMTBF_MTTRDataTable tablesp_elencoIntMTBF_MTTR; + + private v_selFamDataTable tablev_selFam; + + private v_selOperMtzDataTable tablev_selOperMtz; + + private v_mtzProgPendingExpDataTable tablev_mtzProgPendingExp; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public DS_utility() { + 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()] + protected DS_utility(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["v_selImpianti"] != null)) { + base.Tables.Add(new v_selImpiantiDataTable(ds.Tables["v_selImpianti"])); + } + if ((ds.Tables["v_selMacchine"] != null)) { + base.Tables.Add(new v_selMacchineDataTable(ds.Tables["v_selMacchine"])); + } + if ((ds.Tables["v_selPrior"] != null)) { + base.Tables.Add(new v_selPriorDataTable(ds.Tables["v_selPrior"])); + } + if ((ds.Tables["v_selAmbiti"] != null)) { + base.Tables.Add(new v_selAmbitiDataTable(ds.Tables["v_selAmbiti"])); + } + if ((ds.Tables["v_selCausaliMacchine"] != null)) { + base.Tables.Add(new v_selCausaliMacchineDataTable(ds.Tables["v_selCausaliMacchine"])); + } + if ((ds.Tables["v_selTipoGuasto"] != null)) { + base.Tables.Add(new v_selTipoGuastoDataTable(ds.Tables["v_selTipoGuasto"])); + } + if ((ds.Tables["v_selSemafori"] != null)) { + base.Tables.Add(new v_selSemaforiDataTable(ds.Tables["v_selSemafori"])); + } + if ((ds.Tables["v_selFreq"] != null)) { + base.Tables.Add(new v_selFreqDataTable(ds.Tables["v_selFreq"])); + } + if ((ds.Tables["v_selStato"] != null)) { + base.Tables.Add(new v_selStatoDataTable(ds.Tables["v_selStato"])); + } + if ((ds.Tables["v_selPeriodiTrad"] != null)) { + base.Tables.Add(new v_selPeriodiTradDataTable(ds.Tables["v_selPeriodiTrad"])); + } + if ((ds.Tables["v_elencoImpiantiMacchine"] != null)) { + base.Tables.Add(new v_elencoImpiantiMacchineDataTable(ds.Tables["v_elencoImpiantiMacchine"])); + } + if ((ds.Tables["v_elencoIntervFilt"] != null)) { + base.Tables.Add(new v_elencoIntervFiltDataTable(ds.Tables["v_elencoIntervFilt"])); + } + if ((ds.Tables["sp_elencoIntMTBF_MTTR"] != null)) { + base.Tables.Add(new sp_elencoIntMTBF_MTTRDataTable(ds.Tables["sp_elencoIntMTBF_MTTR"])); + } + if ((ds.Tables["v_selFam"] != null)) { + base.Tables.Add(new v_selFamDataTable(ds.Tables["v_selFam"])); + } + if ((ds.Tables["v_selOperMtz"] != null)) { + base.Tables.Add(new v_selOperMtzDataTable(ds.Tables["v_selOperMtz"])); + } + if ((ds.Tables["v_mtzProgPendingExp"] != null)) { + base.Tables.Add(new v_mtzProgPendingExpDataTable(ds.Tables["v_mtzProgPendingExp"])); + } + 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.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selImpiantiDataTable v_selImpianti { + get { + return this.tablev_selImpianti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selMacchineDataTable v_selMacchine { + get { + return this.tablev_selMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selPriorDataTable v_selPrior { + get { + return this.tablev_selPrior; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selAmbitiDataTable v_selAmbiti { + get { + return this.tablev_selAmbiti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selCausaliMacchineDataTable v_selCausaliMacchine { + get { + return this.tablev_selCausaliMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selTipoGuastoDataTable v_selTipoGuasto { + get { + return this.tablev_selTipoGuasto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selSemaforiDataTable v_selSemafori { + get { + return this.tablev_selSemafori; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selFreqDataTable v_selFreq { + get { + return this.tablev_selFreq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selStatoDataTable v_selStato { + get { + return this.tablev_selStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selPeriodiTradDataTable v_selPeriodiTrad { + get { + return this.tablev_selPeriodiTrad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_elencoImpiantiMacchineDataTable v_elencoImpiantiMacchine { + get { + return this.tablev_elencoImpiantiMacchine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_elencoIntervFiltDataTable v_elencoIntervFilt { + get { + return this.tablev_elencoIntervFilt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public sp_elencoIntMTBF_MTTRDataTable sp_elencoIntMTBF_MTTR { + get { + return this.tablesp_elencoIntMTBF_MTTR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selFamDataTable v_selFam { + get { + return this.tablev_selFam; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selOperMtzDataTable v_selOperMtz { + get { + return this.tablev_selOperMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_mtzProgPendingExpDataTable v_mtzProgPendingExp { + get { + return this.tablev_mtzProgPendingExp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataSet Clone() { + DS_utility cln = ((DS_utility)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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["v_selImpianti"] != null)) { + base.Tables.Add(new v_selImpiantiDataTable(ds.Tables["v_selImpianti"])); + } + if ((ds.Tables["v_selMacchine"] != null)) { + base.Tables.Add(new v_selMacchineDataTable(ds.Tables["v_selMacchine"])); + } + if ((ds.Tables["v_selPrior"] != null)) { + base.Tables.Add(new v_selPriorDataTable(ds.Tables["v_selPrior"])); + } + if ((ds.Tables["v_selAmbiti"] != null)) { + base.Tables.Add(new v_selAmbitiDataTable(ds.Tables["v_selAmbiti"])); + } + if ((ds.Tables["v_selCausaliMacchine"] != null)) { + base.Tables.Add(new v_selCausaliMacchineDataTable(ds.Tables["v_selCausaliMacchine"])); + } + if ((ds.Tables["v_selTipoGuasto"] != null)) { + base.Tables.Add(new v_selTipoGuastoDataTable(ds.Tables["v_selTipoGuasto"])); + } + if ((ds.Tables["v_selSemafori"] != null)) { + base.Tables.Add(new v_selSemaforiDataTable(ds.Tables["v_selSemafori"])); + } + if ((ds.Tables["v_selFreq"] != null)) { + base.Tables.Add(new v_selFreqDataTable(ds.Tables["v_selFreq"])); + } + if ((ds.Tables["v_selStato"] != null)) { + base.Tables.Add(new v_selStatoDataTable(ds.Tables["v_selStato"])); + } + if ((ds.Tables["v_selPeriodiTrad"] != null)) { + base.Tables.Add(new v_selPeriodiTradDataTable(ds.Tables["v_selPeriodiTrad"])); + } + if ((ds.Tables["v_elencoImpiantiMacchine"] != null)) { + base.Tables.Add(new v_elencoImpiantiMacchineDataTable(ds.Tables["v_elencoImpiantiMacchine"])); + } + if ((ds.Tables["v_elencoIntervFilt"] != null)) { + base.Tables.Add(new v_elencoIntervFiltDataTable(ds.Tables["v_elencoIntervFilt"])); + } + if ((ds.Tables["sp_elencoIntMTBF_MTTR"] != null)) { + base.Tables.Add(new sp_elencoIntMTBF_MTTRDataTable(ds.Tables["sp_elencoIntMTBF_MTTR"])); + } + if ((ds.Tables["v_selFam"] != null)) { + base.Tables.Add(new v_selFamDataTable(ds.Tables["v_selFam"])); + } + if ((ds.Tables["v_selOperMtz"] != null)) { + base.Tables.Add(new v_selOperMtzDataTable(ds.Tables["v_selOperMtz"])); + } + if ((ds.Tables["v_mtzProgPendingExp"] != null)) { + base.Tables.Add(new v_mtzProgPendingExpDataTable(ds.Tables["v_mtzProgPendingExp"])); + } + 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()] + 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()] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars(bool initTable) { + this.tablev_selImpianti = ((v_selImpiantiDataTable)(base.Tables["v_selImpianti"])); + if ((initTable == true)) { + if ((this.tablev_selImpianti != null)) { + this.tablev_selImpianti.InitVars(); + } + } + this.tablev_selMacchine = ((v_selMacchineDataTable)(base.Tables["v_selMacchine"])); + if ((initTable == true)) { + if ((this.tablev_selMacchine != null)) { + this.tablev_selMacchine.InitVars(); + } + } + this.tablev_selPrior = ((v_selPriorDataTable)(base.Tables["v_selPrior"])); + if ((initTable == true)) { + if ((this.tablev_selPrior != null)) { + this.tablev_selPrior.InitVars(); + } + } + this.tablev_selAmbiti = ((v_selAmbitiDataTable)(base.Tables["v_selAmbiti"])); + if ((initTable == true)) { + if ((this.tablev_selAmbiti != null)) { + this.tablev_selAmbiti.InitVars(); + } + } + this.tablev_selCausaliMacchine = ((v_selCausaliMacchineDataTable)(base.Tables["v_selCausaliMacchine"])); + if ((initTable == true)) { + if ((this.tablev_selCausaliMacchine != null)) { + this.tablev_selCausaliMacchine.InitVars(); + } + } + this.tablev_selTipoGuasto = ((v_selTipoGuastoDataTable)(base.Tables["v_selTipoGuasto"])); + if ((initTable == true)) { + if ((this.tablev_selTipoGuasto != null)) { + this.tablev_selTipoGuasto.InitVars(); + } + } + this.tablev_selSemafori = ((v_selSemaforiDataTable)(base.Tables["v_selSemafori"])); + if ((initTable == true)) { + if ((this.tablev_selSemafori != null)) { + this.tablev_selSemafori.InitVars(); + } + } + this.tablev_selFreq = ((v_selFreqDataTable)(base.Tables["v_selFreq"])); + if ((initTable == true)) { + if ((this.tablev_selFreq != null)) { + this.tablev_selFreq.InitVars(); + } + } + this.tablev_selStato = ((v_selStatoDataTable)(base.Tables["v_selStato"])); + if ((initTable == true)) { + if ((this.tablev_selStato != null)) { + this.tablev_selStato.InitVars(); + } + } + this.tablev_selPeriodiTrad = ((v_selPeriodiTradDataTable)(base.Tables["v_selPeriodiTrad"])); + if ((initTable == true)) { + if ((this.tablev_selPeriodiTrad != null)) { + this.tablev_selPeriodiTrad.InitVars(); + } + } + this.tablev_elencoImpiantiMacchine = ((v_elencoImpiantiMacchineDataTable)(base.Tables["v_elencoImpiantiMacchine"])); + if ((initTable == true)) { + if ((this.tablev_elencoImpiantiMacchine != null)) { + this.tablev_elencoImpiantiMacchine.InitVars(); + } + } + this.tablev_elencoIntervFilt = ((v_elencoIntervFiltDataTable)(base.Tables["v_elencoIntervFilt"])); + if ((initTable == true)) { + if ((this.tablev_elencoIntervFilt != null)) { + this.tablev_elencoIntervFilt.InitVars(); + } + } + this.tablesp_elencoIntMTBF_MTTR = ((sp_elencoIntMTBF_MTTRDataTable)(base.Tables["sp_elencoIntMTBF_MTTR"])); + if ((initTable == true)) { + if ((this.tablesp_elencoIntMTBF_MTTR != null)) { + this.tablesp_elencoIntMTBF_MTTR.InitVars(); + } + } + this.tablev_selFam = ((v_selFamDataTable)(base.Tables["v_selFam"])); + if ((initTable == true)) { + if ((this.tablev_selFam != null)) { + this.tablev_selFam.InitVars(); + } + } + this.tablev_selOperMtz = ((v_selOperMtzDataTable)(base.Tables["v_selOperMtz"])); + if ((initTable == true)) { + if ((this.tablev_selOperMtz != null)) { + this.tablev_selOperMtz.InitVars(); + } + } + this.tablev_mtzProgPendingExp = ((v_mtzProgPendingExpDataTable)(base.Tables["v_mtzProgPendingExp"])); + if ((initTable == true)) { + if ((this.tablev_mtzProgPendingExp != null)) { + this.tablev_mtzProgPendingExp.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.DataSetName = "DS_utility"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_utility.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tablev_selImpianti = new v_selImpiantiDataTable(); + base.Tables.Add(this.tablev_selImpianti); + this.tablev_selMacchine = new v_selMacchineDataTable(); + base.Tables.Add(this.tablev_selMacchine); + this.tablev_selPrior = new v_selPriorDataTable(); + base.Tables.Add(this.tablev_selPrior); + this.tablev_selAmbiti = new v_selAmbitiDataTable(); + base.Tables.Add(this.tablev_selAmbiti); + this.tablev_selCausaliMacchine = new v_selCausaliMacchineDataTable(); + base.Tables.Add(this.tablev_selCausaliMacchine); + this.tablev_selTipoGuasto = new v_selTipoGuastoDataTable(); + base.Tables.Add(this.tablev_selTipoGuasto); + this.tablev_selSemafori = new v_selSemaforiDataTable(); + base.Tables.Add(this.tablev_selSemafori); + this.tablev_selFreq = new v_selFreqDataTable(); + base.Tables.Add(this.tablev_selFreq); + this.tablev_selStato = new v_selStatoDataTable(); + base.Tables.Add(this.tablev_selStato); + this.tablev_selPeriodiTrad = new v_selPeriodiTradDataTable(); + base.Tables.Add(this.tablev_selPeriodiTrad); + this.tablev_elencoImpiantiMacchine = new v_elencoImpiantiMacchineDataTable(); + base.Tables.Add(this.tablev_elencoImpiantiMacchine); + this.tablev_elencoIntervFilt = new v_elencoIntervFiltDataTable(); + base.Tables.Add(this.tablev_elencoIntervFilt); + this.tablesp_elencoIntMTBF_MTTR = new sp_elencoIntMTBF_MTTRDataTable(); + base.Tables.Add(this.tablesp_elencoIntMTBF_MTTR); + this.tablev_selFam = new v_selFamDataTable(); + base.Tables.Add(this.tablev_selFam); + this.tablev_selOperMtz = new v_selOperMtzDataTable(); + base.Tables.Add(this.tablev_selOperMtz); + this.tablev_mtzProgPendingExp = new v_mtzProgPendingExpDataTable(); + base.Tables.Add(this.tablev_mtzProgPendingExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selImpianti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selMacchine() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selPrior() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selAmbiti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selCausaliMacchine() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selTipoGuasto() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selSemafori() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selFreq() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selStato() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selPeriodiTrad() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_elencoImpiantiMacchine() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_elencoIntervFilt() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializesp_elencoIntMTBF_MTTR() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selFam() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_selOperMtz() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_mtzProgPendingExp() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_utility ds = new DS_utility(); + 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; + } + + public delegate void v_selImpiantiRowChangeEventHandler(object sender, v_selImpiantiRowChangeEvent e); + + public delegate void v_selMacchineRowChangeEventHandler(object sender, v_selMacchineRowChangeEvent e); + + public delegate void v_selPriorRowChangeEventHandler(object sender, v_selPriorRowChangeEvent e); + + public delegate void v_selAmbitiRowChangeEventHandler(object sender, v_selAmbitiRowChangeEvent e); + + public delegate void v_selCausaliMacchineRowChangeEventHandler(object sender, v_selCausaliMacchineRowChangeEvent e); + + public delegate void v_selTipoGuastoRowChangeEventHandler(object sender, v_selTipoGuastoRowChangeEvent e); + + public delegate void v_selSemaforiRowChangeEventHandler(object sender, v_selSemaforiRowChangeEvent e); + + public delegate void v_selFreqRowChangeEventHandler(object sender, v_selFreqRowChangeEvent e); + + public delegate void v_selStatoRowChangeEventHandler(object sender, v_selStatoRowChangeEvent e); + + public delegate void v_selPeriodiTradRowChangeEventHandler(object sender, v_selPeriodiTradRowChangeEvent e); + + public delegate void v_elencoImpiantiMacchineRowChangeEventHandler(object sender, v_elencoImpiantiMacchineRowChangeEvent e); + + public delegate void v_elencoIntervFiltRowChangeEventHandler(object sender, v_elencoIntervFiltRowChangeEvent e); + + public delegate void sp_elencoIntMTBF_MTTRRowChangeEventHandler(object sender, sp_elencoIntMTBF_MTTRRowChangeEvent e); + + public delegate void v_selFamRowChangeEventHandler(object sender, v_selFamRowChangeEvent e); + + public delegate void v_selOperMtzRowChangeEventHandler(object sender, v_selOperMtzRowChangeEvent e); + + public delegate void v_mtzProgPendingExpRowChangeEventHandler(object sender, v_mtzProgPendingExpRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selImpiantiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiDataTable() { + this.TableName = "v_selImpianti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selImpiantiDataTable(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()] + protected v_selImpiantiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiRow this[int index] { + get { + return ((v_selImpiantiRow)(this.Rows[index])); + } + } + + public event v_selImpiantiRowChangeEventHandler v_selImpiantiRowChanging; + + public event v_selImpiantiRowChangeEventHandler v_selImpiantiRowChanged; + + public event v_selImpiantiRowChangeEventHandler v_selImpiantiRowDeleting; + + public event v_selImpiantiRowChangeEventHandler v_selImpiantiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selImpiantiRow(v_selImpiantiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiRow Addv_selImpiantiRow(string label) { + v_selImpiantiRow rowv_selImpiantiRow = ((v_selImpiantiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + label}; + rowv_selImpiantiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selImpiantiRow); + return rowv_selImpiantiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiRow FindByvalue(int value) { + return ((v_selImpiantiRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selImpiantiDataTable cln = ((v_selImpiantiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selImpiantiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AutoIncrement = true; + this.columnvalue.AutoIncrementSeed = -1; + this.columnvalue.AutoIncrementStep = -1; + this.columnvalue.AllowDBNull = false; + this.columnvalue.ReadOnly = true; + this.columnvalue.Unique = true; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 156; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiRow Newv_selImpiantiRow() { + return ((v_selImpiantiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selImpiantiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selImpiantiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selImpiantiRowChanged != null)) { + this.v_selImpiantiRowChanged(this, new v_selImpiantiRowChangeEvent(((v_selImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selImpiantiRowChanging != null)) { + this.v_selImpiantiRowChanging(this, new v_selImpiantiRowChangeEvent(((v_selImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selImpiantiRowDeleted != null)) { + this.v_selImpiantiRowDeleted(this, new v_selImpiantiRowChangeEvent(((v_selImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selImpiantiRowDeleting != null)) { + this.v_selImpiantiRowDeleting(this, new v_selImpiantiRowChangeEvent(((v_selImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selImpiantiRow(v_selImpiantiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selImpiantiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selMacchineDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineDataTable() { + this.TableName = "v_selMacchine"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selMacchineDataTable(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()] + protected v_selMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineRow this[int index] { + get { + return ((v_selMacchineRow)(this.Rows[index])); + } + } + + public event v_selMacchineRowChangeEventHandler v_selMacchineRowChanging; + + public event v_selMacchineRowChangeEventHandler v_selMacchineRowChanged; + + public event v_selMacchineRowChangeEventHandler v_selMacchineRowDeleting; + + public event v_selMacchineRowChangeEventHandler v_selMacchineRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selMacchineRow(v_selMacchineRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineRow Addv_selMacchineRow(string label, int conditio) { + v_selMacchineRow rowv_selMacchineRow = ((v_selMacchineRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + label, + conditio}; + rowv_selMacchineRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selMacchineRow); + return rowv_selMacchineRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineRow FindByvalue(int value) { + return ((v_selMacchineRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selMacchineDataTable cln = ((v_selMacchineDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selMacchineDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AutoIncrement = true; + this.columnvalue.AutoIncrementSeed = -1; + this.columnvalue.AutoIncrementStep = -1; + this.columnvalue.AllowDBNull = false; + this.columnvalue.ReadOnly = true; + this.columnvalue.Unique = true; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 213; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineRow Newv_selMacchineRow() { + return ((v_selMacchineRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selMacchineRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selMacchineRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selMacchineRowChanged != null)) { + this.v_selMacchineRowChanged(this, new v_selMacchineRowChangeEvent(((v_selMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selMacchineRowChanging != null)) { + this.v_selMacchineRowChanging(this, new v_selMacchineRowChangeEvent(((v_selMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selMacchineRowDeleted != null)) { + this.v_selMacchineRowDeleted(this, new v_selMacchineRowChangeEvent(((v_selMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selMacchineRowDeleting != null)) { + this.v_selMacchineRowDeleting(this, new v_selMacchineRowChangeEvent(((v_selMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selMacchineRow(v_selMacchineRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selMacchineDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selPriorDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorDataTable() { + this.TableName = "v_selPrior"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selPriorDataTable(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()] + protected v_selPriorDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorRow this[int index] { + get { + return ((v_selPriorRow)(this.Rows[index])); + } + } + + public event v_selPriorRowChangeEventHandler v_selPriorRowChanging; + + public event v_selPriorRowChangeEventHandler v_selPriorRowChanged; + + public event v_selPriorRowChangeEventHandler v_selPriorRowDeleting; + + public event v_selPriorRowChangeEventHandler v_selPriorRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selPriorRow(v_selPriorRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorRow Addv_selPriorRow(int value, string label) { + v_selPriorRow rowv_selPriorRow = ((v_selPriorRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selPriorRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selPriorRow); + return rowv_selPriorRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorRow FindByvalue(int value) { + return ((v_selPriorRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selPriorDataTable cln = ((v_selPriorDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selPriorDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 57; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorRow Newv_selPriorRow() { + return ((v_selPriorRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selPriorRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selPriorRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selPriorRowChanged != null)) { + this.v_selPriorRowChanged(this, new v_selPriorRowChangeEvent(((v_selPriorRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selPriorRowChanging != null)) { + this.v_selPriorRowChanging(this, new v_selPriorRowChangeEvent(((v_selPriorRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selPriorRowDeleted != null)) { + this.v_selPriorRowDeleted(this, new v_selPriorRowChangeEvent(((v_selPriorRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selPriorRowDeleting != null)) { + this.v_selPriorRowDeleting(this, new v_selPriorRowChangeEvent(((v_selPriorRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selPriorRow(v_selPriorRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selPriorDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selAmbitiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiDataTable() { + this.TableName = "v_selAmbiti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selAmbitiDataTable(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()] + protected v_selAmbitiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiRow this[int index] { + get { + return ((v_selAmbitiRow)(this.Rows[index])); + } + } + + public event v_selAmbitiRowChangeEventHandler v_selAmbitiRowChanging; + + public event v_selAmbitiRowChangeEventHandler v_selAmbitiRowChanged; + + public event v_selAmbitiRowChangeEventHandler v_selAmbitiRowDeleting; + + public event v_selAmbitiRowChangeEventHandler v_selAmbitiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selAmbitiRow(v_selAmbitiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiRow Addv_selAmbitiRow(string label) { + v_selAmbitiRow rowv_selAmbitiRow = ((v_selAmbitiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + label}; + rowv_selAmbitiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selAmbitiRow); + return rowv_selAmbitiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiRow FindByvalue(int value) { + return ((v_selAmbitiRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selAmbitiDataTable cln = ((v_selAmbitiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selAmbitiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AutoIncrement = true; + this.columnvalue.AutoIncrementSeed = -1; + this.columnvalue.AutoIncrementStep = -1; + this.columnvalue.AllowDBNull = false; + this.columnvalue.ReadOnly = true; + this.columnvalue.Unique = true; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiRow Newv_selAmbitiRow() { + return ((v_selAmbitiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selAmbitiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selAmbitiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selAmbitiRowChanged != null)) { + this.v_selAmbitiRowChanged(this, new v_selAmbitiRowChangeEvent(((v_selAmbitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selAmbitiRowChanging != null)) { + this.v_selAmbitiRowChanging(this, new v_selAmbitiRowChangeEvent(((v_selAmbitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selAmbitiRowDeleted != null)) { + this.v_selAmbitiRowDeleted(this, new v_selAmbitiRowChangeEvent(((v_selAmbitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selAmbitiRowDeleting != null)) { + this.v_selAmbitiRowDeleting(this, new v_selAmbitiRowChangeEvent(((v_selAmbitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selAmbitiRow(v_selAmbitiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selAmbitiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selCausaliMacchineDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selCausaliMacchineDataTable() { + this.TableName = "v_selCausaliMacchine"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selCausaliMacchineDataTable(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()] + protected v_selCausaliMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selCausaliMacchineRow this[int index] { + get { + return ((v_selCausaliMacchineRow)(this.Rows[index])); + } + } + + public event v_selCausaliMacchineRowChangeEventHandler v_selCausaliMacchineRowChanging; + + public event v_selCausaliMacchineRowChangeEventHandler v_selCausaliMacchineRowChanged; + + public event v_selCausaliMacchineRowChangeEventHandler v_selCausaliMacchineRowDeleting; + + public event v_selCausaliMacchineRowChangeEventHandler v_selCausaliMacchineRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selCausaliMacchineRow(v_selCausaliMacchineRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selCausaliMacchineRow Addv_selCausaliMacchineRow(int value, string label, int conditio) { + v_selCausaliMacchineRow rowv_selCausaliMacchineRow = ((v_selCausaliMacchineRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selCausaliMacchineRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selCausaliMacchineRow); + return rowv_selCausaliMacchineRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selCausaliMacchineDataTable cln = ((v_selCausaliMacchineDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selCausaliMacchineDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.columnvalue.AllowDBNull = false; + this.columnlabel.MaxLength = 50; + this.columnconditio.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selCausaliMacchineRow Newv_selCausaliMacchineRow() { + return ((v_selCausaliMacchineRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selCausaliMacchineRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selCausaliMacchineRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selCausaliMacchineRowChanged != null)) { + this.v_selCausaliMacchineRowChanged(this, new v_selCausaliMacchineRowChangeEvent(((v_selCausaliMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selCausaliMacchineRowChanging != null)) { + this.v_selCausaliMacchineRowChanging(this, new v_selCausaliMacchineRowChangeEvent(((v_selCausaliMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selCausaliMacchineRowDeleted != null)) { + this.v_selCausaliMacchineRowDeleted(this, new v_selCausaliMacchineRowChangeEvent(((v_selCausaliMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selCausaliMacchineRowDeleting != null)) { + this.v_selCausaliMacchineRowDeleting(this, new v_selCausaliMacchineRowChangeEvent(((v_selCausaliMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selCausaliMacchineRow(v_selCausaliMacchineRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selCausaliMacchineDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selTipoGuastoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoDataTable() { + this.TableName = "v_selTipoGuasto"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selTipoGuastoDataTable(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()] + protected v_selTipoGuastoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoRow this[int index] { + get { + return ((v_selTipoGuastoRow)(this.Rows[index])); + } + } + + public event v_selTipoGuastoRowChangeEventHandler v_selTipoGuastoRowChanging; + + public event v_selTipoGuastoRowChangeEventHandler v_selTipoGuastoRowChanged; + + public event v_selTipoGuastoRowChangeEventHandler v_selTipoGuastoRowDeleting; + + public event v_selTipoGuastoRowChangeEventHandler v_selTipoGuastoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selTipoGuastoRow(v_selTipoGuastoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoRow Addv_selTipoGuastoRow(string label) { + v_selTipoGuastoRow rowv_selTipoGuastoRow = ((v_selTipoGuastoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + label}; + rowv_selTipoGuastoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selTipoGuastoRow); + return rowv_selTipoGuastoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoRow FindByvalue(int value) { + return ((v_selTipoGuastoRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selTipoGuastoDataTable cln = ((v_selTipoGuastoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selTipoGuastoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AutoIncrement = true; + this.columnvalue.AutoIncrementSeed = -1; + this.columnvalue.AutoIncrementStep = -1; + this.columnvalue.AllowDBNull = false; + this.columnvalue.ReadOnly = true; + this.columnvalue.Unique = true; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoRow Newv_selTipoGuastoRow() { + return ((v_selTipoGuastoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selTipoGuastoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selTipoGuastoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selTipoGuastoRowChanged != null)) { + this.v_selTipoGuastoRowChanged(this, new v_selTipoGuastoRowChangeEvent(((v_selTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selTipoGuastoRowChanging != null)) { + this.v_selTipoGuastoRowChanging(this, new v_selTipoGuastoRowChangeEvent(((v_selTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selTipoGuastoRowDeleted != null)) { + this.v_selTipoGuastoRowDeleted(this, new v_selTipoGuastoRowChangeEvent(((v_selTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selTipoGuastoRowDeleting != null)) { + this.v_selTipoGuastoRowDeleting(this, new v_selTipoGuastoRowChangeEvent(((v_selTipoGuastoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selTipoGuastoRow(v_selTipoGuastoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selTipoGuastoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selSemaforiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiDataTable() { + this.TableName = "v_selSemafori"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selSemaforiDataTable(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()] + protected v_selSemaforiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiRow this[int index] { + get { + return ((v_selSemaforiRow)(this.Rows[index])); + } + } + + public event v_selSemaforiRowChangeEventHandler v_selSemaforiRowChanging; + + public event v_selSemaforiRowChangeEventHandler v_selSemaforiRowChanged; + + public event v_selSemaforiRowChangeEventHandler v_selSemaforiRowDeleting; + + public event v_selSemaforiRowChangeEventHandler v_selSemaforiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selSemaforiRow(v_selSemaforiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiRow Addv_selSemaforiRow(string value, string label) { + v_selSemaforiRow rowv_selSemaforiRow = ((v_selSemaforiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selSemaforiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selSemaforiRow); + return rowv_selSemaforiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiRow FindByvalue(string value) { + return ((v_selSemaforiRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selSemaforiDataTable cln = ((v_selSemaforiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selSemaforiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiRow Newv_selSemaforiRow() { + return ((v_selSemaforiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selSemaforiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selSemaforiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selSemaforiRowChanged != null)) { + this.v_selSemaforiRowChanged(this, new v_selSemaforiRowChangeEvent(((v_selSemaforiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selSemaforiRowChanging != null)) { + this.v_selSemaforiRowChanging(this, new v_selSemaforiRowChangeEvent(((v_selSemaforiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selSemaforiRowDeleted != null)) { + this.v_selSemaforiRowDeleted(this, new v_selSemaforiRowChangeEvent(((v_selSemaforiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selSemaforiRowDeleting != null)) { + this.v_selSemaforiRowDeleting(this, new v_selSemaforiRowChangeEvent(((v_selSemaforiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selSemaforiRow(v_selSemaforiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selSemaforiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selFreqDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqDataTable() { + this.TableName = "v_selFreq"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selFreqDataTable(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()] + protected v_selFreqDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqRow this[int index] { + get { + return ((v_selFreqRow)(this.Rows[index])); + } + } + + public event v_selFreqRowChangeEventHandler v_selFreqRowChanging; + + public event v_selFreqRowChangeEventHandler v_selFreqRowChanged; + + public event v_selFreqRowChangeEventHandler v_selFreqRowDeleting; + + public event v_selFreqRowChangeEventHandler v_selFreqRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selFreqRow(v_selFreqRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqRow Addv_selFreqRow(string value, string label) { + v_selFreqRow rowv_selFreqRow = ((v_selFreqRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selFreqRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selFreqRow); + return rowv_selFreqRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqRow FindByvalue(string value) { + return ((v_selFreqRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selFreqDataTable cln = ((v_selFreqDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selFreqDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 2; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqRow Newv_selFreqRow() { + return ((v_selFreqRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selFreqRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selFreqRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selFreqRowChanged != null)) { + this.v_selFreqRowChanged(this, new v_selFreqRowChangeEvent(((v_selFreqRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selFreqRowChanging != null)) { + this.v_selFreqRowChanging(this, new v_selFreqRowChangeEvent(((v_selFreqRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selFreqRowDeleted != null)) { + this.v_selFreqRowDeleted(this, new v_selFreqRowChangeEvent(((v_selFreqRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selFreqRowDeleting != null)) { + this.v_selFreqRowDeleting(this, new v_selFreqRowChangeEvent(((v_selFreqRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selFreqRow(v_selFreqRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selFreqDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selStatoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoDataTable() { + this.TableName = "v_selStato"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selStatoDataTable(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()] + protected v_selStatoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoRow this[int index] { + get { + return ((v_selStatoRow)(this.Rows[index])); + } + } + + public event v_selStatoRowChangeEventHandler v_selStatoRowChanging; + + public event v_selStatoRowChangeEventHandler v_selStatoRowChanged; + + public event v_selStatoRowChangeEventHandler v_selStatoRowDeleting; + + public event v_selStatoRowChangeEventHandler v_selStatoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selStatoRow(v_selStatoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoRow Addv_selStatoRow(int value, string label) { + v_selStatoRow rowv_selStatoRow = ((v_selStatoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selStatoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selStatoRow); + return rowv_selStatoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoRow FindByvalue(int value) { + return ((v_selStatoRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selStatoDataTable cln = ((v_selStatoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selStatoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoRow Newv_selStatoRow() { + return ((v_selStatoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selStatoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selStatoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selStatoRowChanged != null)) { + this.v_selStatoRowChanged(this, new v_selStatoRowChangeEvent(((v_selStatoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selStatoRowChanging != null)) { + this.v_selStatoRowChanging(this, new v_selStatoRowChangeEvent(((v_selStatoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selStatoRowDeleted != null)) { + this.v_selStatoRowDeleted(this, new v_selStatoRowChangeEvent(((v_selStatoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selStatoRowDeleting != null)) { + this.v_selStatoRowDeleting(this, new v_selStatoRowChangeEvent(((v_selStatoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selStatoRow(v_selStatoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selStatoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selPeriodiTradDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPeriodiTradDataTable() { + this.TableName = "v_selPeriodiTrad"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selPeriodiTradDataTable(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()] + protected v_selPeriodiTradDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPeriodiTradRow this[int index] { + get { + return ((v_selPeriodiTradRow)(this.Rows[index])); + } + } + + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowChanging; + + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowChanged; + + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowDeleting; + + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selPeriodiTradRow(v_selPeriodiTradRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPeriodiTradRow Addv_selPeriodiTradRow(string value, string label, string conditio) { + v_selPeriodiTradRow rowv_selPeriodiTradRow = ((v_selPeriodiTradRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selPeriodiTradRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selPeriodiTradRow); + return rowv_selPeriodiTradRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selPeriodiTradDataTable cln = ((v_selPeriodiTradDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selPeriodiTradDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("v_selPeriodiTradKey1", new global::System.Data.DataColumn[] { + this.columnvalue, + this.columnconditio}, false)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.MaxLength = 20; + this.columnlabel.AllowDBNull = false; + this.columnlabel.MaxLength = 500; + this.columnconditio.AllowDBNull = false; + this.columnconditio.MaxLength = 3; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPeriodiTradRow Newv_selPeriodiTradRow() { + return ((v_selPeriodiTradRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selPeriodiTradRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selPeriodiTradRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selPeriodiTradRowChanged != null)) { + this.v_selPeriodiTradRowChanged(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selPeriodiTradRowChanging != null)) { + this.v_selPeriodiTradRowChanging(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selPeriodiTradRowDeleted != null)) { + this.v_selPeriodiTradRowDeleted(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selPeriodiTradRowDeleting != null)) { + this.v_selPeriodiTradRowDeleting(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selPeriodiTradRow(v_selPeriodiTradRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selPeriodiTradDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_elencoImpiantiMacchineDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columncodImpianto; + + private global::System.Data.DataColumn columnnomeImpianto; + + private global::System.Data.DataColumn columntipoImpianto; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeMacchina; + + private global::System.Data.DataColumn columnmodello; + + private global::System.Data.DataColumn columnmatricola; + + private global::System.Data.DataColumn columnanno; + + private global::System.Data.DataColumn columnkgPeso; + + private global::System.Data.DataColumn columnkwConsumo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoImpiantiMacchineDataTable() { + this.TableName = "v_elencoImpiantiMacchine"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_elencoImpiantiMacchineDataTable(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()] + protected v_elencoImpiantiMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codImpiantoColumn { + get { + return this.columncodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeImpiantoColumn { + get { + return this.columnnomeImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn tipoImpiantoColumn { + get { + return this.columntipoImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn modelloColumn { + get { + return this.columnmodello; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn matricolaColumn { + get { + return this.columnmatricola; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn annoColumn { + get { + return this.columnanno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn kgPesoColumn { + get { + return this.columnkgPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn kwConsumoColumn { + get { + return this.columnkwConsumo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoImpiantiMacchineRow this[int index] { + get { + return ((v_elencoImpiantiMacchineRow)(this.Rows[index])); + } + } + + public event v_elencoImpiantiMacchineRowChangeEventHandler v_elencoImpiantiMacchineRowChanging; + + public event v_elencoImpiantiMacchineRowChangeEventHandler v_elencoImpiantiMacchineRowChanged; + + public event v_elencoImpiantiMacchineRowChangeEventHandler v_elencoImpiantiMacchineRowDeleting; + + public event v_elencoImpiantiMacchineRowChangeEventHandler v_elencoImpiantiMacchineRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_elencoImpiantiMacchineRow(v_elencoImpiantiMacchineRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoImpiantiMacchineRow Addv_elencoImpiantiMacchineRow(string codImpianto, string nomeImpianto, string tipoImpianto, string codMacchina, string nomeMacchina, string modello, string matricola, int anno, double kgPeso, double kwConsumo) { + v_elencoImpiantiMacchineRow rowv_elencoImpiantiMacchineRow = ((v_elencoImpiantiMacchineRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + codImpianto, + nomeImpianto, + tipoImpianto, + codMacchina, + nomeMacchina, + modello, + matricola, + anno, + kgPeso, + kwConsumo}; + rowv_elencoImpiantiMacchineRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_elencoImpiantiMacchineRow); + return rowv_elencoImpiantiMacchineRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_elencoImpiantiMacchineDataTable cln = ((v_elencoImpiantiMacchineDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_elencoImpiantiMacchineDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columncodImpianto = base.Columns["codImpianto"]; + this.columnnomeImpianto = base.Columns["nomeImpianto"]; + this.columntipoImpianto = base.Columns["tipoImpianto"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + this.columnmodello = base.Columns["modello"]; + this.columnmatricola = base.Columns["matricola"]; + this.columnanno = base.Columns["anno"]; + this.columnkgPeso = base.Columns["kgPeso"]; + this.columnkwConsumo = base.Columns["kwConsumo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodImpianto); + this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeImpianto); + this.columntipoImpianto = new global::System.Data.DataColumn("tipoImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntipoImpianto); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + this.columnmodello = new global::System.Data.DataColumn("modello", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmodello); + this.columnmatricola = new global::System.Data.DataColumn("matricola", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmatricola); + this.columnanno = new global::System.Data.DataColumn("anno", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnanno); + this.columnkgPeso = new global::System.Data.DataColumn("kgPeso", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnkgPeso); + this.columnkwConsumo = new global::System.Data.DataColumn("kwConsumo", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnkwConsumo); + this.columncodImpianto.MaxLength = 50; + this.columnnomeImpianto.MaxLength = 50; + this.columntipoImpianto.MaxLength = 50; + this.columncodMacchina.MaxLength = 50; + this.columnnomeMacchina.MaxLength = 250; + this.columnmodello.MaxLength = 50; + this.columnmatricola.ReadOnly = true; + this.columnmatricola.MaxLength = 50; + this.columnkgPeso.AllowDBNull = false; + this.columnkwConsumo.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoImpiantiMacchineRow Newv_elencoImpiantiMacchineRow() { + return ((v_elencoImpiantiMacchineRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_elencoImpiantiMacchineRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_elencoImpiantiMacchineRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_elencoImpiantiMacchineRowChanged != null)) { + this.v_elencoImpiantiMacchineRowChanged(this, new v_elencoImpiantiMacchineRowChangeEvent(((v_elencoImpiantiMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_elencoImpiantiMacchineRowChanging != null)) { + this.v_elencoImpiantiMacchineRowChanging(this, new v_elencoImpiantiMacchineRowChangeEvent(((v_elencoImpiantiMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_elencoImpiantiMacchineRowDeleted != null)) { + this.v_elencoImpiantiMacchineRowDeleted(this, new v_elencoImpiantiMacchineRowChangeEvent(((v_elencoImpiantiMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_elencoImpiantiMacchineRowDeleting != null)) { + this.v_elencoImpiantiMacchineRowDeleting(this, new v_elencoImpiantiMacchineRowChangeEvent(((v_elencoImpiantiMacchineRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_elencoImpiantiMacchineRow(v_elencoImpiantiMacchineRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_elencoImpiantiMacchineDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_elencoIntervFiltDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnumIntMtz; + + private global::System.Data.DataColumn columnrichiesta; + + private global::System.Data.DataColumn columncodImpianto; + + private global::System.Data.DataColumn columnnomeImpianto; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeMacchina; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columninizioIntervento; + + private global::System.Data.DataColumn columnfineIntervento; + + private global::System.Data.DataColumn columndescrizioneIntervento; + + private global::System.Data.DataColumn columndescrCausale; + + private global::System.Data.DataColumn columnminErogati; + + private global::System.Data.DataColumn columndurataMtz; + + private global::System.Data.DataColumn columndurataOff; + + private global::System.Data.DataColumn columnguasto; + + private global::System.Data.DataColumn columnidxStato; + + private global::System.Data.DataColumn columnidxImpianto; + + private global::System.Data.DataColumn columnidxMacchina; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltDataTable() { + this.TableName = "v_elencoIntervFilt"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_elencoIntervFiltDataTable(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()] + protected v_elencoIntervFiltDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn numIntMtzColumn { + get { + return this.columnnumIntMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn richiestaColumn { + get { + return this.columnrichiesta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codImpiantoColumn { + get { + return this.columncodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeImpiantoColumn { + get { + return this.columnnomeImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn inizioInterventoColumn { + get { + return this.columninizioIntervento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn fineInterventoColumn { + get { + return this.columnfineIntervento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneInterventoColumn { + get { + return this.columndescrizioneIntervento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrCausaleColumn { + get { + return this.columndescrCausale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn minErogatiColumn { + get { + return this.columnminErogati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn durataMtzColumn { + get { + return this.columndurataMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn durataOffColumn { + get { + return this.columndurataOff; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn guastoColumn { + get { + return this.columnguasto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxStatoColumn { + get { + return this.columnidxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxImpiantoColumn { + get { + return this.columnidxImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltRow this[int index] { + get { + return ((v_elencoIntervFiltRow)(this.Rows[index])); + } + } + + public event v_elencoIntervFiltRowChangeEventHandler v_elencoIntervFiltRowChanging; + + public event v_elencoIntervFiltRowChangeEventHandler v_elencoIntervFiltRowChanged; + + public event v_elencoIntervFiltRowChangeEventHandler v_elencoIntervFiltRowDeleting; + + public event v_elencoIntervFiltRowChangeEventHandler v_elencoIntervFiltRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_elencoIntervFiltRow(v_elencoIntervFiltRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltRow Addv_elencoIntervFiltRow( + int numIntMtz, + System.DateTime richiesta, + string codImpianto, + string nomeImpianto, + string codMacchina, + string nomeMacchina, + string descrizione, + System.DateTime inizioIntervento, + System.DateTime fineIntervento, + string descrizioneIntervento, + string descrCausale, + decimal minErogati, + decimal durataMtz, + decimal durataOff, + System.DateTime guasto, + int idxStato, + int idxImpianto, + int idxMacchina) { + v_elencoIntervFiltRow rowv_elencoIntervFiltRow = ((v_elencoIntervFiltRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + numIntMtz, + richiesta, + codImpianto, + nomeImpianto, + codMacchina, + nomeMacchina, + descrizione, + inizioIntervento, + fineIntervento, + descrizioneIntervento, + descrCausale, + minErogati, + durataMtz, + durataOff, + guasto, + idxStato, + idxImpianto, + idxMacchina}; + rowv_elencoIntervFiltRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_elencoIntervFiltRow); + return rowv_elencoIntervFiltRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltRow FindBynumIntMtz(int numIntMtz) { + return ((v_elencoIntervFiltRow)(this.Rows.Find(new object[] { + numIntMtz}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_elencoIntervFiltDataTable cln = ((v_elencoIntervFiltDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_elencoIntervFiltDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnnumIntMtz = base.Columns["numIntMtz"]; + this.columnrichiesta = base.Columns["richiesta"]; + this.columncodImpianto = base.Columns["codImpianto"]; + this.columnnomeImpianto = base.Columns["nomeImpianto"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columninizioIntervento = base.Columns["inizioIntervento"]; + this.columnfineIntervento = base.Columns["fineIntervento"]; + this.columndescrizioneIntervento = base.Columns["descrizioneIntervento"]; + this.columndescrCausale = base.Columns["descrCausale"]; + this.columnminErogati = base.Columns["minErogati"]; + this.columndurataMtz = base.Columns["durataMtz"]; + this.columndurataOff = base.Columns["durataOff"]; + this.columnguasto = base.Columns["guasto"]; + this.columnidxStato = base.Columns["idxStato"]; + this.columnidxImpianto = base.Columns["idxImpianto"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnnumIntMtz = new global::System.Data.DataColumn("numIntMtz", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnumIntMtz); + this.columnrichiesta = new global::System.Data.DataColumn("richiesta", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrichiesta); + this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodImpianto); + this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeImpianto); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columninizioIntervento = new global::System.Data.DataColumn("inizioIntervento", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninizioIntervento); + this.columnfineIntervento = new global::System.Data.DataColumn("fineIntervento", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfineIntervento); + this.columndescrizioneIntervento = new global::System.Data.DataColumn("descrizioneIntervento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizioneIntervento); + this.columndescrCausale = new global::System.Data.DataColumn("descrCausale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrCausale); + this.columnminErogati = new global::System.Data.DataColumn("minErogati", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminErogati); + this.columndurataMtz = new global::System.Data.DataColumn("durataMtz", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndurataMtz); + this.columndurataOff = new global::System.Data.DataColumn("durataOff", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndurataOff); + this.columnguasto = new global::System.Data.DataColumn("guasto", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnguasto); + this.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxStato); + this.columnidxImpianto = new global::System.Data.DataColumn("idxImpianto", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxImpianto); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnnumIntMtz}, true)); + this.columnnumIntMtz.AllowDBNull = false; + this.columnnumIntMtz.Unique = true; + this.columnrichiesta.AllowDBNull = false; + this.columncodImpianto.MaxLength = 50; + this.columnnomeImpianto.MaxLength = 50; + this.columncodMacchina.MaxLength = 50; + this.columnnomeMacchina.MaxLength = 250; + this.columndescrizione.AllowDBNull = false; + this.columndescrizione.MaxLength = 500; + this.columndescrizioneIntervento.ReadOnly = true; + this.columndescrizioneIntervento.MaxLength = 500; + this.columndescrCausale.ReadOnly = true; + this.columndescrCausale.MaxLength = 50; + this.columnminErogati.ReadOnly = true; + this.columndurataMtz.ReadOnly = true; + this.columndurataOff.ReadOnly = true; + this.columnguasto.AllowDBNull = false; + this.columnidxStato.AllowDBNull = false; + this.columnidxImpianto.AllowDBNull = false; + this.columnidxMacchina.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltRow Newv_elencoIntervFiltRow() { + return ((v_elencoIntervFiltRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_elencoIntervFiltRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_elencoIntervFiltRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_elencoIntervFiltRowChanged != null)) { + this.v_elencoIntervFiltRowChanged(this, new v_elencoIntervFiltRowChangeEvent(((v_elencoIntervFiltRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_elencoIntervFiltRowChanging != null)) { + this.v_elencoIntervFiltRowChanging(this, new v_elencoIntervFiltRowChangeEvent(((v_elencoIntervFiltRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_elencoIntervFiltRowDeleted != null)) { + this.v_elencoIntervFiltRowDeleted(this, new v_elencoIntervFiltRowChangeEvent(((v_elencoIntervFiltRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_elencoIntervFiltRowDeleting != null)) { + this.v_elencoIntervFiltRowDeleting(this, new v_elencoIntervFiltRowChangeEvent(((v_elencoIntervFiltRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_elencoIntervFiltRow(v_elencoIntervFiltRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_elencoIntervFiltDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class sp_elencoIntMTBF_MTTRDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnumInterventi; + + private global::System.Data.DataColumn columntotOreMtz; + + private global::System.Data.DataColumn columntotOreOfficina; + + private global::System.Data.DataColumn columncodImpianto; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeImpianto; + + private global::System.Data.DataColumn columnnomeMacchina; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public sp_elencoIntMTBF_MTTRDataTable() { + this.TableName = "sp_elencoIntMTBF_MTTR"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal sp_elencoIntMTBF_MTTRDataTable(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()] + protected sp_elencoIntMTBF_MTTRDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn numInterventiColumn { + get { + return this.columnnumInterventi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn totOreMtzColumn { + get { + return this.columntotOreMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn totOreOfficinaColumn { + get { + return this.columntotOreOfficina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codImpiantoColumn { + get { + return this.columncodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeImpiantoColumn { + get { + return this.columnnomeImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public sp_elencoIntMTBF_MTTRRow this[int index] { + get { + return ((sp_elencoIntMTBF_MTTRRow)(this.Rows[index])); + } + } + + public event sp_elencoIntMTBF_MTTRRowChangeEventHandler sp_elencoIntMTBF_MTTRRowChanging; + + public event sp_elencoIntMTBF_MTTRRowChangeEventHandler sp_elencoIntMTBF_MTTRRowChanged; + + public event sp_elencoIntMTBF_MTTRRowChangeEventHandler sp_elencoIntMTBF_MTTRRowDeleting; + + public event sp_elencoIntMTBF_MTTRRowChangeEventHandler sp_elencoIntMTBF_MTTRRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addsp_elencoIntMTBF_MTTRRow(sp_elencoIntMTBF_MTTRRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public sp_elencoIntMTBF_MTTRRow Addsp_elencoIntMTBF_MTTRRow(int numInterventi, int totOreMtz, int totOreOfficina, string codImpianto, string codMacchina, string nomeImpianto, string nomeMacchina) { + sp_elencoIntMTBF_MTTRRow rowsp_elencoIntMTBF_MTTRRow = ((sp_elencoIntMTBF_MTTRRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + numInterventi, + totOreMtz, + totOreOfficina, + codImpianto, + codMacchina, + nomeImpianto, + nomeMacchina}; + rowsp_elencoIntMTBF_MTTRRow.ItemArray = columnValuesArray; + this.Rows.Add(rowsp_elencoIntMTBF_MTTRRow); + return rowsp_elencoIntMTBF_MTTRRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + sp_elencoIntMTBF_MTTRDataTable cln = ((sp_elencoIntMTBF_MTTRDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new sp_elencoIntMTBF_MTTRDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnnumInterventi = base.Columns["numInterventi"]; + this.columntotOreMtz = base.Columns["totOreMtz"]; + this.columntotOreOfficina = base.Columns["totOreOfficina"]; + this.columncodImpianto = base.Columns["codImpianto"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeImpianto = base.Columns["nomeImpianto"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnnumInterventi = new global::System.Data.DataColumn("numInterventi", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnumInterventi); + this.columntotOreMtz = new global::System.Data.DataColumn("totOreMtz", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntotOreMtz); + this.columntotOreOfficina = new global::System.Data.DataColumn("totOreOfficina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntotOreOfficina); + this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodImpianto); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeImpianto); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + this.columnnumInterventi.ReadOnly = true; + this.columntotOreMtz.ReadOnly = true; + this.columntotOreOfficina.ReadOnly = true; + this.columncodImpianto.MaxLength = 50; + this.columncodMacchina.MaxLength = 50; + this.columnnomeImpianto.MaxLength = 500; + this.columnnomeMacchina.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public sp_elencoIntMTBF_MTTRRow Newsp_elencoIntMTBF_MTTRRow() { + return ((sp_elencoIntMTBF_MTTRRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new sp_elencoIntMTBF_MTTRRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(sp_elencoIntMTBF_MTTRRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.sp_elencoIntMTBF_MTTRRowChanged != null)) { + this.sp_elencoIntMTBF_MTTRRowChanged(this, new sp_elencoIntMTBF_MTTRRowChangeEvent(((sp_elencoIntMTBF_MTTRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.sp_elencoIntMTBF_MTTRRowChanging != null)) { + this.sp_elencoIntMTBF_MTTRRowChanging(this, new sp_elencoIntMTBF_MTTRRowChangeEvent(((sp_elencoIntMTBF_MTTRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.sp_elencoIntMTBF_MTTRRowDeleted != null)) { + this.sp_elencoIntMTBF_MTTRRowDeleted(this, new sp_elencoIntMTBF_MTTRRowChangeEvent(((sp_elencoIntMTBF_MTTRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.sp_elencoIntMTBF_MTTRRowDeleting != null)) { + this.sp_elencoIntMTBF_MTTRRowDeleting(this, new sp_elencoIntMTBF_MTTRRowChangeEvent(((sp_elencoIntMTBF_MTTRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removesp_elencoIntMTBF_MTTRRow(sp_elencoIntMTBF_MTTRRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "sp_elencoIntMTBF_MTTRDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selFamDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamDataTable() { + this.TableName = "v_selFam"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selFamDataTable(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()] + protected v_selFamDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamRow this[int index] { + get { + return ((v_selFamRow)(this.Rows[index])); + } + } + + public event v_selFamRowChangeEventHandler v_selFamRowChanging; + + public event v_selFamRowChangeEventHandler v_selFamRowChanged; + + public event v_selFamRowChangeEventHandler v_selFamRowDeleting; + + public event v_selFamRowChangeEventHandler v_selFamRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selFamRow(v_selFamRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamRow Addv_selFamRow(string label) { + v_selFamRow rowv_selFamRow = ((v_selFamRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + label}; + rowv_selFamRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selFamRow); + return rowv_selFamRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamRow FindByvalue(int value) { + return ((v_selFamRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selFamDataTable cln = ((v_selFamDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selFamDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AutoIncrement = true; + this.columnvalue.AutoIncrementSeed = -1; + this.columnvalue.AutoIncrementStep = -1; + this.columnvalue.AllowDBNull = false; + this.columnvalue.ReadOnly = true; + this.columnvalue.Unique = true; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamRow Newv_selFamRow() { + return ((v_selFamRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selFamRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selFamRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selFamRowChanged != null)) { + this.v_selFamRowChanged(this, new v_selFamRowChangeEvent(((v_selFamRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selFamRowChanging != null)) { + this.v_selFamRowChanging(this, new v_selFamRowChangeEvent(((v_selFamRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selFamRowDeleted != null)) { + this.v_selFamRowDeleted(this, new v_selFamRowChangeEvent(((v_selFamRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selFamRowDeleting != null)) { + this.v_selFamRowDeleting(this, new v_selFamRowChangeEvent(((v_selFamRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selFamRow(v_selFamRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selFamDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selOperMtzDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnvalue; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzDataTable() { + this.TableName = "v_selOperMtz"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selOperMtzDataTable(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()] + protected v_selOperMtzDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzRow this[int index] { + get { + return ((v_selOperMtzRow)(this.Rows[index])); + } + } + + public event v_selOperMtzRowChangeEventHandler v_selOperMtzRowChanging; + + public event v_selOperMtzRowChangeEventHandler v_selOperMtzRowChanged; + + public event v_selOperMtzRowChangeEventHandler v_selOperMtzRowDeleting; + + public event v_selOperMtzRowChangeEventHandler v_selOperMtzRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_selOperMtzRow(v_selOperMtzRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzRow Addv_selOperMtzRow(string label, string value) { + v_selOperMtzRow rowv_selOperMtzRow = ((v_selOperMtzRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + label, + value}; + rowv_selOperMtzRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selOperMtzRow); + return rowv_selOperMtzRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzRow FindByvalue(string value) { + return ((v_selOperMtzRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_selOperMtzDataTable cln = ((v_selOperMtzDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selOperMtzDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnlabel = base.Columns["label"]; + this.columnvalue = base.Columns["value"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 101; + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzRow Newv_selOperMtzRow() { + return ((v_selOperMtzRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selOperMtzRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_selOperMtzRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selOperMtzRowChanged != null)) { + this.v_selOperMtzRowChanged(this, new v_selOperMtzRowChangeEvent(((v_selOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selOperMtzRowChanging != null)) { + this.v_selOperMtzRowChanging(this, new v_selOperMtzRowChangeEvent(((v_selOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selOperMtzRowDeleted != null)) { + this.v_selOperMtzRowDeleted(this, new v_selOperMtzRowChangeEvent(((v_selOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selOperMtzRowDeleting != null)) { + this.v_selOperMtzRowDeleting(this, new v_selOperMtzRowChangeEvent(((v_selOperMtzRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_selOperMtzRow(v_selOperMtzRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_selOperMtzDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_mtzProgPendingExpDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columncodImpianto; + + private global::System.Data.DataColumn columnnomeImpianto; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeMacchina; + + private global::System.Data.DataColumn columndata; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columndescrPriorita; + + private global::System.Data.DataColumn columnisFermo; + + private global::System.Data.DataColumn columndescrTipo; + + private global::System.Data.DataColumn columnidxPending; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpDataTable() { + this.TableName = "v_mtzProgPendingExp"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_mtzProgPendingExpDataTable(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()] + protected v_mtzProgPendingExpDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codImpiantoColumn { + get { + return this.columncodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeImpiantoColumn { + get { + return this.columnnomeImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn dataColumn { + get { + return this.columndata; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrPrioritaColumn { + get { + return this.columndescrPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn isFermoColumn { + get { + return this.columnisFermo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descrTipoColumn { + get { + return this.columndescrTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxPendingColumn { + get { + return this.columnidxPending; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpRow this[int index] { + get { + return ((v_mtzProgPendingExpRow)(this.Rows[index])); + } + } + + public event v_mtzProgPendingExpRowChangeEventHandler v_mtzProgPendingExpRowChanging; + + public event v_mtzProgPendingExpRowChangeEventHandler v_mtzProgPendingExpRowChanged; + + public event v_mtzProgPendingExpRowChangeEventHandler v_mtzProgPendingExpRowDeleting; + + public event v_mtzProgPendingExpRowChangeEventHandler v_mtzProgPendingExpRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_mtzProgPendingExpRow(v_mtzProgPendingExpRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpRow Addv_mtzProgPendingExpRow(string codImpianto, string nomeImpianto, string codMacchina, string nomeMacchina, System.DateTime data, string descrizione, string descrPriorita, bool isFermo, string descrTipo, int idxPending) { + v_mtzProgPendingExpRow rowv_mtzProgPendingExpRow = ((v_mtzProgPendingExpRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + codImpianto, + nomeImpianto, + codMacchina, + nomeMacchina, + data, + descrizione, + descrPriorita, + isFermo, + descrTipo, + idxPending}; + rowv_mtzProgPendingExpRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_mtzProgPendingExpRow); + return rowv_mtzProgPendingExpRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpRow FindByidxPending(int idxPending) { + return ((v_mtzProgPendingExpRow)(this.Rows.Find(new object[] { + idxPending}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_mtzProgPendingExpDataTable cln = ((v_mtzProgPendingExpDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_mtzProgPendingExpDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columncodImpianto = base.Columns["codImpianto"]; + this.columnnomeImpianto = base.Columns["nomeImpianto"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + this.columndata = base.Columns["data"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columndescrPriorita = base.Columns["descrPriorita"]; + this.columnisFermo = base.Columns["isFermo"]; + this.columndescrTipo = base.Columns["descrTipo"]; + this.columnidxPending = base.Columns["idxPending"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodImpianto); + this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeImpianto); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + 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.columndescrPriorita = new global::System.Data.DataColumn("descrPriorita", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrPriorita); + this.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisFermo); + this.columndescrTipo = new global::System.Data.DataColumn("descrTipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrTipo); + this.columnidxPending = new global::System.Data.DataColumn("idxPending", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPending); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxPending}, true)); + this.columncodImpianto.MaxLength = 50; + this.columnnomeImpianto.MaxLength = 50; + this.columncodMacchina.MaxLength = 50; + this.columnnomeMacchina.MaxLength = 50; + this.columndescrizione.MaxLength = 500; + this.columndescrPriorita.MaxLength = 50; + this.columndescrTipo.MaxLength = 50; + this.columnidxPending.AllowDBNull = false; + this.columnidxPending.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpRow Newv_mtzProgPendingExpRow() { + return ((v_mtzProgPendingExpRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_mtzProgPendingExpRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_mtzProgPendingExpRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_mtzProgPendingExpRowChanged != null)) { + this.v_mtzProgPendingExpRowChanged(this, new v_mtzProgPendingExpRowChangeEvent(((v_mtzProgPendingExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_mtzProgPendingExpRowChanging != null)) { + this.v_mtzProgPendingExpRowChanging(this, new v_mtzProgPendingExpRowChangeEvent(((v_mtzProgPendingExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_mtzProgPendingExpRowDeleted != null)) { + this.v_mtzProgPendingExpRowDeleted(this, new v_mtzProgPendingExpRowChangeEvent(((v_mtzProgPendingExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_mtzProgPendingExpRowDeleting != null)) { + this.v_mtzProgPendingExpRowDeleting(this, new v_mtzProgPendingExpRowChangeEvent(((v_mtzProgPendingExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removev_mtzProgPendingExpRow(v_mtzProgPendingExpRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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_utility ds = new DS_utility(); + 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 = "v_mtzProgPendingExpDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selImpiantiRow : global::System.Data.DataRow { + + private v_selImpiantiDataTable tablev_selImpianti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selImpiantiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selImpianti = ((v_selImpiantiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selImpianti.valueColumn])); + } + set { + this[this.tablev_selImpianti.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selImpianti.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selImpianti\' is DBNull.", e); + } + } + set { + this[this.tablev_selImpianti.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selImpianti.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selImpianti.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selMacchineRow : global::System.Data.DataRow { + + private v_selMacchineDataTable tablev_selMacchine; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selMacchineRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selMacchine = ((v_selMacchineDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selMacchine.valueColumn])); + } + set { + this[this.tablev_selMacchine.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selMacchine.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selMacchine\' is DBNull.", e); + } + } + set { + this[this.tablev_selMacchine.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int conditio { + get { + try { + return ((int)(this[this.tablev_selMacchine.conditioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'conditio\' in table \'v_selMacchine\' is DBNull.", e); + } + } + set { + this[this.tablev_selMacchine.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selMacchine.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selMacchine.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsconditioNull() { + return this.IsNull(this.tablev_selMacchine.conditioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetconditioNull() { + this[this.tablev_selMacchine.conditioColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selPriorRow : global::System.Data.DataRow { + + private v_selPriorDataTable tablev_selPrior; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selPriorRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selPrior = ((v_selPriorDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selPrior.valueColumn])); + } + set { + this[this.tablev_selPrior.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selPrior.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selPrior\' is DBNull.", e); + } + } + set { + this[this.tablev_selPrior.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selPrior.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selPrior.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selAmbitiRow : global::System.Data.DataRow { + + private v_selAmbitiDataTable tablev_selAmbiti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selAmbitiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selAmbiti = ((v_selAmbitiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selAmbiti.valueColumn])); + } + set { + this[this.tablev_selAmbiti.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selAmbiti.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selAmbiti\' is DBNull.", e); + } + } + set { + this[this.tablev_selAmbiti.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selAmbiti.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selAmbiti.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selCausaliMacchineRow : global::System.Data.DataRow { + + private v_selCausaliMacchineDataTable tablev_selCausaliMacchine; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selCausaliMacchineRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selCausaliMacchine = ((v_selCausaliMacchineDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selCausaliMacchine.valueColumn])); + } + set { + this[this.tablev_selCausaliMacchine.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selCausaliMacchine.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selCausaliMacchine\' is DBNull.", e); + } + } + set { + this[this.tablev_selCausaliMacchine.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int conditio { + get { + return ((int)(this[this.tablev_selCausaliMacchine.conditioColumn])); + } + set { + this[this.tablev_selCausaliMacchine.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selCausaliMacchine.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selCausaliMacchine.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selTipoGuastoRow : global::System.Data.DataRow { + + private v_selTipoGuastoDataTable tablev_selTipoGuasto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selTipoGuastoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selTipoGuasto = ((v_selTipoGuastoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selTipoGuasto.valueColumn])); + } + set { + this[this.tablev_selTipoGuasto.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selTipoGuasto.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoGuasto\' is DBNull.", e); + } + } + set { + this[this.tablev_selTipoGuasto.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selTipoGuasto.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selTipoGuasto.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selSemaforiRow : global::System.Data.DataRow { + + private v_selSemaforiDataTable tablev_selSemafori; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selSemaforiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selSemafori = ((v_selSemaforiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string value { + get { + return ((string)(this[this.tablev_selSemafori.valueColumn])); + } + set { + this[this.tablev_selSemafori.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selSemafori.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selSemafori\' is DBNull.", e); + } + } + set { + this[this.tablev_selSemafori.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selSemafori.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selSemafori.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selFreqRow : global::System.Data.DataRow { + + private v_selFreqDataTable tablev_selFreq; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selFreqRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selFreq = ((v_selFreqDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string value { + get { + return ((string)(this[this.tablev_selFreq.valueColumn])); + } + set { + this[this.tablev_selFreq.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selFreq.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selFreq\' is DBNull.", e); + } + } + set { + this[this.tablev_selFreq.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selFreq.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selFreq.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selStatoRow : global::System.Data.DataRow { + + private v_selStatoDataTable tablev_selStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selStatoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selStato = ((v_selStatoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selStato.valueColumn])); + } + set { + this[this.tablev_selStato.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selStato.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selStato\' is DBNull.", e); + } + } + set { + this[this.tablev_selStato.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selStato.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selStato.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selPeriodiTradRow : global::System.Data.DataRow { + + private v_selPeriodiTradDataTable tablev_selPeriodiTrad; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selPeriodiTradRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selPeriodiTrad = ((v_selPeriodiTradDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string value { + get { + return ((string)(this[this.tablev_selPeriodiTrad.valueColumn])); + } + set { + this[this.tablev_selPeriodiTrad.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + return ((string)(this[this.tablev_selPeriodiTrad.labelColumn])); + } + set { + this[this.tablev_selPeriodiTrad.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string conditio { + get { + return ((string)(this[this.tablev_selPeriodiTrad.conditioColumn])); + } + set { + this[this.tablev_selPeriodiTrad.conditioColumn] = value; + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_elencoImpiantiMacchineRow : global::System.Data.DataRow { + + private v_elencoImpiantiMacchineDataTable tablev_elencoImpiantiMacchine; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_elencoImpiantiMacchineRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_elencoImpiantiMacchine = ((v_elencoImpiantiMacchineDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codImpianto { + get { + try { + return ((string)(this[this.tablev_elencoImpiantiMacchine.codImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'v_elencoImpiantiMacchine\' is DBNull." + + "", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.codImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeImpianto { + get { + try { + return ((string)(this[this.tablev_elencoImpiantiMacchine.nomeImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'v_elencoImpiantiMacchine\' is DBNull" + + ".", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.nomeImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string tipoImpianto { + get { + try { + return ((string)(this[this.tablev_elencoImpiantiMacchine.tipoImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tipoImpianto\' in table \'v_elencoImpiantiMacchine\' is DBNull" + + ".", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.tipoImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codMacchina { + get { + try { + return ((string)(this[this.tablev_elencoImpiantiMacchine.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_elencoImpiantiMacchine\' is DBNull." + + "", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablev_elencoImpiantiMacchine.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_elencoImpiantiMacchine\' is DBNull" + + ".", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string modello { + get { + try { + return ((string)(this[this.tablev_elencoImpiantiMacchine.modelloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'modello\' in table \'v_elencoImpiantiMacchine\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.modelloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string matricola { + get { + try { + return ((string)(this[this.tablev_elencoImpiantiMacchine.matricolaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'matricola\' in table \'v_elencoImpiantiMacchine\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.matricolaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int anno { + get { + try { + return ((int)(this[this.tablev_elencoImpiantiMacchine.annoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'anno\' in table \'v_elencoImpiantiMacchine\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoImpiantiMacchine.annoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double kgPeso { + get { + return ((double)(this[this.tablev_elencoImpiantiMacchine.kgPesoColumn])); + } + set { + this[this.tablev_elencoImpiantiMacchine.kgPesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double kwConsumo { + get { + return ((double)(this[this.tablev_elencoImpiantiMacchine.kwConsumoColumn])); + } + set { + this[this.tablev_elencoImpiantiMacchine.kwConsumoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodImpiantoNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.codImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodImpiantoNull() { + this[this.tablev_elencoImpiantiMacchine.codImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeImpiantoNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.nomeImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeImpiantoNull() { + this[this.tablev_elencoImpiantiMacchine.nomeImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstipoImpiantoNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.tipoImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettipoImpiantoNull() { + this[this.tablev_elencoImpiantiMacchine.tipoImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodMacchinaNull() { + this[this.tablev_elencoImpiantiMacchine.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeMacchinaNull() { + this[this.tablev_elencoImpiantiMacchine.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsmodelloNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.modelloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetmodelloNull() { + this[this.tablev_elencoImpiantiMacchine.modelloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsmatricolaNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.matricolaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetmatricolaNull() { + this[this.tablev_elencoImpiantiMacchine.matricolaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsannoNull() { + return this.IsNull(this.tablev_elencoImpiantiMacchine.annoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetannoNull() { + this[this.tablev_elencoImpiantiMacchine.annoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_elencoIntervFiltRow : global::System.Data.DataRow { + + private v_elencoIntervFiltDataTable tablev_elencoIntervFilt; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_elencoIntervFiltRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_elencoIntervFilt = ((v_elencoIntervFiltDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numIntMtz { + get { + return ((int)(this[this.tablev_elencoIntervFilt.numIntMtzColumn])); + } + set { + this[this.tablev_elencoIntervFilt.numIntMtzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime richiesta { + get { + return ((global::System.DateTime)(this[this.tablev_elencoIntervFilt.richiestaColumn])); + } + set { + this[this.tablev_elencoIntervFilt.richiestaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codImpianto { + get { + try { + return ((string)(this[this.tablev_elencoIntervFilt.codImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.codImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeImpianto { + get { + try { + return ((string)(this[this.tablev_elencoIntervFilt.nomeImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.nomeImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codMacchina { + get { + try { + return ((string)(this[this.tablev_elencoIntervFilt.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablev_elencoIntervFilt.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizione { + get { + return ((string)(this[this.tablev_elencoIntervFilt.descrizioneColumn])); + } + set { + this[this.tablev_elencoIntervFilt.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime inizioIntervento { + get { + try { + return ((global::System.DateTime)(this[this.tablev_elencoIntervFilt.inizioInterventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'inizioIntervento\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.inizioInterventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime fineIntervento { + get { + try { + return ((global::System.DateTime)(this[this.tablev_elencoIntervFilt.fineInterventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'fineIntervento\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.fineInterventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizioneIntervento { + get { + try { + return ((string)(this[this.tablev_elencoIntervFilt.descrizioneInterventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizioneIntervento\' in table \'v_elencoIntervFilt\' is DBN" + + "ull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.descrizioneInterventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrCausale { + get { + try { + return ((string)(this[this.tablev_elencoIntervFilt.descrCausaleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrCausale\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.descrCausaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal minErogati { + get { + try { + return ((decimal)(this[this.tablev_elencoIntervFilt.minErogatiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minErogati\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.minErogatiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal durataMtz { + get { + try { + return ((decimal)(this[this.tablev_elencoIntervFilt.durataMtzColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'durataMtz\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.durataMtzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal durataOff { + get { + try { + return ((decimal)(this[this.tablev_elencoIntervFilt.durataOffColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'durataOff\' in table \'v_elencoIntervFilt\' is DBNull.", e); + } + } + set { + this[this.tablev_elencoIntervFilt.durataOffColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime guasto { + get { + return ((global::System.DateTime)(this[this.tablev_elencoIntervFilt.guastoColumn])); + } + set { + this[this.tablev_elencoIntervFilt.guastoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxStato { + get { + return ((int)(this[this.tablev_elencoIntervFilt.idxStatoColumn])); + } + set { + this[this.tablev_elencoIntervFilt.idxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxImpianto { + get { + return ((int)(this[this.tablev_elencoIntervFilt.idxImpiantoColumn])); + } + set { + this[this.tablev_elencoIntervFilt.idxImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxMacchina { + get { + return ((int)(this[this.tablev_elencoIntervFilt.idxMacchinaColumn])); + } + set { + this[this.tablev_elencoIntervFilt.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodImpiantoNull() { + return this.IsNull(this.tablev_elencoIntervFilt.codImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodImpiantoNull() { + this[this.tablev_elencoIntervFilt.codImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeImpiantoNull() { + return this.IsNull(this.tablev_elencoIntervFilt.nomeImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeImpiantoNull() { + this[this.tablev_elencoIntervFilt.nomeImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablev_elencoIntervFilt.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodMacchinaNull() { + this[this.tablev_elencoIntervFilt.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablev_elencoIntervFilt.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeMacchinaNull() { + this[this.tablev_elencoIntervFilt.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsinizioInterventoNull() { + return this.IsNull(this.tablev_elencoIntervFilt.inizioInterventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetinizioInterventoNull() { + this[this.tablev_elencoIntervFilt.inizioInterventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfineInterventoNull() { + return this.IsNull(this.tablev_elencoIntervFilt.fineInterventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfineInterventoNull() { + this[this.tablev_elencoIntervFilt.fineInterventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrizioneInterventoNull() { + return this.IsNull(this.tablev_elencoIntervFilt.descrizioneInterventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrizioneInterventoNull() { + this[this.tablev_elencoIntervFilt.descrizioneInterventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrCausaleNull() { + return this.IsNull(this.tablev_elencoIntervFilt.descrCausaleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrCausaleNull() { + this[this.tablev_elencoIntervFilt.descrCausaleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsminErogatiNull() { + return this.IsNull(this.tablev_elencoIntervFilt.minErogatiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetminErogatiNull() { + this[this.tablev_elencoIntervFilt.minErogatiColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdurataMtzNull() { + return this.IsNull(this.tablev_elencoIntervFilt.durataMtzColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdurataMtzNull() { + this[this.tablev_elencoIntervFilt.durataMtzColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdurataOffNull() { + return this.IsNull(this.tablev_elencoIntervFilt.durataOffColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdurataOffNull() { + this[this.tablev_elencoIntervFilt.durataOffColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class sp_elencoIntMTBF_MTTRRow : global::System.Data.DataRow { + + private sp_elencoIntMTBF_MTTRDataTable tablesp_elencoIntMTBF_MTTR; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal sp_elencoIntMTBF_MTTRRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablesp_elencoIntMTBF_MTTR = ((sp_elencoIntMTBF_MTTRDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numInterventi { + get { + try { + return ((int)(this[this.tablesp_elencoIntMTBF_MTTR.numInterventiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numInterventi\' in table \'sp_elencoIntMTBF_MTTR\' is DBNull.", e); + } + } + set { + this[this.tablesp_elencoIntMTBF_MTTR.numInterventiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int totOreMtz { + get { + try { + return ((int)(this[this.tablesp_elencoIntMTBF_MTTR.totOreMtzColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'totOreMtz\' in table \'sp_elencoIntMTBF_MTTR\' is DBNull.", e); + } + } + set { + this[this.tablesp_elencoIntMTBF_MTTR.totOreMtzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int totOreOfficina { + get { + try { + return ((int)(this[this.tablesp_elencoIntMTBF_MTTR.totOreOfficinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'totOreOfficina\' in table \'sp_elencoIntMTBF_MTTR\' is DBNull." + + "", e); + } + } + set { + this[this.tablesp_elencoIntMTBF_MTTR.totOreOfficinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codImpianto { + get { + try { + return ((string)(this[this.tablesp_elencoIntMTBF_MTTR.codImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'sp_elencoIntMTBF_MTTR\' is DBNull.", e); + } + } + set { + this[this.tablesp_elencoIntMTBF_MTTR.codImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codMacchina { + get { + try { + return ((string)(this[this.tablesp_elencoIntMTBF_MTTR.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'sp_elencoIntMTBF_MTTR\' is DBNull.", e); + } + } + set { + this[this.tablesp_elencoIntMTBF_MTTR.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeImpianto { + get { + try { + return ((string)(this[this.tablesp_elencoIntMTBF_MTTR.nomeImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'sp_elencoIntMTBF_MTTR\' is DBNull.", e); + } + } + set { + this[this.tablesp_elencoIntMTBF_MTTR.nomeImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablesp_elencoIntMTBF_MTTR.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'sp_elencoIntMTBF_MTTR\' is DBNull.", e); + } + } + set { + this[this.tablesp_elencoIntMTBF_MTTR.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnumInterventiNull() { + return this.IsNull(this.tablesp_elencoIntMTBF_MTTR.numInterventiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnumInterventiNull() { + this[this.tablesp_elencoIntMTBF_MTTR.numInterventiColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstotOreMtzNull() { + return this.IsNull(this.tablesp_elencoIntMTBF_MTTR.totOreMtzColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettotOreMtzNull() { + this[this.tablesp_elencoIntMTBF_MTTR.totOreMtzColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstotOreOfficinaNull() { + return this.IsNull(this.tablesp_elencoIntMTBF_MTTR.totOreOfficinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettotOreOfficinaNull() { + this[this.tablesp_elencoIntMTBF_MTTR.totOreOfficinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodImpiantoNull() { + return this.IsNull(this.tablesp_elencoIntMTBF_MTTR.codImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodImpiantoNull() { + this[this.tablesp_elencoIntMTBF_MTTR.codImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablesp_elencoIntMTBF_MTTR.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodMacchinaNull() { + this[this.tablesp_elencoIntMTBF_MTTR.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeImpiantoNull() { + return this.IsNull(this.tablesp_elencoIntMTBF_MTTR.nomeImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeImpiantoNull() { + this[this.tablesp_elencoIntMTBF_MTTR.nomeImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablesp_elencoIntMTBF_MTTR.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeMacchinaNull() { + this[this.tablesp_elencoIntMTBF_MTTR.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selFamRow : global::System.Data.DataRow { + + private v_selFamDataTable tablev_selFam; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selFamRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selFam = ((v_selFamDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int value { + get { + return ((int)(this[this.tablev_selFam.valueColumn])); + } + set { + this[this.tablev_selFam.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selFam.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selFam\' is DBNull.", e); + } + } + set { + this[this.tablev_selFam.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selFam.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selFam.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_selOperMtzRow : global::System.Data.DataRow { + + private v_selOperMtzDataTable tablev_selOperMtz; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_selOperMtzRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selOperMtz = ((v_selOperMtzDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string label { + get { + try { + return ((string)(this[this.tablev_selOperMtz.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selOperMtz\' is DBNull.", e); + } + } + set { + this[this.tablev_selOperMtz.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string value { + get { + return ((string)(this[this.tablev_selOperMtz.valueColumn])); + } + set { + this[this.tablev_selOperMtz.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IslabelNull() { + return this.IsNull(this.tablev_selOperMtz.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetlabelNull() { + this[this.tablev_selOperMtz.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_mtzProgPendingExpRow : global::System.Data.DataRow { + + private v_mtzProgPendingExpDataTable tablev_mtzProgPendingExp; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_mtzProgPendingExpRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_mtzProgPendingExp = ((v_mtzProgPendingExpDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codImpianto { + get { + try { + return ((string)(this[this.tablev_mtzProgPendingExp.codImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.codImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeImpianto { + get { + try { + return ((string)(this[this.tablev_mtzProgPendingExp.nomeImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.nomeImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codMacchina { + get { + try { + return ((string)(this[this.tablev_mtzProgPendingExp.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablev_mtzProgPendingExp.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime data { + get { + try { + return ((global::System.DateTime)(this[this.tablev_mtzProgPendingExp.dataColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'data\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.dataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrizione { + get { + try { + return ((string)(this[this.tablev_mtzProgPendingExp.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrPriorita { + get { + try { + return ((string)(this[this.tablev_mtzProgPendingExp.descrPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrPriorita\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.descrPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool isFermo { + get { + try { + return ((bool)(this[this.tablev_mtzProgPendingExp.isFermoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isFermo\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.isFermoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descrTipo { + get { + try { + return ((string)(this[this.tablev_mtzProgPendingExp.descrTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrTipo\' in table \'v_mtzProgPendingExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgPendingExp.descrTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxPending { + get { + return ((int)(this[this.tablev_mtzProgPendingExp.idxPendingColumn])); + } + set { + this[this.tablev_mtzProgPendingExp.idxPendingColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodImpiantoNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.codImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodImpiantoNull() { + this[this.tablev_mtzProgPendingExp.codImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeImpiantoNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.nomeImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeImpiantoNull() { + this[this.tablev_mtzProgPendingExp.nomeImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodMacchinaNull() { + this[this.tablev_mtzProgPendingExp.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeMacchinaNull() { + this[this.tablev_mtzProgPendingExp.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdataNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.dataColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdataNull() { + this[this.tablev_mtzProgPendingExp.dataColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrizioneNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrizioneNull() { + this[this.tablev_mtzProgPendingExp.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrPrioritaNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.descrPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrPrioritaNull() { + this[this.tablev_mtzProgPendingExp.descrPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsisFermoNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.isFermoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetisFermoNull() { + this[this.tablev_mtzProgPendingExp.isFermoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescrTipoNull() { + return this.IsNull(this.tablev_mtzProgPendingExp.descrTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescrTipoNull() { + this[this.tablev_mtzProgPendingExp.descrTipoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selImpiantiRowChangeEvent : global::System.EventArgs { + + private v_selImpiantiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiRowChangeEvent(v_selImpiantiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selMacchineRowChangeEvent : global::System.EventArgs { + + private v_selMacchineRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineRowChangeEvent(v_selMacchineRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selPriorRowChangeEvent : global::System.EventArgs { + + private v_selPriorRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorRowChangeEvent(v_selPriorRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selAmbitiRowChangeEvent : global::System.EventArgs { + + private v_selAmbitiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiRowChangeEvent(v_selAmbitiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selCausaliMacchineRowChangeEvent : global::System.EventArgs { + + private v_selCausaliMacchineRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selCausaliMacchineRowChangeEvent(v_selCausaliMacchineRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selCausaliMacchineRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selTipoGuastoRowChangeEvent : global::System.EventArgs { + + private v_selTipoGuastoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoRowChangeEvent(v_selTipoGuastoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selSemaforiRowChangeEvent : global::System.EventArgs { + + private v_selSemaforiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiRowChangeEvent(v_selSemaforiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selFreqRowChangeEvent : global::System.EventArgs { + + private v_selFreqRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqRowChangeEvent(v_selFreqRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selStatoRowChangeEvent : global::System.EventArgs { + + private v_selStatoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoRowChangeEvent(v_selStatoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selPeriodiTradRowChangeEvent : global::System.EventArgs { + + private v_selPeriodiTradRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPeriodiTradRowChangeEvent(v_selPeriodiTradRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPeriodiTradRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_elencoImpiantiMacchineRowChangeEvent : global::System.EventArgs { + + private v_elencoImpiantiMacchineRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoImpiantiMacchineRowChangeEvent(v_elencoImpiantiMacchineRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoImpiantiMacchineRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_elencoIntervFiltRowChangeEvent : global::System.EventArgs { + + private v_elencoIntervFiltRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltRowChangeEvent(v_elencoIntervFiltRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class sp_elencoIntMTBF_MTTRRowChangeEvent : global::System.EventArgs { + + private sp_elencoIntMTBF_MTTRRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public sp_elencoIntMTBF_MTTRRowChangeEvent(sp_elencoIntMTBF_MTTRRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public sp_elencoIntMTBF_MTTRRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selFamRowChangeEvent : global::System.EventArgs { + + private v_selFamRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamRowChangeEvent(v_selFamRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_selOperMtzRowChangeEvent : global::System.EventArgs { + + private v_selOperMtzRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzRowChangeEvent(v_selOperMtzRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_mtzProgPendingExpRowChangeEvent : global::System.EventArgs { + + private v_mtzProgPendingExpRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpRowChangeEvent(v_mtzProgPendingExpRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GIM_data.DS_utilityTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selImpiantiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selImpiantiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selImpianti"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label FROM dbo.v_selImpianti\r\norder by label"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT label, value FROM v_selImpianti WHERE (value > 1) ORDER BY label"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selImpiantiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selImpiantiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selImpiantiDataTable dataTable = new DS_utility.v_selImpiantiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selImpiantiDataTable getImpiantiValidi() { + this.Adapter.SelectCommand = this.CommandCollection[1]; + DS_utility.v_selImpiantiDataTable dataTable = new DS_utility.v_selImpiantiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selMacchineTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selMacchineTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selMacchine"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 * FROM dbo.v_selMacchine"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT * FROM dbo.v_selMacchine\r\nwhere conditio=@conditio"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selMacchineDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selMacchineDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selMacchineDataTable dataTable = new DS_utility.v_selMacchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selMacchineDataTable getByConditio(global::System.Nullable conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(conditio.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + DS_utility.v_selMacchineDataTable dataTable = new DS_utility.v_selMacchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selPriorTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPriorTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selPrior"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label FROM dbo.v_selPrior"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selPriorDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selPriorDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selPriorDataTable dataTable = new DS_utility.v_selPriorDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selAmbitiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selAmbitiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selAmbiti"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label\r\nFROM v_selAmbiti\r\nORDER BY label"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selAmbitiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selAmbitiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selAmbitiDataTable dataTable = new DS_utility.v_selAmbitiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selCausaliMacchineTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selCausaliMacchineTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selCausaliMacchine"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label, conditio FROM dbo.v_selCausaliMacchine"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT value, label, conditio\r\nFROM v_selCausaliMacchine\r\nWHERE (" + + "conditio = @conditio)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selCausaliMacchineDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selCausaliMacchineDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selCausaliMacchineDataTable dataTable = new DS_utility.v_selCausaliMacchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selCausaliMacchineDataTable getByConditio(int conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(conditio)); + DS_utility.v_selCausaliMacchineDataTable dataTable = new DS_utility.v_selCausaliMacchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selTipoGuastoTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selTipoGuastoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selTipoGuasto"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label FROM dbo.v_selTipoGuasto"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selTipoGuastoDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selTipoGuastoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selTipoGuastoDataTable dataTable = new DS_utility.v_selTipoGuastoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selSemaforiTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selSemaforiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selSemafori"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label FROM dbo.v_selSemafori"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selSemaforiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selSemaforiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selSemaforiDataTable dataTable = new DS_utility.v_selSemaforiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selFreqTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFreqTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selFreq"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label FROM dbo.v_selFreq"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selFreqDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selFreqDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selFreqDataTable dataTable = new DS_utility.v_selFreqDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selStatoTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selStatoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selStato"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label FROM dbo.v_selStato"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selStatoDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selStatoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selStatoDataTable dataTable = new DS_utility.v_selStatoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selPeriodiTradTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selPeriodiTradTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selPeriodiTrad"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label, conditio FROM dbo.v_selPeriodiTrad"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT conditio, label, value FROM v_selPeriodiTrad WHERE (conditio = @conditio) " + + "ORDER BY value"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selPeriodiTradDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selPeriodiTradDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selPeriodiTradDataTable dataTable = new DS_utility.v_selPeriodiTradDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selPeriodiTradDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + throw new global::System.ArgumentNullException("conditio"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); + } + DS_utility.v_selPeriodiTradDataTable dataTable = new DS_utility.v_selPeriodiTradDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_elencoImpiantiMacchineTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoImpiantiMacchineTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_elencoImpiantiMacchine"; + tableMapping.ColumnMappings.Add("codImpianto", "codImpianto"); + tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto"); + tableMapping.ColumnMappings.Add("tipoImpianto", "tipoImpianto"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + tableMapping.ColumnMappings.Add("modello", "modello"); + tableMapping.ColumnMappings.Add("matricola", "matricola"); + tableMapping.ColumnMappings.Add("anno", "anno"); + tableMapping.ColumnMappings.Add("kgPeso", "kgPeso"); + tableMapping.ColumnMappings.Add("kwConsumo", "kwConsumo"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 codImpianto, nomeImpianto, tipoImpianto, codMacchina, nomeMacchina, modell" + + "o, matricola, anno, kgPeso, kwConsumo FROM dbo.v_elencoImpiantiMacchine"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_elencoImpiantiMacchineDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_elencoImpiantiMacchineDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_elencoImpiantiMacchineDataTable dataTable = new DS_utility.v_elencoImpiantiMacchineDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_elencoIntervFiltTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_elencoIntervFiltTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_elencoIntervFilt"; + tableMapping.ColumnMappings.Add("numIntMtz", "numIntMtz"); + tableMapping.ColumnMappings.Add("richiesta", "richiesta"); + tableMapping.ColumnMappings.Add("codImpianto", "codImpianto"); + tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("inizioIntervento", "inizioIntervento"); + tableMapping.ColumnMappings.Add("fineIntervento", "fineIntervento"); + tableMapping.ColumnMappings.Add("descrizioneIntervento", "descrizioneIntervento"); + tableMapping.ColumnMappings.Add("descrCausale", "descrCausale"); + tableMapping.ColumnMappings.Add("minErogati", "minErogati"); + tableMapping.ColumnMappings.Add("durataMtz", "durataMtz"); + tableMapping.ColumnMappings.Add("durataOff", "durataOff"); + tableMapping.ColumnMappings.Add("guasto", "guasto"); + tableMapping.ColumnMappings.Add("idxStato", "idxStato"); + tableMapping.ColumnMappings.Add("idxImpianto", "idxImpianto"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 * FROM dbo.v_elencoIntervFilt"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = @"SELECT codImpianto, codMacchina, descrCausale, descrizione, descrizioneIntervento, durataMtz, durataOff, fineIntervento, guasto, idxImpianto, idxMacchina, idxStato, inizioIntervento, minErogati, nomeImpianto, nomeMacchina, numIntMtz, richiesta FROM v_elencoIntervFilt WHERE (richiesta BETWEEN @inizio AND @fine)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = @"SELECT v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.descrCausale, v_elencoIntervFilt.descrizione, v_elencoIntervFilt.descrizioneIntervento, v_elencoIntervFilt.durataMtz, v_elencoIntervFilt.durataOff, v_elencoIntervFilt.fineIntervento, v_elencoIntervFilt.guasto, v_elencoIntervFilt.idxImpianto, v_elencoIntervFilt.idxMacchina, v_elencoIntervFilt.idxStato, v_elencoIntervFilt.inizioIntervento, v_elencoIntervFilt.minErogati, v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina, v_elencoIntervFilt.numIntMtz, v_elencoIntervFilt.richiesta FROM v_elencoIntervFilt INNER JOIN FiltroImpianti ON v_elencoIntervFilt.idxImpianto = FiltroImpianti.idxImpianto INNER JOIN FiltroMacchine ON v_elencoIntervFilt.idxMacchina = FiltroMacchine.idxMacchina INNER JOIN FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username) AND (FiltroMacchine.username = @username) AND (FiltroImpianti.username = @username)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_elencoIntervFiltDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_elencoIntervFiltDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_elencoIntervFiltDataTable dataTable = new DS_utility.v_elencoIntervFiltDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_elencoIntervFiltDataTable getByIntervDate(System.DateTime inizio, System.DateTime fine) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(inizio)); + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(fine)); + DS_utility.v_elencoIntervFiltDataTable dataTable = new DS_utility.v_elencoIntervFiltDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_elencoIntervFiltDataTable getByIntervDateUsernameFilt(System.DateTime inizio, System.DateTime fine, string username) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(inizio)); + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(fine)); + if ((username == null)) { + throw new global::System.ArgumentNullException("username"); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(username)); + } + DS_utility.v_elencoIntervFiltDataTable dataTable = new DS_utility.v_elencoIntervFiltDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class sp_elencoIntMTBF_MTTRTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public sp_elencoIntMTBF_MTTRTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "sp_elencoIntMTBF_MTTR"; + tableMapping.ColumnMappings.Add("numInterventi", "numInterventi"); + tableMapping.ColumnMappings.Add("totOreMtz", "totOreMtz"); + tableMapping.ColumnMappings.Add("totOreOfficina", "totOreOfficina"); + tableMapping.ColumnMappings.Add("codImpianto", "codImpianto"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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.sp_elencoIntMTBF_MTTR"; + 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("@inizio", 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("@fine", 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("@username", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.sp_elencoIntMTBF_MTTRDataTable dataTable, global::System.Nullable inizio, global::System.Nullable fine, string username) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((inizio.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((fine.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((username == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(username)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.sp_elencoIntMTBF_MTTRDataTable GetData(global::System.Nullable inizio, global::System.Nullable fine, string username) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((inizio.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((fine.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((username == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(username)); + } + DS_utility.sp_elencoIntMTBF_MTTRDataTable dataTable = new DS_utility.sp_elencoIntMTBF_MTTRDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selFamTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selFamTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selFam"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 value, label FROM dbo.v_selFam"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selFamDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selFamDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selFamDataTable dataTable = new DS_utility.v_selFamDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selOperMtzTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_selOperMtzTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_selOperMtz"; + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("value", "value"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 * FROM v_selOperMtz"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT * FROM v_selOperMtz WHERE (value = @value)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_selOperMtzDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_selOperMtzDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_selOperMtzDataTable dataTable = new DS_utility.v_selOperMtzDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_selOperMtzDataTable getByValue(string value) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((value == null)) { + throw new global::System.ArgumentNullException("value"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value)); + } + DS_utility.v_selOperMtzDataTable dataTable = new DS_utility.v_selOperMtzDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_mtzProgPendingExpTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_mtzProgPendingExpTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "v_mtzProgPendingExp"; + tableMapping.ColumnMappings.Add("codImpianto", "codImpianto"); + tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + tableMapping.ColumnMappings.Add("data", "data"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita"); + tableMapping.ColumnMappings.Add("isFermo", "isFermo"); + tableMapping.ColumnMappings.Add("descrTipo", "descrTipo"); + tableMapping.ColumnMappings.Add("idxPending", "idxPending"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 codImpianto, nomeImpianto, codMacchina, nomeMacchina, data, descrizion" + + "e, descrPriorita, isFermo, descrTipo, idxPending\r\nFROM v_mtzProgPendingE" + + "xp\r\nORDER BY data"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT codImpianto, codMacchina, data, descrPriorita, descrTipo, descrizione, idx" + + "Pending, isFermo, nomeImpianto, nomeMacchina FROM v_mtzProgPendingExp WHERE (dat" + + "a <= @dataMax) ORDER BY data"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataMax", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_utility.v_mtzProgPendingExpDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_utility.v_mtzProgPendingExpDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_utility.v_mtzProgPendingExpDataTable dataTable = new DS_utility.v_mtzProgPendingExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_utility.v_mtzProgPendingExpDataTable getByDataMax(global::System.Nullable dataMax) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((dataMax.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(dataMax.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + DS_utility.v_mtzProgPendingExpDataTable dataTable = new DS_utility.v_mtzProgPendingExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_utility.xsc b/Projects/WebGIM/GIM_data/DS_utility.xsc new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_utility.xsc @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_utility.xsd b/Projects/WebGIM/GIM_data/DS_utility.xsd new file mode 100644 index 0000000..818ce3a --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_utility.xsd @@ -0,0 +1,907 @@ + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selImpianti +order by label + + + + + + + + + + + + + + SELECT label, value FROM v_selImpianti WHERE (value > 1) ORDER BY label + + + + + + + + + + + + SELECT * FROM dbo.v_selMacchine + + + + + + + + + + + + + + + SELECT * FROM dbo.v_selMacchine +where conditio=@conditio + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selPrior + + + + + + + + + + + + + + + + + SELECT value, label +FROM v_selAmbiti +ORDER BY label + + + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selCausaliMacchine + + + + + + + + + + + + + + + SELECT value, label, conditio +FROM v_selCausaliMacchine +WHERE (conditio = @conditio) + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selTipoGuasto + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selSemafori + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selFreq + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selStato + + + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selPeriodiTrad + + + + + + + + + + + + + + + SELECT conditio, label, value FROM v_selPeriodiTrad WHERE (conditio = @conditio) ORDER BY value + + + + + + + + + + + + + + SELECT codImpianto, nomeImpianto, tipoImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo FROM dbo.v_elencoImpiantiMacchine + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * FROM dbo.v_elencoIntervFilt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT codImpianto, codMacchina, descrCausale, descrizione, descrizioneIntervento, durataMtz, durataOff, fineIntervento, guasto, idxImpianto, idxMacchina, idxStato, inizioIntervento, minErogati, nomeImpianto, nomeMacchina, numIntMtz, richiesta FROM v_elencoIntervFilt WHERE (richiesta BETWEEN @inizio AND @fine) + + + + + + + + + + + SELECT v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.descrCausale, v_elencoIntervFilt.descrizione, v_elencoIntervFilt.descrizioneIntervento, v_elencoIntervFilt.durataMtz, v_elencoIntervFilt.durataOff, v_elencoIntervFilt.fineIntervento, v_elencoIntervFilt.guasto, v_elencoIntervFilt.idxImpianto, v_elencoIntervFilt.idxMacchina, v_elencoIntervFilt.idxStato, v_elencoIntervFilt.inizioIntervento, v_elencoIntervFilt.minErogati, v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina, v_elencoIntervFilt.numIntMtz, v_elencoIntervFilt.richiesta FROM v_elencoIntervFilt INNER JOIN FiltroImpianti ON v_elencoIntervFilt.idxImpianto = FiltroImpianti.idxImpianto INNER JOIN FiltroMacchine ON v_elencoIntervFilt.idxMacchina = FiltroMacchine.idxMacchina INNER JOIN FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username) AND (FiltroMacchine.username = @username) AND (FiltroImpianti.username = @username) + + + + + + + + + + + + + + + + dbo.sp_elencoIntMTBF_MTTR + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selFam + + + + + + + + + + + + + + + + + SELECT * FROM v_selOperMtz + + + + + + + + + + + + + + SELECT * FROM v_selOperMtz WHERE (value = @value) + + + + + + + + + + + + + + SELECT codImpianto, nomeImpianto, codMacchina, nomeMacchina, data, descrizione, descrPriorita, isFermo, descrTipo, idxPending +FROM v_mtzProgPendingExp +ORDER BY data + + + + + + + + + + + + + + + + + + + + + + SELECT codImpianto, codMacchina, data, descrPriorita, descrTipo, descrizione, idxPending, isFermo, nomeImpianto, nomeMacchina FROM v_mtzProgPendingExp WHERE (data <= @dataMax) ORDER BY data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_utility.xss b/Projects/WebGIM/GIM_data/DS_utility.xss new file mode 100644 index 0000000..8891e4a --- /dev/null +++ b/Projects/WebGIM/GIM_data/DS_utility.xss @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/GIM_data.csproj b/Projects/WebGIM/GIM_data/GIM_data.csproj new file mode 100644 index 0000000..950b398 --- /dev/null +++ b/Projects/WebGIM/GIM_data/GIM_data.csproj @@ -0,0 +1,140 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {F66427C8-882A-4EF8-B42F-EF142906DC8C} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + GIM_data + GIM_data + v3.5 + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + 3.5 + + + 3.5 + + + 3.5 + + + 3.5 + + + + + + + + + + + + + + + True + True + DS_applicazione.xsd + + + True + True + DS_utility.xsd + + + + + + + + + + + + + DS_applicazione.xsd + + + MSDataSetGenerator + DS_applicazione.Designer.cs + Designer + + + DS_applicazione.xsd + + + DS_utility.xsd + + + MSDataSetGenerator + DS_utility.Designer.cs + Designer + + + DS_utility.xsd + + + + + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} + SteamWare + + + + + + + + + + + + + False + True + 51125 + / + + + False + False + + + False + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/GIM_data.csproj.user b/Projects/WebGIM/GIM_data/GIM_data.csproj.user new file mode 100644 index 0000000..ded0e13 --- /dev/null +++ b/Projects/WebGIM/GIM_data/GIM_data.csproj.user @@ -0,0 +1,32 @@ + + + + + + + + CurrentPage + True + False + False + RunFiles + + + False + True + + + + + + + + + False + True + False + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/Properties/AssemblyInfo.cs b/Projects/WebGIM/GIM_data/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..dc1b309 --- /dev/null +++ b/Projects/WebGIM/GIM_data/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("GIM_data")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("GIM_data")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Projects/WebGIM/GIM_data/TA_app.cs b/Projects/WebGIM/GIM_data/TA_app.cs new file mode 100644 index 0000000..70a04c4 --- /dev/null +++ b/Projects/WebGIM/GIM_data/TA_app.cs @@ -0,0 +1,153 @@ +using System; +using System.Collections.Generic; +using System.Web; +using SteamWare; + +/// +/// Summary description for TA_app +/// +public class TA_app +{ + #region table adapters + + public GIM_data.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter taLogUpdate; + public GIM_data.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter taImpianti; + public GIM_data.DS_applicazioneTableAdapters.v_macchineTableAdapter taMacchine; + public GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter taSelImpianti; + public GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter taSelMacchine; + public GIM_data.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter taMacc2Fam; + public GIM_data.DS_applicazioneTableAdapters.v_intervExpTableAdapter taInterventiMtz; + public GIM_data.DS_applicazioneTableAdapters.AnagStatiTableAdapter taStati; + public GIM_data.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter taPrior; + public GIM_data.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter taIntOpMtz; + public GIM_data.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter taMtzPro; + public GIM_data.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter taElencoImpMacch; + public GIM_data.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter taElencoIntFilt; + public GIM_data.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter taElenco_MTBF_MTTR; + public GIM_data.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter taCalFF; + public GIM_data.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter taOreApert; + public GIM_data.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter taFiltImp; + public GIM_data.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter taFiltMac; + public GIM_data.DS_applicazioneTableAdapters.FiltroStatiTableAdapter taFiltSta; + public GIM_data.DS_applicazioneTableAdapters.AnagCausaliTableAdapter taAnagCau; + public GIM_data.DS_utilityTableAdapters.v_selOperMtzTableAdapter taSelMatrOp; + + #endregion + + protected TA_app() + { + // avvio table adapters + taLogUpdate = new GIM_data.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter(); + taImpianti = new GIM_data.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter(); + taMacchine = new GIM_data.DS_applicazioneTableAdapters.v_macchineTableAdapter(); + taSelImpianti = new GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter(); + taSelMacchine = new GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter(); + taMacc2Fam = new GIM_data.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter(); + taInterventiMtz = new GIM_data.DS_applicazioneTableAdapters.v_intervExpTableAdapter(); + taStati = new GIM_data.DS_applicazioneTableAdapters.AnagStatiTableAdapter(); + taPrior = new GIM_data.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter(); + taIntOpMtz = new GIM_data.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter(); + taMtzPro = new GIM_data.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter(); + taElencoImpMacch = new GIM_data.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter(); + taElencoIntFilt = new GIM_data.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter(); + taElenco_MTBF_MTTR = new GIM_data.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter(); + taCalFF = new GIM_data.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter(); + taOreApert = new GIM_data.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter(); + taFiltImp = new GIM_data.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter(); + taFiltMac = new GIM_data.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter(); + taFiltSta = new GIM_data.DS_applicazioneTableAdapters.FiltroStatiTableAdapter(); + taAnagCau = new GIM_data.DS_applicazioneTableAdapters.AnagCausaliTableAdapter(); + taSelMatrOp = new GIM_data.DS_utilityTableAdapters.v_selOperMtzTableAdapter(); + } + /// + /// Singleton + /// + public static TA_app obj = new TA_app(); + /// + /// restituisce versione corrente del db applicativo + /// + public int appDB_act + { + get + { + int answ = -1; + try + { + answ = (int)taLogUpdate.getDbVers(); + } + catch + { + logger.lg.scriviLog("Errore recupero versione DB applicativo GIM!", tipoLog.EXCEPTION); + } + return answ; + } + } + /// + /// restituisce versione corrente del db vocabolario + /// + public int vocDB_act + { + get + { + int answ = -1; + try + { + answ = (int)DataWrap.DW.taLogVoc.getDbVers(); + } + catch + { + logger.lg.scriviLog("Errore recupero versione DB Vocabolario!", tipoLog.EXCEPTION); + } + return answ; + } + } + /// + /// restituisce versione corrente del db anagrafica + /// + public int anaDB_act + { + get + { + int answ = -1; + try + { + answ = answ = (int)DataWrap.DW.taLogAna.getDbVers(); + } + catch + { + logger.lg.scriviLog("Errore recupero versione DB Anagrafica!", tipoLog.EXCEPTION); + } + return answ; + } + } + /// + /// restituisce versione richiesta per il db applicativo + /// + public int appDB_req + { + get + { + return memLayer.ML.confReadInt("dbAppVers"); + } + } + /// + /// restituisce versione richiesta per il db vocabolario + /// + public int vocDB_req + { + get + { + return memLayer.ML.confReadInt("dbVocabVers"); + } + } + /// + /// restituisce versione richiesta per il db anagrafica + /// + public int anaDB_req + { + get + { + return memLayer.ML.confReadInt("dbAuthVers"); + } + } +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/Web.config b/Projects/WebGIM/GIM_data/Web.config new file mode 100644 index 0000000..3902980 --- /dev/null +++ b/Projects/WebGIM/GIM_data/Web.config @@ -0,0 +1,125 @@ + + + + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_data/WebGimUtils.cs b/Projects/WebGIM/GIM_data/WebGimUtils.cs new file mode 100644 index 0000000..febace3 --- /dev/null +++ b/Projects/WebGIM/GIM_data/WebGimUtils.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections.Generic; +using System.Web; +using SteamWare; + +/// +/// Utility varie di WebGim +/// +public class WebGimUtils +{ + protected WebGimUtils() + { + } + /// + /// calcola le ore lavorative equivalenti ad un dato periodo calcolando la settimana tipo e togliendo le festività eventualmente presenti + /// + /// + /// + public double oreEquivalenti(intervalloDate periodo) + { + double answ = 0; + // carico valori di default + double oreSett = (double)TA_app.obj.taOreApert.oreAperturaSett(); + GIM_data.DS_applicazione.OreAperturaSettDataTable tabOre = TA_app.obj.taOreApert.GetData(); + GIM_data.DS_applicazione.CalendFesteFerieDataTable tabCalFF = TA_app.obj.taCalFF.getByPeriodo(periodo.inizio, periodo.fine); + // calcolo il numero di settimane comprese nel periodo + int numSett = (int)Math.Floor(periodo.fine.Subtract(periodo.inizio).TotalDays / 7); + // moltiplico per le h/sett + answ = oreSett * numSett; + // aggiungo le ore delle giornate che eccedono il multiplo delle settimane + int numGgRimanenti = (int)(periodo.fine.Subtract(periodo.inizio).TotalDays - numSett * 7); + // NB: dayOfWeek è 0-6 da domenica a sabato... + int ggSett = (int)periodo.inizio.DayOfWeek; + for (int i = 0; i < numGgRimanenti; i++) + { + // il primo giorno è pari al giorno iniziale... e poi calcolo il "modulo" a 7 (con "%") + answ = answ + (double)tabOre[(i + ggSett)%7].apertura; + } + // cerco eventuali festività che cadano nel periodo e le tolgo + foreach (GIM_data.DS_applicazione.CalendFesteFerieRow riga in tabCalFF) + { + answ = answ - (double)tabOre[(int)riga.data.DayOfWeek].apertura; + } + // restituisco risposta + return answ; + } + + public static WebGimUtils obj = new WebGimUtils(); +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/bin/GIM_data.dll b/Projects/WebGIM/GIM_data/bin/GIM_data.dll new file mode 100644 index 0000000..a3d4864 Binary files /dev/null and b/Projects/WebGIM/GIM_data/bin/GIM_data.dll differ diff --git a/Projects/WebGIM/GIM_data/bin/ICSharpCode.SharpZipLib.dll b/Projects/WebGIM/GIM_data/bin/ICSharpCode.SharpZipLib.dll new file mode 100644 index 0000000..e829ebf Binary files /dev/null and b/Projects/WebGIM/GIM_data/bin/ICSharpCode.SharpZipLib.dll differ diff --git a/Projects/WebGIM/GIM_data/bin/SteamWare.XML b/Projects/WebGIM/GIM_data/bin/SteamWare.XML new file mode 100644 index 0000000..bb36e2b --- /dev/null +++ b/Projects/WebGIM/GIM_data/bin/SteamWare.XML @@ -0,0 +1,3104 @@ + + + + SteamWare + + + + + Represents a strongly typed in-memory cache of data. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + classe con funzioni specifiche di calcolo + + + + + inizializzazione classe + + + + + elenco dei caratteri base 36: 0..9A..Z + + + + + + converte da base di dimensione nBase a valore intero + + valore in formato nBase + base, max 36 (0..9A..Z) + + + + + metodo di accesso singleton + + + + + Summary description for selettori + + + + + + + + + + + + + + + carica i dati CdC se in cache o da TableAdapter + + + + + restituisce l'elenco di tutti i cdc + + + + + + restituisce l'elenco di tutti i cdc della gerarchia dell'utente + + + + + + classe gestione logging esteso di eventi e note utente (correlabili) + + + + + TableAdapter di accesso alla tabella anagrafica filtraggi + + + + + TableAdapter di accesso alla tabella anagrafica record + + + + + TableAdapter di accesso alla tabella logging record di eventi + + + + + TableAdapter di accesso alla tabella logging utente + + + + + TableAdapter di accesso alla vista logging eventi + + + + + TableAdapter di accesso alla vista logging utente + + + + + effettua setup dei connection strings da web.config delal singola applicazione + + + + + avvio i tari tableAdapters + + + + + avvio della classe istanziando db e + + + + + oggetto statico di accesso ai metodi della classe... + + + + + tabella eventi + + + + + + tabella note + + + + + + tabella eventi secondo filtro + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + + + + + tabella note secondo filtro + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + + + + + tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" + + + + + tabella note secondo filtro e condizione ulteriore WHERE esplicitata + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" + + + + + tabella note secondo filtro + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + + + + + inserisce l'evento indicato dai parametri + + user che ha generato l'evento + pagina/form applicaizone in cui l'evento si è generato + valore originale(se c'è) + valore nuovo/modificato + descrizione evento (poi gestita con anagrafica interna) + filtro logico evento (poi gestita con anagrafica interna) + + + + inserisce la nota utente indicata dai parametri, restituisce idx della nota creata... + + user che ha inserito la nota + testo della nota + valore ulteriore da associare alla nota (es: label, codice, versione, ...) + filtro logico evento (poi gestita con anagrafica interna) + intero dell'idx della nota creata + + + + associa l'evento e la nota indicati + + idx del record da associare + idx chiave della nota da associare + + + + associa l'ultimo evento del filtro indicato alla nota + + filtro associato all'ultimo evento... + idx chiave della nota da associare + + + + segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati + + utente generatore dell'evento + + + + segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati + + utente generatore dell'evento + + + + Elimina gli eventi cestinati generati dall'utente indicato + + utente generatore dell'evento + + + + Elimina gli eventi cestinati anteriori alla data selezionata + + dataOra dell'evento + + + + effettua la registrazione dell'evento in session + + + + + metodo di comportamento del controllo di logging + + + + + nasconde pannello log + + + + + memorizza log inserito + + + + + mostra pannello log + + + + + metodo di comportamento del controllo di logging + + + + + indica il primo step del doppio livello di approvazione (completamento) + + + + + SOLO con incremento indice di revisione dell'oggetto approvato + + + + + SOLO mantenendo indice di revisione corrente + + + + + permette SIA con revisione che senza (e anche rev -1) + + + + + classe di wrap verso i TableAdapter impiegati + + + + + metodo protected di avvio della classe + + + + + procedura di avvio dei tableAdapter + + + + + procedura di avvio dei tableAdapter + + + + + effettua setup dei connection strings da web.config delal singola applicazione + + + + + effettua setup dei connection strings da web.config delal singola applicazione + + + + + setup delle tabelle vocabolario + + + + + prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary + + + + + + tableAdapter diritti + + + + + tableAdapter permessi + + + + + tableAdapter funzione + + + + + tableAdapter permessi2funzione + + + + + tableAdapter CdC + + + + + tableAdapter utenti + + + + + table adapter lingue + + + + + table adapter vocabolario + + + + + table adapter versione vocabolario + + + + + table adapter versione anagrafica + + + + + oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione + + + + + resetta il vocabolario rileggendo i dati... + + + + + crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--" + + + + + + + classe singleton x la gestione dei tableadapters + + + + + elenco lingue ammesse da vocabolario... + + + + + struttura di comando da input utente (es: via barcode) + + + + + definisce se il comando sia valido o no + + + + + testo da mostrare dato il comando + + + + + comando registrato + + + + + comando precedentemente inserito + + + + + descrizione del comando + + + + + descrizione del comando precedente + + + + + valore del comando + + + + + valore tradotto del comando + + + + + costruttore del metodo... + + + + + Pagina base applicazioni SteamWare da cui derivare le altre + + + + + Iniziazlizzazione void (non fa nulla) + + + + + Metodo MAIN: viene eseguita al caricamento ed effettua delle routines per il controllo utente e istanzia l'oggetto memLayer + + + + + + + rimanda alla pagina di Work In Progress salvando in session un titolo ed una descrizione che al pagina wip poi mostrerà all'utente + + titolo da mostrare nella pagina WIP + descrizione da mostrare nella pagina WIP + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents a strongly typed in-memory cache of data. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + tipo di chart (2D/3D) + + + + + 2D + + + + + 3D + + + + + web control che disegna un grafico a torta + + + + + altezza di default + + + + + larghezza di default + + + + + padding di default + + + + + legenda visibile di default + + + + + soglia minima 5% per mostrare il dato + + + + + renderizza il contenuto + + + + + + disegna la leggenda html laterale... + + + + + + disegna piechart 2-dim + + + + + + disegna piechart 3d ellittica + + + + + + traduce la stringa colore in oggetto colore + + + + + + + converte intero a stringa esadecimale + + + + + + + converte stringa esadecimale a intero + + + + + + + tipo di grafico (2D/3D) + + + + + ampiezza del grafico + + + + + altezza del grafico + + + + + padding grafico/container + + + + + boolean se si debba mostrale la legenda + + + + + percentuale minima da mostrare + + + + + serie di dati (tipizzata) ma mostrare + + + + + testo associato al controllo + + + + + layer gestione vari tipi di memoria: cache, session... + + + + + lettore file configurazione + + + + + oggetto singleton x accesso al layer di memoria + + + + + classe gestione accessi a Session, cache, viewstate, configuration... + + + + + legge dalla config un valore bool + + + + + + + legge dalla config un valore string + + + + + + + legge dalla config un valore int + + + + + + + carica dalla sessione un dato di tipo object generico + + + + + + + carica dalla sessione un dato di tipo boolean (se vuoto false) + + + + + + + carica dalla sessione un dato di tipo string + + + + + + + carica dalla sessione un dato di tipo long + + + + + + + carica dalla sessione un dato di tipo int + + + + + + + inserisce in session un valore + + + + + + + salvo un valore come cookie + + + + + + + + restituisco un valore da cookie + + + + + + + inserisce in session un valore + + nome della variabile + valore associato + indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd) + + + + + svuota una variabile dalla session + + + + + + restituisce true se è presente in session l'oggetto richiesto + + + + + + + carica dalla Cache un dato di tipo object generico + + + + + + + carica dalla Cachee un dato di tipo boolean (se vuoto false) + + + + + + + carica dalla Cachee un dato di tipo string + + + + + + + inserisce in Cache un valore + + nome della variabile + valore + + + + inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update.. + + nome della variabile + valore + da registrare come tabella da svuotare on update? + + + + + svuota una variabile dalla Cache + + + + + + restituisce true se è presente in cache l'oggetto richiesto + + + + + + + aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update + + + + + + aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...) + + + + + + + forza lo svuotamento delel tabelle indicate come in cache... + + + + + elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... + + + + + elenco dictionary dei valori in session da NON aggiornare con update... + + + + + classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali + + + + + valore originale + + + + + nuovo valore + + + + + dictionary dei parametri vecchi + + + + + dictionary dei parametri nuovi + + + + + inizializzazione classe + + + + + valorizza i diff dei valori old e new + + + + + calcola solo il vettore dei valori old (x delete) + + + + + oggetto statico per il confronto valori + + + + + stringa diff dei valori originali modificati + + + + + stringa diff dei valori nuovi modificati + + + + + dictionary dei parametri old + + + + + dictionary dei parametri new + + + + + Base class for every user control in the application, containing some common + behaviour and utility methods. + It is not meant to be be used directly. + + + + + tipo id controllo con classi di base comune da cui derivare gli *.asmx + + + + + nome della pagina correntemente caricata + + + + + memorizza la pagina precedente (ovvero la corrente ma non da page-object ma in session... + + + + + stringa con CDC in (...) dei cdc abilitati (da permesso gerarchicamente a discendere...) + + + + + stringa con elenco CDC abilitati (da permesso gerarchicamente a discendere...) + + + + + tabella diritti + + + + + tabella di tutti i cdc + + + + + tipo di anagrafica usata + + + + + importo il tipo di vista del modulo + + + + + elenco testuale csv dei cdc accessibili all'utente (x filtri tipo IN(...)) + + + + + numero di righe standard x i datagrid + + + + + numero di righe standard x i datagrid di anagrafica + + + + + numero di righe standard x i datagrid lunghi + + + + + numero di righe standard x i datagrid medi + + + + + numero di righe standard x i datagrid su mezza pagina + + + + + numero di righe standard x i selettori popup + + + + + indirizzo email dell'admin applicativo cui vanno le email in caso di anomalie... + + + + + indirizzo email dell'applicativo da cui partono le email in caso di anomalie... + + + + + indirizzo server SMTP + + + + + elenco delle pagine "safe" ovvero da non autorizzare - da web.config + + + + + elenco delle pagine "common" ovvero da autorizzare ma senza bisogno diritti in anagrafica - da web.config + + + + + valore che determina se è possibile forzare impersonificazioen utente... + + + + + livello di log (1-->5) + + + + + dir di logging + + + + + MAIN: esecuzione al caricamento del modulo delle routines di controllo utente e creazione pagina + + + + + + + predisposizione dati x pagina da cache/database a seconda della disponibilità in cache o refresh (B.1.4) + + + + + popola gli oggetti e le labels... (B.1.6) + + + + + disegna la pagina: prima i controlli poi il datagrid + + + + + aggiunge i link x i selettori + + + + + sistema i vari controlli della pagina + + + + + aggiorna eventuali datalist e datagrid + + + + + sistema tutte le labels traducendo i lemmi nella lingua utente ed in inglese + + + + + calcola come percentuale la radio dividendo/divisore + + + + + + + + limita una stringa al numero max di caratteri imposto + + + + + + + + Reads data from a stream until the end is reached. The + data is returned as a byte array. An IOException is + thrown if any of the underlying IO calls fail. + + The stream to read data from + The initial buffer length + + + + converte una data in formato aaaammgg in stringa gg/mm/aaaa + + + + + + + converte una data in formato aaaammgg in stringa aaaa-mm-gg + + + + + + + converte una stringa in formato gg/mm/aaaa in stringa(intero data) in formato aaaammgg + + + + + + + converte una datetime in un intero tipo yyyymmddhhmmss + + + + + + + formatta la data in formato dateTime in una data formato italiano come stringa gg/mm/aaaa + + + + + + + invia un alert jscript con messaggio indicato... + + messaggio dell'alert da mandare + + + + scrive immediatamente sulla pagina web il messaggio di avanzamento... + + + + + + restituisce una scringa formattata in testa e coda x essere un corretto comando javascript + + + + + + + invio email senza log + + + + + + + + + + invio email con log + + + + + + + + + + caricamento dati applicazione da sessione (B.1.3) + + + + + setup datamanagers... + + + + + reset update del modulo corrente + + + + + (ri)carica i dataset del modulo + + + + + verifica se tutti i dataset richiesti sono disponibili i cache + + + + + + salva nella cache i dataset caricati + + + + + carica dalla cache i dataset necessari + + + + + legge i valori standard x dataset e parametri + + + + + leggi i parametri di configurazione standard dell'applicativo + + + + + genera la stringa dei cdc autorizzati dell'utente + + + + + legge il dataset dei CdC + + + + + caricamento dati user da sessione (B.1.1) + + + + + verifica che l'utente abbia almeno un permesso per la pagina corrente altrimenti redirect ad unauthorized + + + + + salva in variabile pagina il nome della pagina corrente + + + + + selezione delle posizioni cdc autorizzate come stringa di filtraggio su POSIZIONE LIKE, se non ce ne fossero redirige su unauthorized.aspx + + + + + + risponde alla domanda se l'utente abbia permesso tipo writable (S) nel permessi2funzione + + + + + + verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio da accodare al filtro x CdC autorizzati + + condizione + tipo di eguaglianza + nome parametro + valore parametro + + + + + crea la stringa di filtraggio x data secondo modalità tipo inizio/fine/durante... + + + + + + crea la stringa di filtraggio x data secondo modalità tipo minoreUguale / uguale / maggioreUguale... + + + + + + verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio tipo LIKE x i campi inseriti separati da # SE valParam !="" + + + + + + + + esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi + + filtro con cui cercare i cdc (del tipo " (POSIZIONE LIKE 'T.1.2.3%') OR ... " + stringa di filtraggio ricostruita per l'elenco dei cdc fino a quel momento trovati + ultimo cdc trovato + cdc corrente + + + + + restituisce il cdc dell'utente data la sua matricola + + + + + + + restituisce l'utente AS dall'utente win + + + + + + + restituisce la descr del CdC + + + + + + + invia la stringa jscript di conferma pre-cancellazione + + + + + + restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" + + verrà usato x posizione {0}, tipo "view" + verrà usato x posizione {1}, tipo "_s.png" + + + + + restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" + + verrà usato x posizione {0}, tipo "view" + verrà usato x posizione {1}, tipo "_s.png" + tipo del file richiesto..." + + + + + effettua traduzione del lemma + + + + + + + effettua traduzione in inglese del lemma + + + + + + + definisce visibilità + + + + + + + effettua la registrazione degli eventi + + + + + effettua l'inserimento vero e proprio dell'evento letto dai valori in session x l'utente corrente... + + evento da loggare + valori originali + nuovi valori + filtro associato + + + + salva in sessione i valori indicati + + dictionary dei valori vecchi + dictionary dei valori nuovi + bool su abilitazione al log dell'oggetto + descrizione evento da loggare + filtro associato all'evento + restituisce il numero di elementi contenuti, -1 significa nessuna differenza... + + + + salva in sessione i valori per un oggetto che sta x essere eliminato + + dictionary dei valori vecchi + bool su abilitazione al log dell'oggetto + descrizione evento da loggare + filtro associato all'evento + restituisce il numero di elementi contenuti, -1 significa nessuna differenza... + + + + imposto il tipo di anagrafica del controlloS + + + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + legge e scrive in viewState la stringa di filtraggio... + + + + + variabile salvata in viewstate x la direzione del sorting + + + + + genera la stringa filtro x i cdc autorizzati x l'user + + + + + + tipo di vista del modulo + + + + + Accesso in lettura e scrittura al filesystem per gestione files upload e download + + + + + path di lavoro dei metodi leggi/scrivi + + + + + verifica esistenza directory ed eventualmente crea restituendo nome completo di "/" finale + + + + + + + restituisce una tab di files dato l'elenco dei files + + + + + + + setta le directory + + + + + + oggetto WebClient + + + + + inizializza il metodo alla cartella indicata + + + non serve +... x retrocompatibilità... + + + + metodo di avvio empty + + + + + cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile + + + + + + + cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile + + + + + + + + cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath + + + + + + + Legge i dati da uno stream fino a quando arriva alla fine. + I dati sono restituiti come un byte[] array. un eccezione IOException è + sollevata se una delle chiamate IO sottostanti fallisce. + + Lo stream da cui leggere + Lunghezza buffer iniziale (-1 = default 32k) + + + + verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo + + + + + + ottiene il dataset dei files presenti nella directory indicata esplicitamente + + dir da indicizzare... già mappata! ( es SteamwareStrings.getFilePath(...) ) + + + + + ottiene il dataset dei files presenti nella directory indicata all'istanziazione dell'oggetto + + + + + + ottiene il dataset dei files DEL TIPO "like {param}" presenti nella directory indicata all'istanziazione dell'oggetto + + + + + + elenco dei files come array di oggetti FileInfo + + + + + + elenco dei files come array di oggetti FileInfo filtrati per parametro + + + + + + + elimina la directory di lavoro se è dir virtuale mappata + + + + + + elimina tutti i files con la regexp indicata da una directory, true se cancellato almeno uno + + regexp selezione files in dir (* = tutti!!!) + + + + + verifica se il file indicato esista in workDir + + + + + + + elimina il file indicato dalla directory di lavoro + + + + + + + restituisce lo stream del file richiesto + + + + + + + restituisce la stringa letta dal file richiesto + + + + + + + scrive il file dallo stream byte[] inviato + + + + + + + + scrive il file dalla stringa inviata + + + + + + + + converte una string in un byte[] + + + + + + + converte un byte[] in una string + + + + + + + sposta il file da From a To... + + + + + + + + + copia il file da From a To... + + + + + + + + + copia il file da From a To... + + + + + + + + + + imposta la dir di lavoro + + + + + + imposta la dir di lavoro + + + non serve +... x retrocompatibilità... + + + + imposta la dir di lavoro impostandola dal mapPath corretto della web app... + + + + + + esegue un comando in shell + + + + + + + + + esegue un comando in shell + + + + + + + + + Scarica un file dall'url fornito nella directory indicata x il filemover col nome richiesto + + url del file + nome con cui salvare il file + + + + + comprime zip il file indicato + + + + + + + comprime zip i files corrispondenti alla RegExp indicata nella dir corrente + + Espressione ricerca, come *.txt + Nome del file zip da creare + + + + + calcola la dim della directory corrente... + + + + + + + elimina il file + vecchio + + + + + + + versione statica (singleton) del'oggetto fileMover + + + + + classe gesione log files applicazioni + + + + + directory base x logs + + + + + nome del file corrente + + + + + max mb di log da accumulare + + + + + singleton del logger + + + + + avvio del logger nella dir desiderata + + + + + avvio del logger nella dir desiderata + + + + + avvio del logger nella dir desiderata con il max di dati indicato + + + + + scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?) + + testo iniziale del log + + + + + scrive un messaggio di log con etichetta pre + + testo messaggio + tipo di log da registrare (etichetta [...]) + + + + + fornisce il nome del file in cui loggare (ed eventualmente crea...) + + + + + provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb + + + + + fornisce il file + vecchio + + + + + + + tipo di log ammesso + + + + + informazioni di debug + + + + + errori + + + + + eccezioni nell'esecuzione try/catch + + + + + errori fatali + + + + + informazioni opzionali + + + + + fase di avvio componente + + + + + avvisi + + + + + enumeratore modalità login + + + + + login AD normale + + + + + forza utente fornendo password + + + + + forza ad un utente standard scelto dall'elenco + + + + + enumeratore modalità scrittura tag siteMap + + + + + nodo di tipo iniziale - apertura + + + + + nodo di tipo foglia + + + + + nodo di tipo finale - chiusura + + + + + enumeratore tipi di anagrafica + + + + + tipo di anagrafica Brembo + + + + + tipo di anagrafica generica + + + + + tipo di vista del modulo + + + + + modalità selezione + + + + + modalità editing + + + + + tipologia di file immagine + + + + + formato gif (no alpha channel) + + + + + formato jpeg + + + + + formato png + + + + + tipo di immagini usate per le icone di comando in web applications + + + + + icona annulla (croce rossa) + + + + + icona approva (simbolo coccarda) + + + + + icona barcode in campo bianco + + + + + icona barcode in campo arancio + + + + + icona clona (magic wand) + + + + + icona converma (spunta verde) + + + + + icona elimina (cestino) + + + + + icona modifica (matita) + + + + + icona notepad (blocco note) + + + + + icona notepad + pdf (blocco note) + + + + + icona nuovo (segno +) + + + + + icona seleziona (lente) + + + + + icona semaforo giallo + + + + + icona semaforo rosso + + + + + icona semaforo verde + + + + + icona stampa (printer) + + + + + dimensione immagini usate per le icone di comando in web applications + + + + + formato piccolo + + + + + formato medio + + + + + formato grande + + + + + Represents a strongly typed in-memory cache of data. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + definisce un intervalo di 2 date + + + + + data inizio + + + + + data fine + + + + + struttura orario ordinarie/strordinarie + + + + + ore ordinarie + + + + + ore straordinarie + + + + + classe di funzioni inerenti le date + + + + + inizializzazione empty + + + + + effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine + + + + + + + + oggetto mese precedente alla dataLilmite + + + + + + oggetto mese corrente fino alla dataLilmite + + + + + + confronta le date e restituisce true se le date sono nello stesso mese + + + + + + + + restituisce l'intervallo del giorno completo che comprende la data indicata + + + + + + + restituisce l'intervallo di N giorni fino alla data indicata + + + + + + + + restituisce l'intervallo della settimana corrente per la data indicata + + + + + + + restituisce l'intervallo del mese corrente per la data indicata + + + + + + + restituisce l'intervallo del mese che comprendela data indicata + + + + + + + restituisce l'intervallo dell'anno corrente per la data indicata + + + + + + + classe di gestione delle email + + + + + stringa nel nome DNS o dell'ip del server SMTP + + + + + metodo static per la gestione delle email + + + + + + metodo static per la gestione delle email + + + + + + + procedura invio email + + email mittente + email destinatario + oggetto dell'email + corpo del messaggio + + + + procedura invio email + scrittura in log! + + email mittente + email destinatario + oggetto dell'email + corpo del messaggio + + + + metodo singleton gestione email... + + + + + Tipo di comparazione, Binary == CaseSensitive, Text = insensitive + + + + + tipo controllo : binario + + + + + tipo controllo : text + + + + + Funzione di splitting compatibile con multi-character e multi-line + + + + + stringa da splittare + + + + + Delimiter con cui splittare + + + + + Costruttore dello Splitter + + + + + comparatore case sensitive + + + + + + + + comparatore case insensitive + + + + + + + + parte principale dello splitter + + stringa da splittare + delimitatore ricercato + true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base) + + 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive + + + + + elimina dal nome file il tipo (desinenza) + + + + + + + Classe di metodi che estendono quelli base applicati alle string + + + + + Trasforma in MAIUSCOLo il primo carattere della stringa + + stringa da processare + stringa processata + + + + restituisce la stringa completa e corretta del filepath del server (anche con vDir) + + path relativo alla cartella iis dell'applicativo + path fisico tradotto + + + + effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi + + + + + + + fornisce dati di base per l'utente + + + + + fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE + + + + + + + restituisce la riga completa dall'username richiesto + + + + + + + classe gestione utente: auth e permission/ruoli - versione GENERICA + + + + + cancella da session l'utente + + + + + carica la riga dati utente + + + + + Carica la tabella diritti dell'utente da db e salva in session + + + + + Carica la tabella diritti dell'utente da db e salva in session SOLO per il CDC indicato + + + + + + Effettua setup dei permessi una volta salvati i diritti + + + + + imposta la lingua utente dal valore della riga DB + + + + + costruisce la mappa del sito per l'utente + + + + + formatta un nodo in modo corretto dai dati indicati + + + + + + + + + inizializza la gestione utente... + + + + + traduce il lemma nella lingua dell'user corrente + + + + + + + traduce il lemma in inglese + + + + + + + traduce il lemma nella lingua dell'user e in inglese tra parentesi + + + + + + + Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati + + + + + + + + Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati CON I DIRITTI SOLO per il CDC indicato + + + + + + + + + salva dati accessori quali il cdc dell'utente... + + + + + verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta + + + + + + + verifica le credenziali AD dell'utente... + + + + + + + + conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 + + + + + + + verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') + + + + + + + ricarica e ri-traduce la mappa sito per l'utente... + + + + + retituisce il nome apgina dai permessi utente + + + + + + restituisce cognome e nome di un utente dato username... + + username + + + + + restituisce cognome e nome di un utente data la matricola... + + matricola + + + + + restituisce cognome e nome di un utente dato username e dominio... + + username + dominio + + + + + restituisce cognome e nome di un utente dato username... + + username + + + + + restituisce cognome e nome di un utente dato username e dominio... + + username + dominio + + + + + restituisce cognome e nome di un utente dato username eventualmente comprensivo di dominio... + + {dominio\}userName + + + + + restituisce l'elenco delle funzioni abilitate dato modulo ed username partendo dalla radice dell'albero dei diritti + + + + + + + + restituisce l'elenco degli utenti dato i diritti che devono avere come modulo/funzione + + nome del modulo + nome della funzione + tabella utenti + + + + restituisce l'elenco delle email degli utenti dato i diritti che devono avere come modulo/funzione + + nome del modulo + nome della funzione + stringa di email separate da "," + + + + crea un nuovo utente con le credenziali indicate + + + + + + + + + + + + assegna il diritto all'utente indicato + + + + + + + + + + + toglier il diritto all'utente indicato + + + + + + + + + + + restituisce la tabella (per utente corrente) dei CDC abilitati per l'applicazione attuale da sessione (se non c'è salva...) + + modulo di cui si testano i diritti + + + + + versione statica della classe utente come singleton UtenTeSignletoN + + + + + restituisce la tabella diritti da session + + + + + tabella dei permessi utente + + + + + tabella dei permessi utente di tipo "WRITE" enabled + + + + + retituisce username AD + + + + + oggetto utente con metodi get/set + + + + + oggetto dominio con metodi get/set + + + + + oggetto modulo (applicazione) con metodi get/set + + + + + oggetto lingua utente con metodi get/set + + + + + restituisce true se utente forzato da forceUser.aspx + + + + + restituisce i valori della riga utente da db + + + + + restituisce una stringa formattata con cognome, nome e matricola + + + + + restituisce una stringa della sigla dell'utente + + + + + restituisce una stringa formattata con cognome e nome + + + + + restituisce una stringa formattata con cognome + + + + + restituisce una stringa formattata con nome + + + + + fornisce un file XML della mappa del sito abilitato per l'utente... + + + + + è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... + + + + + classe di gestione dei db x creazione/update alla versione richiesta + + + + + oggetto connessione + + + + + stringa di connessione + + + + + dir che contiene gli script da eseguire... + + + + + formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql) + + + + + avvio protected della classe + + + + + esegue gli script di sql di update dal file richiesto + + + + + + + + Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo + + NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default + + nome DB di cui cercare script + revisione di partenza + revisione di arrivo + timeout max per ogni operazione + + + + + verifica se il db indicato esiste o meno... + + + + + + + + crea il db indicato con i parametri di connessione specificati + + + + + + + + classe di gestione lettura + + + + + esegue parsing fornendo dati ed headers + + + + + + + + esegue parsing fornendo dati + + + + + + + esegue parsing fornendo dati come stream + + + + + + + esegue parsing fornendo dati come stream ed headers + + + + + + + diff --git a/Projects/WebGIM/GIM_data/bin/SteamWare.dll b/Projects/WebGIM/GIM_data/bin/SteamWare.dll new file mode 100644 index 0000000..47ee469 Binary files /dev/null and b/Projects/WebGIM/GIM_data/bin/SteamWare.dll differ diff --git a/Projects/WebGIM/GIM_data/enumerazioni.cs b/Projects/WebGIM/GIM_data/enumerazioni.cs new file mode 100644 index 0000000..47332f9 --- /dev/null +++ b/Projects/WebGIM/GIM_data/enumerazioni.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Web; + +/// +/// Summary description for enumerazioni +/// +public class enumerazioni +{ + public enumerazioni() + { + // + // TODO: Add constructor logic here + // + } +} +public enum tipoSelettore +{ + cdc, + impianti, + macchine, + utentiAll, + utentiCdc +} diff --git a/Projects/WebGIM/GIM_data/mtzProgr.cs b/Projects/WebGIM/GIM_data/mtzProgr.cs new file mode 100644 index 0000000..d341b7d --- /dev/null +++ b/Projects/WebGIM/GIM_data/mtzProgr.cs @@ -0,0 +1,172 @@ +using System; +using System.Collections.Generic; +using System.Web; +using SteamWare; + +/// +/// Metodi di gestione della manutenzione programmata +/// +public class mtzProgr +{ + #region table adapters + + protected GIM_data.DS_applicazioneTableAdapters.MtzProgrammataTableAdapter taMtzProg; + protected GIM_data.DS_applicazioneTableAdapters.MtzProgPendingTableAdapter taMtzPend; + + #endregion + + /// + /// avvio componente + /// + protected mtzProgr() + { + taMtzPend = new GIM_data.DS_applicazioneTableAdapters.MtzProgPendingTableAdapter(); + taMtzProg = new GIM_data.DS_applicazioneTableAdapters.MtzProgrammataTableAdapter(); + } + /// + /// singleton accesso ai metodi di manutenzione programmata + /// + public static mtzProgr obj = new mtzProgr(); + /// + /// verifica se ci siano interventi pending ed eventualmente li accoda + /// + public void processaCodaMtzPro() + { + // cerco eventuali interventi scaduti + insertPending(); + // metto in coda tutte le ricorrenze non presenti... + rebuildPending(); + } + /// + /// inserisce nelle richieste attuali gli interventi programmati scaduti + /// + private void insertPending() + { + int richInserted = 0; + //recupero solo gli interventi già "scaduti" + foreach (GIM_data.DS_applicazione.MtzProgPendingRow rigaMtz in taMtzPend.getByDataScad(DateTime.Now)) + { + richInserted = insRich(rigaMtz); + // inserisco trasformandoli in richieste ... + if (richInserted != 0) // se va a buon fine + { + logger.lg.scriviLog(string.Format("Accodata la richiesta di manutenzione (programmata) num {0}", richInserted), tipoLog.INFO); + // ...e li tolgo dall'elenco pending + taMtzPend.Delete(rigaMtz.idxPending); + } + else + { + logger.lg.scriviLog(string.Format("Non è stato possibile accodare la richiesta di manutenzione programmata cod {0} relativa alla macchina {1}", rigaMtz.idxIntPro, rigaMtz.idxMacchina), tipoLog.ERROR); + } + } + } + /// + /// ricostruisce la coda degli intervneti pending + /// + private void rebuildPending() + { + int multiplo = 0; + int stimaIniz = 0; + double ggEquiv = 0; + TimeSpan distDate; + DateTime adesso = DateTime.Now; + DateTime dataProp; + foreach (GIM_data.DS_applicazione.MtzProgrammataRow rigaMtz in taMtzProg.getNotScheduled()) + { + dataProp = rigaMtz.inizio; + // proseguo SOLO se inizio interventi <= data odierna...) + if (rigaMtz.inizio < adesso) + { + //calcolo l'intervallo timeSpan tra inizio interventi e data odierna + distDate = adesso.Subtract(rigaMtz.inizio); + // in base al tipo di intervallo faccio un calcolo grezzo del periodo trascorso... + ggEquiv = distDate.TotalDays; + switch (rigaMtz.codFrequenza) + { + case "dd": + stimaIniz = (int)Math.Floor(ggEquiv / rigaMtz.cadenza); + break; + case "ww": + stimaIniz = (int)Math.Floor(ggEquiv / (rigaMtz.cadenza * 7)); + break; + case "MM": + stimaIniz = (int)Math.Floor(ggEquiv / (rigaMtz.cadenza * 30)); + break; + case "yy": + stimaIniz = (int)Math.Floor(ggEquiv / (rigaMtz.cadenza * 365)); + break; + } + // parto con la stima iniziale decrementata (se >0...) + if (stimaIniz == 0) + { + multiplo = 0; + } + else + { + multiplo = stimaIniz - 1; + } + // ciclo fino a quando la data indicata non è successiva all'adesso... + while (dataProp < adesso) + { + // aggiorno la data di riferimento + switch (rigaMtz.codFrequenza) + { + case "dd": + dataProp = rigaMtz.inizio.AddDays(rigaMtz.cadenza * multiplo); + break; + case "ww": + dataProp = rigaMtz.inizio.AddDays(rigaMtz.cadenza * 7 * multiplo); + break; + case "MM": + dataProp = rigaMtz.inizio.AddMonths(rigaMtz.cadenza * multiplo); + break; + case "yy": + dataProp = rigaMtz.inizio.AddYears(rigaMtz.cadenza * multiplo); + break; + } + multiplo++; + } + // salvo la data trovata... + rigaMtz.inizio = dataProp; + } + // infine inserisco intervento... + insMtzPend(rigaMtz); + } + } + /// + /// inserisce l'intervento della riga indicata tra quelli "pending" + /// + /// + protected void insMtzPend(GIM_data.DS_applicazione.MtzProgrammataRow riga) + { + mtzProgr.obj.taMtzPend.Insert(riga.idxIntPro, riga.idxMacchina, riga.inizio, riga.descrizione, riga.idxPriorita, riga.isFermo, riga.idxTipo); + } + /// + /// genera la richiesta di manutenzione dalla richeista pending associata + /// + /// + /// + protected int insRich(GIM_data.DS_applicazione.MtzProgPendingRow riga) + { + int? answ = 0; + // calcolo date riferimento... + DateTime adesso = DateTime.Now; + int shift = memLayer.ML.confReadInt("shiftTurno"); + int durataTurno = memLayer.ML.confReadInt("durataTurno"); + int turno = Convert.ToInt32(Math.Ceiling((double)Convert.ToDouble(DateTime.Now.AddHours(-shift + 1).Hour) / durataTurno)); + int idxAmbito = 7; //mtz programmata... + int idxImpianto = 0; + int idxCausale = 1; + try + { + idxImpianto = TA_app.obj.taMacchine.getByIdxMacchina(riga.idxMacchina)[0].idxImpianto; + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format("Errore nel recuperare impianto relativo alla macchina {0}, eccezione {1}", riga.idxMacchina, e), tipoLog.EXCEPTION); + } + // inserisco + TA_app.obj.taInterventiMtz.sp_insRichiesta(adesso, adesso.AddHours(-shift + 1), turno, "PROG", riga.data, idxAmbito, riga.idxPriorita, riga.isFermo, riga.idxTipo, idxImpianto, riga.idxMacchina, riga.descrizione, idxCausale, ref answ); + return (int)answ; + } +} diff --git a/Projects/WebGIM/GIM_data/reportExporter.cs b/Projects/WebGIM/GIM_data/reportExporter.cs new file mode 100644 index 0000000..7131779 --- /dev/null +++ b/Projects/WebGIM/GIM_data/reportExporter.cs @@ -0,0 +1,220 @@ +using System; +using System.Data; +using SteamWare; +using Microsoft.Reporting.WinForms; + +/// +/// Classe che restituisce uno stream ed i dati accessori per reinviare un report in pdf +/// +public class reportExporter +{ + /// + /// mimeType del report + /// + public string mimeType; + /// + /// encoding dei dati + /// + public string encoding; + /// + /// nome estensione + /// + public string fileNameExtension; + /// + /// steam di bytes del report + /// + public byte[] renderedBytes; + /// + /// metodo protected + /// + public reportExporter() + { + } + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// report ammessi: RichiestaIntervento + /// num int mtz + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport, string idxObj) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + case reportRichiesto.ElencoMacchine: + tab = (DataTable)TA_app.obj.taElencoImpMacch.GetData(); + break; + case reportRichiesto.RichiestaIntervento: + tab = (DataTable)TA_app.obj.taInterventiMtz.getByIdx(Convert.ToInt32(idxObj)); + break; + default: + break; + } + return tab; + } + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// report ammessi: ElencoMacchine + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + case reportRichiesto.ElencoMacchine: + tab = (DataTable)TA_app.obj.taElencoImpMacch.GetData(); + break; + default: + break; + } + return tab; + } + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// report ammessi: ElencoInterventi / MTBF_MTTR + /// oggetto che contiene data inizio e data fine dell'analisi richiesta per il report + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport, intervalloDate periodoAnalizzato, string username) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + case reportRichiesto.ElencoInterventi: + tab = (DataTable)TA_app.obj.taElencoIntFilt.getByIntervDateUsernameFilt(periodoAnalizzato.inizio, periodoAnalizzato.fine, username); + break; + case reportRichiesto.MTBF_MTTR: + tab = (DataTable)TA_app.obj.taElenco_MTBF_MTTR.GetData(periodoAnalizzato.inizio, periodoAnalizzato.fine, username); + break; + default: + break; + } + return tab; + } + /// + /// renderizza il report in pdf + /// + /// report ammessi: ElencoMacchine + /// + public void popolaPdfStream(reportRichiesto tipoReport) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + switch (tipoReport) + { + case reportRichiesto.ElencoMacchine: + report.ReportPath = @".\MacchineReparti.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport))); + deviceInfo = "" + + " PDF" + + " 29.7cm" + + " 21cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + break; + default: + break; + } + createPdfStream(report, deviceInfo); + } + /// + /// renderizza il report in pdf + /// + /// report ammessi: RichiestaIntervento + /// idx della richiesta (numIntMtz) + /// + public void popolaPdfStream(reportRichiesto tipoReport, string parametro) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + switch (tipoReport) + { + case reportRichiesto.RichiestaIntervento: + report.ReportPath = @".\RichiestaIntervento.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, parametro))); // OCCHIO!!! va messa sorgente dati CORRETTA + deviceInfo = "" + + " PDF" + + " 21cm" + + " 29.7cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + break; + default: + break; + } + createPdfStream(report, deviceInfo); + } + /// + /// renderizza il report in pdf + /// + /// report ammessi: ElencoInterventi / MTBF_MTTR + /// oggetto che contiene data inizio e data fine dell'analisi richiesta per il report + public void popolaPdfStream(reportRichiesto tipoReport, intervalloDate periodoAnalizzato, string username) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + switch (tipoReport) + { + case reportRichiesto.ElencoInterventi: + report.ReportPath = @".\ReportInterventi.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username))); + deviceInfo = "" + + " PDF" + + " 21cm" + + " 29.7cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + break; + case reportRichiesto.MTBF_MTTR: + report.ReportPath = @".\Report_MTBF_MTTR.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username))); + deviceInfo = "" + + " PDF" + + " 21cm" + + " 29.7cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + // calcolo le ore totali equivalenti... + ReportParameter[] OreTotali = { new ReportParameter("OreTotali", WebGimUtils.obj.oreEquivalenti(periodoAnalizzato).ToString()) }; + report.SetParameters(OreTotali); + break; + default: + break; + } + createPdfStream(report, deviceInfo); + } + /// + /// crea il vero e proprio stream pdf + /// + /// + /// + private void createPdfStream(LocalReport report, string deviceInfo) + { + // export in PDF + string reportType = "PDF"; + Warning[] warnings; + string[] streams; + renderedBytes = report.Render( + reportType, + deviceInfo, + out mimeType, + out encoding, + out fileNameExtension, + out streams, + out warnings); + } + +} diff --git a/Projects/WebGIM/GIM_data/reportPrinter.cs b/Projects/WebGIM/GIM_data/reportPrinter.cs new file mode 100644 index 0000000..f06b277 --- /dev/null +++ b/Projects/WebGIM/GIM_data/reportPrinter.cs @@ -0,0 +1,268 @@ +using System; +using System.Collections.Generic; +using System.Data; +using System.Drawing.Imaging; +using System.Drawing.Printing; +using System.IO; +using System.Text; +using SteamWare; +using Microsoft.Reporting.WinForms; + +/// +/// Classe che si occupa di stampare report da reportViewer via printer remota +/// +public class reportPrinter +{ + + #region area codice da non modificare + + private int m_currentPageIndex; + private IList m_streams; + /// + /// ciclo da fornire al renderizzatore dei report, per salvare 1 immagine da ogni pagina del report + /// + /// + /// + /// + /// + /// + /// + private Stream CreateStream(string name, string fileNameExtension, Encoding encoding, string mimeType, bool willSeek) + { + Stream stream = new FileStream(SteamWare.SteamwareStrings.getFilePath(@".\temp\" + name + "." + fileNameExtension), FileMode.Create); + m_streams.Add(stream); + return stream; + } + /// + /// Handler per PrintPageEvents + /// + /// + /// + private void PrintPage(object sender, PrintPageEventArgs ev) + { + Metafile pageImage = new Metafile(m_streams[m_currentPageIndex]); + ev.Graphics.DrawImage(pageImage, ev.PageBounds); + m_currentPageIndex++; + ev.HasMorePages = (m_currentPageIndex < m_streams.Count); + } + /// + /// funzione di stampa... + /// + private void Print(string printerName) + { + //const string printerName = "Microsoft Office Document Image Writer"; + //const string printerName = "Brother HL-2170W series"; + if (m_streams == null || m_streams.Count == 0) + return; + PrintDocument printDoc = new PrintDocument(); + printDoc.PrinterSettings.PrinterName = printerName; + if (!printDoc.PrinterSettings.IsValid) + { + logger.lg.scriviLog(String.Format("Can't find printer \"{0}\".", printerName), tipoLog.ERROR); + return; + } + printDoc.PrintPage += new PrintPageEventHandler(PrintPage); + printDoc.Print(); + } + /// + /// Export del report come EMF (Enhanced Metafile) file. + /// + /// + private void Export(LocalReport report, string deviceInfo) + { + Warning[] warnings; + m_streams = new List(); + report.Render("Image", deviceInfo, CreateStream, out warnings); + foreach (Stream stream in m_streams) stream.Position = 0; + } + /// + /// dispone l'applicazione e rilascia le risorse + /// + public void Dispose() + { + if (m_streams != null) + { + foreach (Stream stream in m_streams) + stream.Close(); + m_streams = null; + } + } + + #endregion + + #region area codice da modificare + + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// report ammessi: ElencoMacchine / RichiestaIntervento + /// oggetto che contiene data inizio e data fine dell'analisi richiesta per il report + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport, string idxObj) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + case reportRichiesto.ElencoMacchine: + tab = (DataTable)TA_app.obj.taElencoImpMacch.GetData(); + break; + case reportRichiesto.RichiestaIntervento: + tab = (DataTable)TA_app.obj.taInterventiMtz.getByIdx(Convert.ToInt32(idxObj)); + break; + default: + break; + } + return tab; + } + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// report ammessi: ElencoInterventi / MTBF_MTTR + /// oggetto che contiene data inizio e data fine dell'analisi richiesta per il report + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport, intervalloDate periodoAnalizzato, string username) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + case reportRichiesto.ElencoInterventi: + tab = (DataTable)TA_app.obj.taElencoIntFilt.getByIntervDateUsernameFilt(periodoAnalizzato.inizio, periodoAnalizzato.fine, username); + break; + case reportRichiesto.MTBF_MTTR: + tab = (DataTable)TA_app.obj.taElenco_MTBF_MTTR.GetData(periodoAnalizzato.inizio, periodoAnalizzato.fine, username); + break; + default: + break; + } + return tab; + } + /// + /// Crea un report locale da file rdlc, carica i dati, esporta report come EMF file e quindi lo invia alla stampante + /// + /// report ammessi: ElencoMacchine / RichiestaIntervento + /// nome completo stampante (rispetto al server) + /// numIntMtz (codice numero richiesta) + public void printReport(reportRichiesto tipoReport, string printerName, string parametro) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + switch (tipoReport) + { + case reportRichiesto.ElencoMacchine: + report.ReportPath = @".\MacchineReparti.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, parametro))); + deviceInfo = "" + + " EMF" + + " 29.7cm" + + " 21cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + break; + case reportRichiesto.RichiestaIntervento: + report.ReportPath = @".\RichiestaIntervento.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, parametro))); + deviceInfo = "" + + " EMF" + + " 21cm" + + " 29.7cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + break; + default: + break; + } + doEmfPrint(printerName, report, deviceInfo); + } + /// + /// Crea un report locale da file rdlc, carica i dati, esporta report come EMF file e quindi lo invia alla stampante + /// + /// report ammessi: ElencoInterventi / MTBF_MTTR + /// nome completo stampante (rispetto al server) + /// oggetto che contiene data inizio e data fine dell'analisi richiesta per il report + public void printReport(reportRichiesto tipoReport, string printerName, intervalloDate periodoAnalizzato, string username) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + switch (tipoReport) + { + case reportRichiesto.ElencoInterventi: + report.ReportPath = @".\ReportInterventi.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username))); + deviceInfo = "" + + " EMF" + + " 21cm" + + " 29.7cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + break; + case reportRichiesto.MTBF_MTTR: + report.ReportPath = @".\Report_MTBF_MTTR.rdlc"; + report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username))); + deviceInfo = "" + + " EMF" + + " 21cm" + + " 29.7cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + " 0.2cm" + + ""; + // calcolo le ore totali equivalenti... + ReportParameter[] OreTotali = { new ReportParameter("OreTotali", WebGimUtils.obj.oreEquivalenti(periodoAnalizzato).ToString()) }; + report.SetParameters(OreTotali); + break; + default: + break; + } + doEmfPrint(printerName, report, deviceInfo); + } + /// + /// esegue print vero e proprio + /// + /// + /// + /// + private void doEmfPrint(string printerName, LocalReport report, string deviceInfo) + { + // export in EMF + Export(report, deviceInfo); + m_currentPageIndex = 0; + // stampo + Print(printerName); + // do dispose? + Dispose(); + } + + /// + /// oggetto protected + /// + /// + protected reportPrinter() + { + } + /// + /// singleton pubblico + /// + public static reportPrinter obj = new reportPrinter(); + + #endregion +} +/// +/// tipologia di report ammessi alla stampa... +/// +public enum reportRichiesto +{ + ElencoInterventi, + ElencoMacchine, + MTBF_MTTR, + RichiestaIntervento +} diff --git a/Projects/WebGIM/GIM_data/selData.cs b/Projects/WebGIM/GIM_data/selData.cs new file mode 100644 index 0000000..d90b007 --- /dev/null +++ b/Projects/WebGIM/GIM_data/selData.cs @@ -0,0 +1,76 @@ +using System; +using System.Data; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +/// +/// Classe gestione metodi di accesso ai dati embeddati +/// +public class selData : selettori +{ + + /// + /// classe accesso tabelle selettori + /// + public selData() + { + } + + /// + /// elenco impianti come view value/label + /// + /// + public GIM_data.DS_utility.v_selImpiantiDataTable getSelImpianti() + { + return TA_app.obj.taSelImpianti.GetData(); + } + /// + /// elenco macchine come view value/label + /// + /// + public GIM_data.DS_utility.v_selMacchineDataTable getSelMacchine() + { + return TA_app.obj.taSelMacchine.GetData(); + } + /// + /// tabella vocabolario + /// + /// + public SteamWare.DataLayer_generic.VocabolarioDataTable getVocabolario() + { + return SteamWare.DataWrap.DW.taVocabolario.GetData(); + } + /// + /// tabella lingue + /// + /// + public SteamWare.DataLayer_generic.LingueDataTable getLingue() + { + return SteamWare.DataWrap.DW.taLingue.GetData(); + } + /// + /// faccio update del lemma indicato... + /// + /// + /// + /// + public void updateLemmaVoc(string Traduzione, string Original_Lingua, string Original_Lemma) + { + SteamWare.DataWrap.DW.taVocabolario.UpdateQuery(Traduzione, Original_Lingua, Original_Lemma); + } + /// + /// cancella il lemma indicato + /// + /// + /// + public void deleteLemmaVoc(string Original_Lingua, string Original_Lemma) + { + SteamWare.DataWrap.DW.taVocabolario.DeleteQuery(Original_Lingua, Original_Lemma); + } +} diff --git a/Projects/WebGIM/GIM_site/Ajax.master b/Projects/WebGIM/GIM_site/Ajax.master new file mode 100644 index 0000000..f96e586 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Ajax.master @@ -0,0 +1,64 @@ +<%@ Master Language="C#" AutoEventWireup="true" Inherits="Ajax" Codebehind="Ajax.master.cs" %> + +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %> + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + +
+
+
+ + + + + + +
+ + +
+
+
+
+
+ +
+
+ + diff --git a/Projects/WebGIM/GIM_site/Ajax.master.cs b/Projects/WebGIM/GIM_site/Ajax.master.cs new file mode 100644 index 0000000..ff0d248 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Ajax.master.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class Ajax : System.Web.UI.MasterPage +{ + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + /// + /// determina visibilità menù sx... + /// + public bool sxMenuVisible + { + get + { + return Mod_menuSx1.Visible; + } + set + { + Mod_menuSx1.Visible = value; + } + } +} diff --git a/Projects/WebGIM/GIM_site/Ajax.master.designer.cs b/Projects/WebGIM/GIM_site/Ajax.master.designer.cs new file mode 100644 index 0000000..2d3b534 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Ajax.master.designer.cs @@ -0,0 +1,104 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class Ajax { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/Projects/WebGIM/GIM_site/AjaxSearch.master b/Projects/WebGIM/GIM_site/AjaxSearch.master new file mode 100644 index 0000000..fa0fc24 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSearch.master @@ -0,0 +1,74 @@ +<%@ Master Language="C#" AutoEventWireup="true" Inherits="AjaxSearch" Codebehind="AjaxSearch.master.cs" %> + +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagName="mod_ricercaGenerica" TagPrefix="uc4" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %> + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + +
+
+
+ + + + + + + + + + +
+ + + +
+ + +
+
+
+
+
+ +
+
+ + diff --git a/Projects/WebGIM/GIM_site/AjaxSearch.master.cs b/Projects/WebGIM/GIM_site/AjaxSearch.master.cs new file mode 100644 index 0000000..4c3de9b --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSearch.master.cs @@ -0,0 +1,48 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class AjaxSearch : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/Projects/WebGIM/GIM_site/AjaxSearch.master.designer.cs b/Projects/WebGIM/GIM_site/AjaxSearch.master.designer.cs new file mode 100644 index 0000000..9651358 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSearch.master.designer.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSearch { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// Mod_pageTitleAndSearch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1; + + /// + /// Mod_ricercaGenerica1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_ricercaGenerica Mod_ricercaGenerica1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master b/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master new file mode 100644 index 0000000..4c0e170 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master @@ -0,0 +1,75 @@ +<%@ Master Language="C#" AutoEventWireup="true" + Inherits="AjaxSearchEmpty" Codebehind="AjaxSearchEmpty.master.cs" %> + +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagName="mod_ricercaGenerica" TagPrefix="uc4" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %> + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + +
+
+
+ + + + + + + + + + +
+ + + +
+ + +
+
+
+
+
+ +
+
+ + diff --git a/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master.cs b/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master.cs new file mode 100644 index 0000000..d805c95 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master.cs @@ -0,0 +1,48 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class AjaxSearchEmpty : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master.designer.cs b/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master.designer.cs new file mode 100644 index 0000000..cd91621 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSearchEmpty.master.designer.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSearchEmpty { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// Mod_pageTitleAndSearch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1; + + /// + /// Mod_ricercaGenerica1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_ricercaGenerica Mod_ricercaGenerica1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/Projects/WebGIM/GIM_site/AjaxSimple.master b/Projects/WebGIM/GIM_site/AjaxSimple.master new file mode 100644 index 0000000..91966bf --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSimple.master @@ -0,0 +1,35 @@ +<%@ Master Language="C#" AutoEventWireup="true" Inherits="AjaxSimple" Codebehind="AjaxSimple.master.cs" %> + +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc1" %> + + + + Simplepage + + + + + +
+ + +
+ + + + + + + +
+
+ + +
+
+ +
+
+
+ + diff --git a/Projects/WebGIM/GIM_site/AjaxSimple.master.cs b/Projects/WebGIM/GIM_site/AjaxSimple.master.cs new file mode 100644 index 0000000..adf692f --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSimple.master.cs @@ -0,0 +1,20 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class AjaxSimple : System.Web.UI.MasterPage +{ + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } +} diff --git a/Projects/WebGIM/GIM_site/AjaxSimple.master.designer.cs b/Projects/WebGIM/GIM_site/AjaxSimple.master.designer.cs new file mode 100644 index 0000000..85599a4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSimple.master.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSimple { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager sm; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master b/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master new file mode 100644 index 0000000..97a39f7 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master @@ -0,0 +1,36 @@ +<%@ Master Language="C#" AutoEventWireup="true" + Inherits="AjaxSimpleUpload" Codebehind="AjaxSimpleUpload.master.cs" %> + +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc1" %> + + + + SimplePage + + + + + +
+ + +
+ + + + + + + +
+
+ + +
+
+ +
+
+
+ + diff --git a/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master.cs b/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master.cs new file mode 100644 index 0000000..38e0982 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master.cs @@ -0,0 +1,20 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class AjaxSimpleUpload : System.Web.UI.MasterPage +{ + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } +} diff --git a/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master.designer.cs b/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master.designer.cs new file mode 100644 index 0000000..bcca3be --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxSimpleUpload.master.designer.cs @@ -0,0 +1,59 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSimpleUpload { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager sm; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/Projects/WebGIM/GIM_site/AjaxTitle.master b/Projects/WebGIM/GIM_site/AjaxTitle.master new file mode 100644 index 0000000..8395263 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxTitle.master @@ -0,0 +1,73 @@ +<%@ Master Language="C#" AutoEventWireup="true" Inherits="AjaxTitle" Codebehind="AjaxTitle.master.cs" %> + +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %> + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + +
+
+
+ + + + + + + + + + +
+ + +   +
+ + +
+
+
+
+
+ +
+
+ + diff --git a/Projects/WebGIM/GIM_site/AjaxTitle.master.cs b/Projects/WebGIM/GIM_site/AjaxTitle.master.cs new file mode 100644 index 0000000..011838c --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxTitle.master.cs @@ -0,0 +1,49 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class AjaxTitle : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/Projects/WebGIM/GIM_site/AjaxTitle.master.designer.cs b/Projects/WebGIM/GIM_site/AjaxTitle.master.designer.cs new file mode 100644 index 0000000..2d4a7b7 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AjaxTitle.master.designer.cs @@ -0,0 +1,104 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxTitle { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// Mod_pageTitleAndSearch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx b/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx new file mode 100644 index 0000000..1f7974c --- /dev/null +++ b/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx @@ -0,0 +1,7 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="AnagOperatoriMtz" Codebehind="AnagOperatoriMtz.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_anagOpMtz.ascx" tagname="mod_anagOpMtz" tagprefix="uc1" %> + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx.cs b/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx.cs new file mode 100644 index 0000000..8810f34 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class AnagOperatoriMtz : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx.designer.cs b/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx.designer.cs new file mode 100644 index 0000000..3fcb485 --- /dev/null +++ b/Projects/WebGIM/GIM_site/AnagOperatoriMtz.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class AnagOperatoriMtz { + + /// + /// mod_anagOpMtz1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_anagOpMtz mod_anagOpMtz1; +} diff --git a/Projects/WebGIM/GIM_site/Appunti.txt b/Projects/WebGIM/GIM_site/Appunti.txt new file mode 100644 index 0000000..5418ab0 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Appunti.txt @@ -0,0 +1,29 @@ +----------------------- +- 20080114 +------------------------ +ok Modificare comportamento cancellabilità impianti: il 1° NON DEVE ESSERE cancellabile... + + +------------------------ +- 20080113 +------------------------ + +ok Prerequisiti: +ok - DB: +ok - SteamWare_Anagrafica +ok - SteamWare_Vocabolario +ok - GIM + +ok To Do's: +ok - Realizzare modulo gestione db steamware che faccia creazione/update secondo versione + +NOTE: +ok - se la versione del db è nel web.config di sviluppo, va riportata anche nel web.config del cliente! o trovare un altro modo?!? + + + ANAGRAFICA: +ok copiare versione anagrafica di Steamware SOLO CON GIM (anche ci fosse altro cambia poco comunque...) + + Iscrizione automatica utenti +ok - poiché non daremo URM e alla bse gli utenti DEVONo essere di tipo GIM_U, va creata una pagina x inserire il cliente in caso di unauth nella tab DIRITTI con ruolo base da WebConfig ("dirittoAutoEnroll") - deve anche chiedere nome/cognome/email utente + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/Default.aspx b/Projects/WebGIM/GIM_site/Default.aspx new file mode 100644 index 0000000..605c233 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Default.aspx @@ -0,0 +1,17 @@ +<%@ Page Language="C#" AutoEventWireup="true" Inherits="Default" Codebehind="Default.aspx.cs" %> + + + + + + SteamWare s.r.l. + + + +
+
+ +
+
+ + diff --git a/Projects/WebGIM/GIM_site/Default.aspx.cs b/Projects/WebGIM/GIM_site/Default.aspx.cs new file mode 100644 index 0000000..4fb48c0 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Default.aspx.cs @@ -0,0 +1,18 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class Default : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + Response.Redirect("./login.aspx"); + } +} diff --git a/Projects/WebGIM/GIM_site/Default.aspx.designer.cs b/Projects/WebGIM/GIM_site/Default.aspx.designer.cs new file mode 100644 index 0000000..b48036d --- /dev/null +++ b/Projects/WebGIM/GIM_site/Default.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class Default { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; +} diff --git a/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx b/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx new file mode 100644 index 0000000..c071073 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx @@ -0,0 +1,45 @@ +<%@ Page Language="C#" AutoEventWireup="true" + EnableEventValidation="false" Inherits="ExcelExportMtzPrevPending" Codebehind="ExcelExportMtzPrevPending.aspx.cs" %> + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + diff --git a/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx.cs b/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx.cs new file mode 100644 index 0000000..899d4ad --- /dev/null +++ b/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx.cs @@ -0,0 +1,90 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using System.Web.UI.HtmlControls; + +public partial class ExcelExportMtzPrevPending : System.Web.UI.Page +{ + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + + public override void VerifyRenderingInServerForm(Control control) + { + + // Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time. + + } + + private void doExport() + { + Response.Clear(); + Response.AddHeader("content-disposition", "attachment; filename=InterventiProgrammati.xls"); + Response.Charset = ""; + // If you want the option to open the Excel file without saving than + // comment out the line below + Response.Cache.SetCacheability(HttpCacheability.NoCache); + Response.ContentType = "application/vnd.xls"; + System.IO.StringWriter stringWrite = new System.IO.StringWriter(); + System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); + grView.RenderControl(htmlWrite); + Response.Write(stringWrite.ToString()); + Response.End(); + + } + + #region area protected + + + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + aggiornamento(); + doExport(); + } + } + + #endregion + + + public void aggiornamento() + { + grView.AllowPaging = false; + ods.DataBind(); + } + + +} diff --git a/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx.designer.cs b/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx.designer.cs new file mode 100644 index 0000000..635a868 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ExcelExportMtzPrevPending.aspx.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class ExcelExportMtzPrevPending { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/ExportPdf.aspx b/Projects/WebGIM/GIM_site/ExportPdf.aspx new file mode 100644 index 0000000..37b4757 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ExportPdf.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" Inherits="ExportPdf" Codebehind="ExportPdf.aspx.cs" %> + + + + + + + + +
+
+ +
+
+ + diff --git a/Projects/WebGIM/GIM_site/ExportPdf.aspx.cs b/Projects/WebGIM/GIM_site/ExportPdf.aspx.cs new file mode 100644 index 0000000..6b6c6c0 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ExportPdf.aspx.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class ExportPdf : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + string reportName = ""; + // carico i parametri per chiamare export... + string idx = Request.QueryString["idx"]; + string username = Request.QueryString["username"]; + intervalloDate periodo = new intervalloDate(); + periodo.inizio = Convert.ToDateTime(Request.QueryString["inizio"]); + periodo.fine = Convert.ToDateTime(Request.QueryString["fine"]); + reportRichiesto tipo = (reportRichiesto)Convert.ToInt32(Request.QueryString["tipo"]); + // eseguo export + reportExporter re = new reportExporter(); + // in base al tipo passo un metodo con idx o con parametro Intervallo analisi... + switch (tipo) + { + case reportRichiesto.ElencoInterventi: + reportName = "elenco_interventi"; + re.popolaPdfStream(tipo, periodo, username); + break; + case reportRichiesto.ElencoMacchine: + reportName = "elenco_macchine"; + re.popolaPdfStream(tipo); + break; + case reportRichiesto.MTBF_MTTR: + reportName = "MTBF_MTTR"; + re.popolaPdfStream(tipo, periodo, username); + break; + case reportRichiesto.RichiestaIntervento: + reportName = "richiesta"; + re.popolaPdfStream(tipo, idx); + break; + default: + break; + } + Response.Clear(); + Response.ContentType = re.mimeType; + Response.AddHeader("content-disposition", string.Format("attachment; filename=WebGIM_{0}.{1}", reportName, re.fileNameExtension)); + Response.BinaryWrite(re.renderedBytes); + Response.End(); + } +} diff --git a/Projects/WebGIM/GIM_site/ExportPdf.aspx.designer.cs b/Projects/WebGIM/GIM_site/ExportPdf.aspx.designer.cs new file mode 100644 index 0000000..4999349 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ExportPdf.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class ExportPdf { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; +} diff --git a/Projects/WebGIM/GIM_site/GIM_site.csproj b/Projects/WebGIM/GIM_site/GIM_site.csproj new file mode 100644 index 0000000..f07b109 --- /dev/null +++ b/Projects/WebGIM/GIM_site/GIM_site.csproj @@ -0,0 +1,1056 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {02C16B9B-9E89-42A7-A59C-E85A21E102F3} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + GIM_site + GIM_site + v3.5 + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + False + ..\..\..\..\..\..\..\Library\AspNetAjax\WebForms\Release\AjaxControlToolkit.dll + + + + + 3.5 + + + 3.5 + + + 3.5 + + + 3.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + adminDB.aspx + ASPXCodeBehind + + + adminDB.aspx + + + Ajax.master + ASPXCodeBehind + + + Ajax.master + + + AjaxSearch.master + ASPXCodeBehind + + + AjaxSearch.master + + + AjaxSearchEmpty.master + ASPXCodeBehind + + + AjaxSearchEmpty.master + + + AjaxSimple.master + ASPXCodeBehind + + + AjaxSimple.master + + + AjaxSimpleUpload.master + ASPXCodeBehind + + + AjaxSimpleUpload.master + + + AjaxTitle.master + ASPXCodeBehind + + + AjaxTitle.master + + + anagAmbitiGuasto.aspx + ASPXCodeBehind + + + anagAmbitiGuasto.aspx + + + AnagOperatoriMtz.aspx + ASPXCodeBehind + + + AnagOperatoriMtz.aspx + + + aperturaImpianti.aspx + ASPXCodeBehind + + + aperturaImpianti.aspx + + + assegnazioniMacchineImpianti.aspx + ASPXCodeBehind + + + assegnazioniMacchineImpianti.aspx + + + autoEnroll.aspx + ASPXCodeBehind + + + autoEnroll.aspx + + + calendChiusura.aspx + ASPXCodeBehind + + + calendChiusura.aspx + + + chLang.aspx + ASPXCodeBehind + + + chLang.aspx + + + ASPXCodeBehind + Default.aspx + + + Default.aspx + + + dettaglioIntervento.aspx + ASPXCodeBehind + + + dettaglioIntervento.aspx + + + elencoRichieste.aspx + ASPXCodeBehind + + + elencoRichieste.aspx + + + ExcelExportMtzPrevPending.aspx + ASPXCodeBehind + + + ExcelExportMtzPrevPending.aspx + + + ExportPdf.aspx + ASPXCodeBehind + + + ExportPdf.aspx + + + famiglieMacchine.aspx + ASPXCodeBehind + + + famiglieMacchine.aspx + + + forceUser.aspx + ASPXCodeBehind + + + forceUser.aspx + + + gestAnagrTbl.aspx + ASPXCodeBehind + + + gestAnagrTbl.aspx + + + gestioneCausali.aspx + ASPXCodeBehind + + + gestioneCausali.aspx + + + gestUtentiGIM.aspx + ASPXCodeBehind + + + gestUtentiGIM.aspx + + + help.aspx + ASPXCodeBehind + + + help.aspx + + + impianti.aspx + ASPXCodeBehind + + + impianti.aspx + + + insertRichiesta.aspx + ASPXCodeBehind + + + insertRichiesta.aspx + + + login.aspx + ASPXCodeBehind + + + login.aspx + + + macchine.aspx + ASPXCodeBehind + + + macchine.aspx + + + MasterAjax.master + ASPXCodeBehind + + + MasterAjax.master + + + menu.aspx + ASPXCodeBehind + + + menu.aspx + + + mtzProg.aspx + ASPXCodeBehind + + + mtzProg.aspx + + + priorita.aspx + ASPXCodeBehind + + + priorita.aspx + + + + report_analisi.aspx + ASPXCodeBehind + + + report_analisi.aspx + + + report_impianti.aspx + ASPXCodeBehind + + + report_impianti.aspx + + + test.aspx + ASPXCodeBehind + + + test.aspx + + + tipoGuasto.aspx + ASPXCodeBehind + + + tipoGuasto.aspx + + + unauthorized.aspx + ASPXCodeBehind + + + unauthorized.aspx + + + vocabolario.aspx + ASPXCodeBehind + + + vocabolario.aspx + + + mod_anagAmbitiGuasto.ascx + ASPXCodeBehind + + + mod_anagAmbitiGuasto.ascx + + + mod_anagOpMtz.ascx + ASPXCodeBehind + + + mod_anagOpMtz.ascx + + + mod_aperturaImpianti.ascx + ASPXCodeBehind + + + mod_aperturaImpianti.ascx + + + mod_assegnazioniMacchineImpianti.ascx + ASPXCodeBehind + + + mod_assegnazioniMacchineImpianti.ascx + + + mod_calChiusura.ascx + ASPXCodeBehind + + + mod_calChiusura.ascx + + + mod_chLang.ascx + ASPXCodeBehind + + + mod_chLang.ascx + + + mod_dataOra.ascx + ASPXCodeBehind + + + mod_dataOra.ascx + + + mod_dettaglioIntervento.ascx + ASPXCodeBehind + + + mod_dettaglioIntervento.ascx + + + mod_dettMtzProg.ascx + ASPXCodeBehind + + + mod_dettMtzProg.ascx + + + mod_elencoMtzProg.ascx + ASPXCodeBehind + + + mod_elencoMtzProg.ascx + + + mod_elencoRichieste.ascx + ASPXCodeBehind + + + mod_elencoRichieste.ascx + + + mod_elFamMacch.ascx + ASPXCodeBehind + + + mod_elFamMacch.ascx + + + mod_elMacch2Fam.ascx + ASPXCodeBehind + + + mod_elMacch2Fam.ascx + + + mod_famiglieMacchine.ascx + ASPXCodeBehind + + + mod_famiglieMacchine.ascx + + + mod_filtro.ascx + ASPXCodeBehind + + + mod_filtro.ascx + + + mod_fixCal.ascx + ASPXCodeBehind + + + mod_fixCal.ascx + + + mod_gestCausali.ascx + ASPXCodeBehind + + + mod_gestCausali.ascx + + + mod_gestUtentiGIM.ascx + ASPXCodeBehind + + + mod_gestUtentiGIM.ascx + + + mod_impianti.ascx + ASPXCodeBehind + + + mod_impianti.ascx + + + mod_insertRichiesta.ascx + ASPXCodeBehind + + + mod_insertRichiesta.ascx + + + mod_interventoOpMtz.ascx + ASPXCodeBehind + + + mod_interventoOpMtz.ascx + + + mod_lemmiVocab.ascx + ASPXCodeBehind + + + mod_lemmiVocab.ascx + + + mod_login.ascx + ASPXCodeBehind + + + mod_login.ascx + + + mod_macchine.ascx + ASPXCodeBehind + + + mod_macchine.ascx + + + mod_main_help.ascx + ASPXCodeBehind + + + mod_main_help.ascx + + + mod_menuBottom.ascx + ASPXCodeBehind + + + mod_menuBottom.ascx + + + mod_menuBottomPortable.ascx + ASPXCodeBehind + + + mod_menuBottomPortable.ascx + + + mod_menuSx.ascx + ASPXCodeBehind + + + mod_menuSx.ascx + + + mod_menuTop.ascx + ASPXCodeBehind + + + mod_menuTop.ascx + + + mod_mtzPrevPending.ascx + ASPXCodeBehind + + + mod_mtzPrevPending.ascx + + + mod_pageTitleAndSearch.ascx + ASPXCodeBehind + + + mod_pageTitleAndSearch.ascx + + + mod_periodoAnalisi.ascx + ASPXCodeBehind + + + mod_periodoAnalisi.ascx + + + mod_priorita.ascx + ASPXCodeBehind + + + mod_priorita.ascx + + + mod_reportInterventi.ascx + ASPXCodeBehind + + + mod_reportInterventi.ascx + + + mod_ricercaGenerica.ascx + ASPXCodeBehind + + + mod_ricercaGenerica.ascx + + + mod_selettore.ascx + ASPXCodeBehind + + + mod_selettore.ascx + + + mod_selettore_ajax.ascx + ASPXCodeBehind + + + mod_selettore_ajax.ascx + + + mod_tipoGuasto.ascx + ASPXCodeBehind + + + mod_tipoGuasto.ascx + + + mod_titlePortable.ascx + ASPXCodeBehind + + + mod_titlePortable.ascx + + + mod_unauthorized.ascx + ASPXCodeBehind + + + mod_unauthorized.ascx + + + mod_vocabolario.ascx + ASPXCodeBehind + + + mod_vocabolario.ascx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} + SteamWare + + + {F66427C8-882A-4EF8-B42F-EF142906DC8C} + GIM_data + + + + + + + + + + + + + + + + + + False + True + 51110 + / + + + False + False + + + False + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/GIM_site.csproj.user b/Projects/WebGIM/GIM_site/GIM_site.csproj.user new file mode 100644 index 0000000..473ba2c --- /dev/null +++ b/Projects/WebGIM/GIM_site/GIM_site.csproj.user @@ -0,0 +1,32 @@ + + + + + + + + CurrentPage + True + False + False + RunFiles + + + False + True + + + + + + + + + False + True + False + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/MacchineReparti.rdlc b/Projects/WebGIM/GIM_site/MacchineReparti.rdlc new file mode 100644 index 0000000..eebe2bc --- /dev/null +++ b/Projects/WebGIM/GIM_site/MacchineReparti.rdlc @@ -0,0 +1,888 @@ + + + + + 4ff050af-b9d5-4fd6-8b1e-1dfa4459442c + WebGim + + + 11in + true + 8.5in + 0.25cm + false + 0.2cm + 0.2cm + + true + + + 0.05754cm + 28.55489cm + + true + Elenco Reparti e Macchine + + + 0.61309cm + true + + 0.2cm + d6433c86-fc2e-4a5c-b604-aa1d171ded77 + 29.7cm + + + + + codImpianto + System.String + + + nomeImpianto + System.String + + + tipoImpianto + System.String + + + codMacchina + System.String + + + nomeMacchina + System.String + + + modello + System.String + + + matricola + System.String + + + anno + System.Int32 + + + kgPeso + System.Double + + + kwConsumo + System.Double + + + + WebGim + select * from v_elencoImpiantiMacchine + true + + + + + 28.75cm + + 1cm + + + textbox1 + 28.31085cm + + 1 + true + 0.12566cm + 0.91429cm + Elenco Macchine Reparti + + + WebGim + 1.35317cm + + + + + =Fields!nomeImpianto.Value + + + + + =Fields!nomeImpianto.Value + Ascending + + +
+ + + + + 3 + + + nomeImpianto + + 21 + true + =(Fields!nomeImpianto.Value)&" "&(Fields!codImpianto.Value)&"/"&(Fields!tipoImpianto.Value) + + + + + + + textbox7 + + 20 + true + + + + + + + + textbox20 + + 19 + true + + + + + + + + textbox11 + + 18 + true + + + + + + + + textbox13 + + 17 + true + + + + + + + + textbox15 + + 16 + true + + + + + + 0.53333cm + + + true +
+
+ + + + + + + textbox22 + + 15 + true + + + + + + + + textbox23 + + 14 + true + + + + + + + + textbox24 + + 13 + true + + + + + + + + textbox25 + + 12 + true + + + + + + + + textbox26 + + 11 + true + + + + + + + + textbox27 + + 10 + true + tot: + + + + + + + + 9 + true + =sum(Fields!kgPeso.Value) + + + + + + + + 8 + true + =sum(Fields!kwConsumo.Value) + + + + + 0.63492cm + + +
+
+
+ 28.53572cm +
+ + + + + + + textbox3 + + 7 + true + + + + + + + + + nomeMacchina + + 6 + true + =Fields!nomeMacchina.Value + + + + + + + codMacchina + + 5 + true + =Fields!codMacchina.Value + + + + + + + matricola + + 4 + true + =Fields!matricola.Value + + + + + + + modello + + 3 + true + =Fields!modello.Value + + + + + + + anno + + 2 + true + =Fields!anno.Value + + + + + + + kgPeso + + 1 + true + =Fields!kgPeso.Value + + + + + + + kwConsumo + + true + =Fields!kwConsumo.Value + + + + + 0.53333cm + + +
+
+ + + + + + + textbox2 + + 29 + true + Reparto + + + + + + + textbox4 + + 28 + true + Macchina + + + + + + + textbox6 + + 27 + true + cod Macchina + + + + + + + textbox8 + + 26 + true + matricola + + + + + + + textbox10 + + 25 + true + modello + + + + + + + textbox12 + + 24 + true + anno + + + + + + + textbox14 + + 23 + true + Peso + + + + + + + textbox16 + + 22 + true + Cons. + + + + + 0.5cm + + + true +
+ + + 2.5cm + + + 11.0582cm + + + 3.30291cm + + + 2.25cm + + + 4.77646cm + + + 1.5cm + + + 1.45503cm + + + 1.69312cm + + +
+
+ 3.55475cm + + en-US + + true + + + 0.05754cm + 17.67196cm + + 3 + true + 5.70238cm + Somaschini SPA - SteamWare © 2006-2009 + + + 0.05754cm + 1.75cm + + 2 + true + 24cm + Pagina + + + 0.05754cm + 2.5cm + + 1 + true + 25.5cm + =Globals.PageNumber & " di " & Globals.TotalPages + + + 0.05754cm + 5.25cm + + true + = " data " & Format(Globals.ExecutionTime, "dd/MM/yyyy, HH:mm") + + + 0.53373cm + true + + 0.2cm + 21cm +
\ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/MasterAjax.master b/Projects/WebGIM/GIM_site/MasterAjax.master new file mode 100644 index 0000000..fd921ac --- /dev/null +++ b/Projects/WebGIM/GIM_site/MasterAjax.master @@ -0,0 +1,55 @@ +<%@ Master Language="C#" AutoEventWireup="true" Inherits="MasterAjax" Codebehind="MasterAjax.master.cs" %> +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %> + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + +
+
+
+ + + + + + +
+
+ +
+
+ + diff --git a/Projects/WebGIM/GIM_site/MasterAjax.master.cs b/Projects/WebGIM/GIM_site/MasterAjax.master.cs new file mode 100644 index 0000000..5a34c14 --- /dev/null +++ b/Projects/WebGIM/GIM_site/MasterAjax.master.cs @@ -0,0 +1,49 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class MasterAjax : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/Projects/WebGIM/GIM_site/MasterAjax.master.designer.cs b/Projects/WebGIM/GIM_site/MasterAjax.master.designer.cs new file mode 100644 index 0000000..50e3bd6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/MasterAjax.master.designer.cs @@ -0,0 +1,104 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class MasterAjax { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/Projects/WebGIM/GIM_site/Properties/AssemblyInfo.cs b/Projects/WebGIM/GIM_site/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8202bec --- /dev/null +++ b/Projects/WebGIM/GIM_site/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("GIM_site")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("GIM_site")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Projects/WebGIM/GIM_site/ReportInterventi.rdlc b/Projects/WebGIM/GIM_site/ReportInterventi.rdlc new file mode 100644 index 0000000..64d3b1f --- /dev/null +++ b/Projects/WebGIM/GIM_site/ReportInterventi.rdlc @@ -0,0 +1,1364 @@ + + + + + f5329736-ab43-433d-8a18-5abe0079cc88 + WebGim + + + 11in + true + 8.5in + 0.25cm + true + 0.2cm + 0.2cm + + true + + + 20.25cm + + true + Report Interventi + + + 0.5cm + true + + 0.2cm + 6ad0ca25-9000-43ff-9d7c-112adde0b515 + 21cm + + + + + numIntMtz + System.Int32 + + + richiesta + System.DateTime + + + codImpianto + System.String + + + nomeImpianto + System.String + + + codMacchina + System.String + + + nomeMacchina + System.String + + + descrizione + System.String + + + inizioIntervento + System.DateTime + + + fineIntervento + System.DateTime + + + descrizioneIntervento + System.String + + + descrCausale + System.String + + + minErogati + System.Int32 + + + durataMtz + System.Int32 + + + durataOff + System.Int32 + + + guasto + System.DateTime + + + + WebGim + select * from v_elencoIntervFilt + true + + + + + 20.50265cm + + 1cm + + + 1cm + 14cm + + 4 + true + 6cm + 1.25cm + - OFFICINA: dal momento del guasto a fine intervento +- INTERVENTO: da inizioa fine intervento manutenzione +- OPERATORE: totale tempo erogato da tutti gli operatori di manutenzionecoinvolti + + + 1cm + 5.5cm + + 3 + true + 0.25cm + 0.75cm + Report delle ore di fermata suddivise per + + + textbox1 + 20.25cm + + 2 + true + 0.91429cm + Report Interventi + + + 1 + WebGim + 2.5cm + + + + + =Fields!nomeImpianto.Value + + + + + =Fields!nomeImpianto.Value + Ascending + + +
+ + + + + 6 + + + nomeImpianto + + 42 + true + =(Fields!nomeImpianto.Value)&" "&(Fields!codImpianto.Value) + + + + + 3 + + + textbox12 + + 41 + true + Ore fermata + + + + + 0.53333cm + + + true +
+
+ + + + + + + textbox13 + + 25 + true + + + + + + + + textbox16 + + 24 + true + + + + + + + + textbox17 + + 23 + true + + + + + + + + textbox18 + + 22 + true + + + + + + + + textbox19 + + 21 + true + + + + + + + + textbox20 + + 20 + true + Tot reparto : + + + + + + + + 19 + true + =sum(Fields!durataOff.Value) + + + + + + + + 18 + true + =sum(Fields!durataMtz.Value) + + + + + + + + 17 + true + =sum(Fields!minErogati.Value) + + + + + 0.63492cm + + + + + + + textbox25 + + 34 + true + + + + + + + + textbox28 + + 33 + true + + + + + + + + textbox29 + + 32 + true + + + + + + + + textbox31 + + 31 + true + + + + + + + + textbox32 + + 30 + true + + + + + + + + textbox33 + + 29 + true + + + + + + + + textbox34 + + 28 + true + + + + + + + + textbox35 + + 27 + true + + + + + + + + textbox40 + + 26 + true + + + + + + 0.25cm + + +
+
+ + + + =Fields!codMacchina.Value + + +
+ + + + + + + textbox23 + + 40 + true + + + + + + 4 + + + nomeMacchina + + 39 + true + =(Fields!nomeMacchina.Value)&" "&(Fields!codMacchina.Value) + + + + + + + textbox36 + + 38 + true + + + + + + + + textbox37 + + 37 + true + Officina + + + + + + + + 36 + true + Interv. + + + + + + + + 35 + true + Operat. + + + + + 0.63492cm + + + true +
+
+ + + + + + + textbox2 + + 16 + true + + + + + + + + textbox3 + + 15 + true + + + + + + + + textbox4 + + 14 + true + + + + + + + + textbox5 + + 13 + true + + + + + + + + textbox7 + + 12 + true + + + + + + + + textbox8 + + 11 + true + Tot macchina : + + + + + + + + 10 + true + =sum(Fields!durataOff.Value) + + + + + + + + 9 + true + =sum(Fields!durataMtz.Value) + + + + + + + + 8 + true + =sum(Fields!minErogati.Value) + + + + + 0.63492cm + + +
+
+
+ 20.40435cm +
+ + + + + + + textbox9 + + 7 + true + + + + + + + + + 6 + true + =(Fields!numIntMtz.Value) + + + + + 2 + + + guasto + + 5 + true + =Fields!guasto.Value + + + + + + + descrizione + + 4 + true + =Fields!descrizione.Value + + + + + + + descrizioneIntervento + + 3 + true + =Fields!descrizioneIntervento.Value + + + + + + + durataOff + + 2 + true + =Fields!durataOff.Value + + + + + + + durataMtz + + 1 + true + =Fields!durataMtz.Value + + + + + + + minErogati + + true + =Fields!minErogati.Value + + + + + 0.63492cm + + +
+ + + 0.25cm + + + 0.75cm + + + 1.27663cm + + + 2.12772cm + + + 5.75cm + + + 4.75cm + + + 2cm + + + 1.75cm + + + 1.75cm + + + 3.32301cm +
+ + 0.25cm + 1cm + 19.75cm + + 1.24339cm + +
+ 6cm + + en-US + + true + + + 0.1369cm + 10.54762cm + + 3 + true + 5.25cm + Somaschini SPA - SteamWare © 2006-2009 + + + 0.1369cm + 1.75cm + + 2 + true + 16.25cm + Pagina + + + 0.1369cm + 2.5cm + + 1 + true + 17.75cm + =Globals.PageNumber & " di " & Globals.TotalPages + + + 0.1369cm + 4.5cm + + true + 0.5cm + = " data " & Format(Globals.ExecutionTime, "dd/MM/yyyy, HH:mm") + + + 0.6131cm + true + + 0.2cm + 29.7cm +
\ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/Report_MTBF_MTTR.rdlc b/Projects/WebGIM/GIM_site/Report_MTBF_MTTR.rdlc new file mode 100644 index 0000000..d549f66 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Report_MTBF_MTTR.rdlc @@ -0,0 +1,971 @@ + + + + + a89e8338-493e-433b-b479-316efbad0009 + WebGim + + + 11in + + + Float + true + OreTotali + + + true + 8.5in + 0.25cm + true + 0.2cm + 0.2cm + + true + + + 20.25cm + + true + Report MTBF MTTR + + + 0.4762cm + true + + 0.2cm + 0aad9ce8-d201-4dde-aa78-0d9db3569b39 + 21cm + + + + + numInterventi + System.Int32 + + + totOreMtz + System.Int32 + + + totOreOfficina + System.Int32 + + + codImpianto + System.String + + + codMacchina + System.String + + + nomeImpianto + System.String + + + nomeMacchina + System.String + + + + WebGim + select * from v_datiMTBFMTTR + true + + + + + 20.5cm + + 1cm + + + true + 2.5cm + 9.75cm + + 10 + 10.25cm + 0.5cm + MTTR_off + + + 3cm + 9.75cm + + 9 + true + 10.25cm + 0.5cm + riferito al tempo di fermata complessiva della macchina (impianto) + + + 3cm + 9.75cm + + 8 + true + 0.25cm + 0.5cm + riferito al tempo di pura riparazione della macchina (impianto) + + + + 1.75cm + 9.75cm + + 7 + true + 10.25cm + 0.75cm + (Tempo medio di riparazione) Durata media di un intervento di riparazione alla macchina (impianto) + + + + 1.75cm + 9.75cm + + 6 + true + 0.25cm + 0.75cm + (Tempo medio di guasto) Ore che intercorrono mediamente tra due guasti alla macchina (impianto) + + + + 2.5cm + 9.75cm + + 5 + true + 0.25cm + 0.5cm + MTTR_man + + + 1.25cm + 9.75cm + + 4 + true + 10.25cm + 0.5cm + MTTR (Mean Time To Repair) + + + + textbox30 + 1.25cm + 9.75cm + + 3 + true + 0.25cm + 0.5cm + MTBF (Mean Time Before Failure) + + + textbox1 + 20.31746cm + + 2 + true + 0.91429cm + Report MTBF MTTR + + + 1 + WebGim + 4cm + + + + + =Fields!nomeImpianto.Value + + + + + =Fields!nomeImpianto.Value + Ascending + + +
+ + + + + 4 + + + nomeImpianto + + 26 + true + =(Fields!nomeImpianto.Value)&" "&(Fields!codImpianto.Value) + + + + + + + textbox15 + + 25 + true + Num. Int. + + + + + + + + 24 + true + MTBF + + + + + + + + 23 + true + MTTR_man + + + + + + + + 22 + true + MTTR_off + + + + + 0.5cm + + +
+
+ + + + + + + textbox21 + + 13 + true + + + + + + + + textbox22 + + 12 + true + + + + + + + + textbox23 + + 11 + true + + + + + + + + textbox24 + + 10 + true + Tot : + + + + + + + textbox25 + + 9 + true + =Sum(Fields!numInterventi.Value) + + + + + + + textbox26 + + 8 + true + =(Parameters!OreTotali.Value)/Sum(Fields!numInterventi.Value) + + + + + + + textbox27 + + 7 + true + =sum(Fields!totOreMtz.Value)/sum(Fields!numInterventi.Value) + + + + + + + textbox28 + + 6 + true + =sum(Fields!totOreOfficina.Value)/sum(Fields!numInterventi.Value) + + + + + 0.63492cm + + + + + + + textbox2 + + 21 + true + + + + + + + + textbox4 + + 20 + true + + + + + + + + textbox6 + + 19 + true + + + + + + + + textbox7 + + 18 + true + + + + + + + + textbox8 + + 17 + true + + + + + + + + textbox9 + + 16 + true + + + + + + + + textbox10 + + 15 + true + + + + + + + + textbox12 + + 14 + true + + + + + + 0.63492cm + + +
+
+
+ 20.05716cm +
+ + + + + 3 + + + + 5 + true + =(Fields!nomeMacchina.Value)&" "&(Fields!codMacchina.Value) + + + + + + + + 4 + true + + + + + + + + + 3 + true + =Fields!numInterventi.Value + + + + + + + + 2 + true + =(Parameters!OreTotali.Value)/Fields!numInterventi.Value + + + + + + + + 1 + true + =(Fields!totOreMtz.Value)/(Fields!numInterventi.Value) + + + + + + + + true + =(Fields!totOreOfficina.Value)/(Fields!numInterventi.Value) + + + + + 0.55588cm + + +
+ + + 2.75737cm + + + 2.75737cm + + + 2.75737cm + + + 1.25cm + + + 2.25cm + + + 2.75737cm + + + 2.75737cm + + + 2.77031cm + + + 2.32572cm +
+ + 0.25cm + 1.25cm + 19.7619cm + + 2.5cm + +
+ 6.82572cm + + en-US + + true + + + 0.1369cm + 10.54762cm + + 3 + true + 5.03373cm + 0.4762cm + Somaschini SPA - SteamWare © 2006-2009 + + + 0.1369cm + 1.75cm + + 2 + true + 16.03373cm + 0.4762cm + Pagina + + + 0.1369cm + 2.5cm + + 1 + true + 17.53373cm + 0.4762cm + =Globals.PageNumber & " di " & Globals.TotalPages + + + 0.1369cm + 4.5cm + + true + 0.28373cm + 0.4762cm + = " data " & Format(Globals.ExecutionTime, "dd/MM/yyyy, HH:mm") + + + 0.75cm + true + + 0.2cm + 29.7cm +
\ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/RichiestaIntervento.rdlc b/Projects/WebGIM/GIM_site/RichiestaIntervento.rdlc new file mode 100644 index 0000000..7648c13 --- /dev/null +++ b/Projects/WebGIM/GIM_site/RichiestaIntervento.rdlc @@ -0,0 +1,1631 @@ + + + + + 74bf6fe5-ae22-4a3e-a2bf-9797dba8ca60 + WebGim + + + 29.7cm + true + 21cm + 0.25cm + true + 0.2cm + 0.2cm + 0.2cm + 7184c39e-21ca-49d2-a97c-6c9d66413962 + + + image/png + iVBORw0KGgoAAAANSUhEUgAAADQAAAAzCAYAAADYfStTAAADO2lDQ1BJQ0MgUHJvZmlsZQAAeAGFlEto1FAUhv+MKYK0gqi1FpTgQou0JT7QilDbabXWkXEY+9AiyDRzZxpNMzGZGR+ISEHc+VqKGx+IiyriQrpQcKULkULra1EEcaUiiEI3Usb/Ju1MKlYvJPlyzn/P64YAVQ9TjmNFNGDYzrvJrqh26PCAtngCVahBNbhShue0JxL7faZWPuev6bdQpGWyScaK9R2Y+LRt9f1Lj2Lv6572+p75+nlvNS4TAopG64pswFslDwa8V/LJvJOn5ohkYyiVJjvkRrcn2UG+QV6aDfFgiNPCM4CqNmpyhuMyTmQFuaVoZGXMUbJup02bPCXtac8Ypob9Rn7IWdDGlY8BrWuARS8rtgEPGL0LrFpfsTXUASv7gbEtFdvPpD8fpXbcy2zZ7IdTqqOs6UOp9HM9sPgaMHO1VPp1q1Sauc0crOOZZRTcoq9lYcorIKg32M34yTlaiIOefFULcJNz7F8CxC4A1z8CGx4Ayx8DiRqgZwci59lucOXFKc4F6Mg5p10zO5TXNuv6dq2dRyu0bttobtRSlqX5Lk9zhSfcokg3Y9gqcM7+WsZ7tbB7D/LJ/iLnhLd7lpWRdKqTs0Qz2/qSFp27yY3kexlzTze5gddUxt3TG7Cy0cx39wQc6bOtOM9FaiJ19mD8AJnxFdXJR+U8JI94xYMypm8/ltqXINfTnjyei0lNLfe2nRnq4RlJVqwzQx3xWX7tFpIy7zpq7jiW/82ztshzHIYFARM27zY0JNGFKJrgwEUOGXpMKkxapV/QasLD8b8qLSTKuywquvCZez77e06gwN0yfh+icYw0liNo+jv9m/5Gv6nf0b9eqS80VDwj7lHTGL/8nXFlZlmNjBvUKOPLmoL4Bqttp9dCltZhXkFPXlnfFK4uY1+pL3s0mUNcjE+HuhShTE0YZDzZtey+SLb4Jvx8 +c9kWmh61L84+qavkeqOOHZmsfnE2XA1r/7OrYNKyq/DkjZAuPGuhrlU3qd1qi7oDmrpLbVNb1U6+7VT3l3f0clYmTrJul9Wn2ION0/RWTroyWwT/Fn4x/C91CVu4pqHJf2jCzWVMS/iO4PYfd0j5L/wNAYUVDXxLOzsAAAAJcEhZcwAACxMAAAsTAQCanBgAAA9sSURBVGgF5RppWFRHskA5hhHkElAhyC2g3CjgAUoQcPCIGI3xCEa8NpJDEw0bs+J6xSMxG+N6ByWCBkVYhQgKCCKCIgMozADDZUAjyH0KiLOvHnmTN/PecCy7v7a/b6a7q6uqu6a66wKA/1JLSkriFhUVKQ+XnVAo1Em8c9/cKyxs9HBp2fAV2IDDgcXEJ5tOGq+zseTpC5eHgqevV813y675rfbs4sW+1QPxiYxJMLYymbAx8tdsz8kmhuouk40E7a9e/eQ5w+3WQHT/87W4X++cAOcNYupjNO9jcZGw+PqKz7+3k7e578Zv7EtF5TcQl6LDPvLazbiQsB805NENBa44FCR5OAe+D3ft6O6eT1+vbngFBy8kLfgiyG+Poc9GC/oajlWmB1ns3+C3Z++5+ADElWoKMHuKhbGzFGyYkxEJpKmjY8LlqL4lu2fE7SJoaGpbeGzr8t3EL28mWSfGfw9euLurp2cB4sg2BVDQGsNRmiALH858RAK1dPdqydvswz0/w1QLYw3IPV0uwSHGgXPsNfZcSJWAZAdiUFSXhQ1nPiKBGlt6NLlcLut+eJ1O38jhZWTl7KIQLv0radfDJyJeUk4FBZLq1Tiq0PGqV1MKOMzJiATKL616S5urJHfLQxdTQQHEYffu58THJabHTzabFHYwMl0uPi40NDY9HhBhkMUBbX90dLRyfHqZesTxvzaw8XnR0JKnqMwBdWUFaOsRs6GA/9ZzoKmuwsPF5rZuuXi4rqvBTfjrljW/wvQQDXhwrBVh9Lb688MmC2bbwbKFvpV0OH3M6of +CwqKV5/oaf3rvkdDbxtxYW3esWm1RRW3+tfSivKTc8jp4PboJHp8sREZlZeXxgV+e5RVUsspM32vQseDitgQba6sAEtFukx6xR53Psi9mBC6ezTM1NHDu7Gg3FpZV9VhbGD96I35zZon/21myTFkFys3N2+v50cnQ9l4xeSWNdFRhqacNLJnj2MdRVY50cXL8ABnl5hbsAgVxmPP6f8ryBaSZ42QGU8yNwNJQm1zv7HoFT5+9gOSsQnhY0cbQVty+98HWzCjMwsJsNxLcyniwVYercvjizWzFq+kCoJv520eD4zPzCzaHfby+hr45Q6C7WVlOZ+IeRP2cLLCiI1Ljz5Y4gaezdYKlsQHkF1fyNh6KlRwMr15wgCNYm0yE5s5eqG/rgRe1tSRpbXMX6GtyQEddBcbr64GmmhLxXhoYwp3etgBmOlomNDa1Qga/iLc/MkvCnzoD9nYmOm/Ohi4PnubsEE6HMwQqKi5eGPL3M5dTS9o4dET6GA9OvAvJL0YJ4mozCRIflMAdfrlkjU5HHyPNNFN18J3jQQoXc7cIKOtnb6IDja0dA/LAG5B8PGSblYXFd3S+DIFib6RM09VRvzIr5CzDYdIJqTEy/jrIh9TInnNJJNi3tgIcuurBs+13cj69o47sH3D1IF19PORzdCFPQwvKR/VbaBTgyCdL4FFBEYSG36dYD9jH7lvRoqbKXe3rNe0GHZEhEC6WlpWFx6U9Dtp+IpGOyxjjQXas9IQLSflwv6ASdlQ9hO0vChh48gCHDOwhXN+CFAw19vU6X1JbG76VOiODHK/9pmU+F60szFbLLo6SBeA8tUa1defaebPb2lq1CipesqGQj/7QRwvgbMIjKMvmw5XiW7C8id1hsjIggDPaa2FLrQCEqlqQr6wJtx+VwQIPK/CYrAsp+ezBuvdkDfhqU2D+lu+uhFXmpkgZBNyHVaCXwswqUa+h4cGQdzxaWpqBTagjf/GHiKQ8UhhhwVUw7O2QnB +uvVpSOORwfNwV2ErHmcQMb8nNfbTyUq2rAaLFYCj+wuRJUxH2Qqj4RbmSVgq+7LYzXUmHsizfibNiHvadj0vZfOvxZrGRD2oBVIFwvHz1J2NzYbBy61t+mrLoWyp83ScjW+NhCDyhDbGoeqRm6MHiNVpvMJQ8n4GhBk6Kq5INzPHS4rhWpFRSEaqitKD1TEre4sgb+FhwAaTkCaO16TaLgW720ezUkZZfu2xuefglq+QzHi4hyBYJn/NbHmYnRhlYurhvemWlJxGUSxpsXu8PRS6ngWS2CT+pI/0quvW/iDT/q2ZLjwb5QOBTAtb2e1BbSZhIaxIZCKPR1w4JZ9uQ1RNjJbQuhq6cvYd1y/w2ga/YKXgr6EC7bBo3ljI0MgMhGJXToYPOrmkmT+kndEwkcr9lVLRPJfCgDtHKzzP3B2n4pgzaWcKToq1Az2NAhc8eo9bNV1uuXvH8m9c0UyPZdSV1g+9Ffdrk72/NyBFUSInSKSZlMS4am2ayvWYI35MEoJYn5ptNgbFhW2wEr/D1I8OW0EjA3NuQdOHZhF+Qdf8px3zSNjk+NpYLTAz+cX+nsaBM4TmuvUn1zq8LLlw28K0lZcPQan8Snfi0qbkOfQvkYREDjgG8I/cxwtUUdiN7jD7c72JcE4Z54FiKOC7t9L8dVd6yGS3vb2iRB5Yv4jSsXXaHoSD8UcS3e2kBXb0d9fcOKHOFT5dS8p0AdmkLE3tfVFOytJgGmBdhQI+fL7koJRS4QX5QTJf0McInXKj/NoGhke/RNp7a/AztO/MqIGtDi2ZsbwMyppq/GaY+5PEZN9ZCPp7uQ1BBfUPPpuYQbH8hLAaiNbIw0JbEZwvANBJnPZhUKNYcfdLRSwv0RHVA8B+rxPDUNnaCtwWUIhD84fohUHh9Z0Dxn026i36QoEolsYtIFswYTBjdWUmMmkyjU/KmLAK0UHpytUYLhlcwouQ5LmyqH/N4wwNVV6WVjKwW7/7hidnY232Y0c +UoVIq2UG4hKUcmZ4I+BbwY/eA0dW5sIc/6E9SqicFGVKSSn/1RzbMdo7wHOqFF9Koo9Hc0iy3FKzBIMC1Vv5+BWDDWGgs2yWkiaYzQSQ9Ecao2t6aorQ3334O/PUFe1sL1dTTTa1ta2nUgZzt/jl064dlfgiEGmvOsnqG4mjQLAkOQn39jOCa4Afb1gBh2wtlZERuCoJdnWrzVvKeuIRgF9EaYSbI1KQeZ5ufPnOphccHW1bSeNgu3kyVejrt18ti/YbwUoQgC/uNoEky9hTQs8q66GlOL+KENQ8Ry8XSzZeA8MQ18DmkAKR2CiNjC9kI3M8ZrSzb3pRG0g6nQSg4Buw8Z0AqBxwiTSZpL+E46KUrKw6vdoV1enbDwEI32YsnSHh7fDJCcDTc73Oto6ia52lrygsPMSM35osx9EJuZI5sgE3w1eteE2NrOv7BQsYYNpAjb0g6iNm9+tg/qWroTSmnrd5y/qrqXklV1/EvNtsYSAGEg5VlwovHrwfuFVuA+OW65B3o/Po+IS49/zsiKKIP2J1++1deA7w54QKFXih5AOzfdwhUJ8unOWfWsYleCPh83D3oQUZrGfZwBRjZ1JFDDvkQsyX8zQh0IghAGH9R419Z28eR4OFBSwWOFhbUDGWJRTxTeBY/zFh9uorBbpUDiqYUSPjXLwH/g6QGdXFw8c1wfCm94SCk+2ly8QgWk0juP2rq875Bb/mWxh5eVEXDaELPMitUIxRKHQz8izVhQevd/7PEfKtGNUgQ3fyhIvezgWnUbO8QuDUzcX+wTIOxMDikpiyYLMQG76wJ250T7uQFBsXWMbLNt1SYoMcyMfV3NQ1R4Ll5+/Bnpeg+N5rTXQNkoZuol7/1qVAz09hGMUvwF11dFg1NMM3i2/w6nfMqQyXDTvMWPNyH02Bc6GnKJyyCjsr0kgEDPYOVMnWO78asfUf6XnitvKc5gRMoHHMAokR+KLsHo/q6lxVi3+KooCSfX4Kx7buoTU +FqbgqB15Dd8Gm6mm8FEYygKi0el71Sq3WILr3k4myTM/OhrUlRXxjOJB9awa2nvsfKCbncWXi7aHK/ewplH9SVhmgQg+f28WVHcrwJ7XWtCpoETWCSjmVE/PaCkY9ijodkM3SVK4fdVcUFMZBfsupIG8fbHuMN/N0nSpl2P75Yvn0+j8cMyqIZGo7JeloeeWUQ9Slog+R03Ry1h6XU2S0Afx6JqhrBhVyqJ8DkbOmCak5xZLUhX6HmzjjB/XCe/kFK7428frpK4eQ6CbaQ/cU/mVVw5Hpk5kYyQPhj4Dnd29xxVDKjQiHxQEXYC5PhfohUZ5e9DhWP05uO39zS5OTifpcIYfestg7LhbmQVadCT6GDXyl4VO4GJvC0ciUyTVTnR+RjoCsp6NFhAbVQrGMjA2LAVjM9DXB4zRsKU8KoUT0X+GW/Ym2gk7Vnrx0Kr98zpfEiWQyLQvrI1zONw/cvI/FxgaunXnoYPCKIUIn8/OTP0Trd+UYj1hlZ9bQvXLZp5QVJXwrv8sOP7LbR6V0criY7GefnhcRyELSqrIwqRszOjrYpqQdOrLAPzDGEdFJczYcDwkpmUBpt+y158wDtXebtbrnadYJ9H3ZQiEiyUiUWhMUuZHJ67zJ+Kh/KZbicfpaOfXNTacX7nY/wfCub1N+INkxM3NzY9fHPoTj/6XAYQPt2Fok3Z8M/wjOj0s4ptPduMec6zV3VfwvIxNjAycOjo7HYg3poDZtJ2Zft3OYN5Joq69S3YfxpVDBALxAL9QWLrI2922qamlJ6OwumT7sbiHNakn+83kH8JQzPAPWSNtlLZqG4m6FjZijzt5kHwn6jvguK+ZuMTTedqa+e6T1yycozxWQ0NgajxeUkeg780qECI4TbGOITr8yG2+G/Z/qqjC4VGHYUM8sNYDiCCXXMIIfqBifFd3D9hZm7pI3SGCEv1NZFZEbOQ3bDtIwwYMfaRRmTN9Ta56R1sLc+EPCGGJEjAObGhoSEB +hFr3tThZa5BHUt3SC7hjl4RXIZZiNTKDxeo1dr1mfIW6TkBJ5JOAWv8wpNCQoIPRcps/pmNQM4p8uyFRA5hzkFP/CN1GH28i2NlTYiATSHN3V0tHBnk0SfomwhCKv0OCleeRhiDfx/ZX8dYrKqle+Den/M6rsIbHCw+WoyFe5LAHLfEQCvQF4LgYxI2dAi7XKb7rw+OW0p1J75p8SffFD3J4ZThap6FRZWvObvj5GfMaCJxc0IoH6xO2PuGrcu7Lcj2zh1Td3vd7249frGZWP5NNfPsnMLT7wU+jyXFm6sWpKd7sUexhwWbz/6bys+rnfqcjrsXNXbqsZ47bhxWf7TqYSfwHcMNimD/l879NR16PAab3Ibmloxf5j4THEFe2v+w5GPMC63Bc9AA1j6XBEBNdca6LtOC2uYrvim1I/D48hP+w7mZlTGlo6lX4rbireunVZf4zE2OH/GPBvWnCZFX8V/BsAAAAASUVORK5CYII= + + + image/png + iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAADO2lDQ1BJQ0MgUHJvZmlsZQAAeAGFlEto1FAUhv+MKYK0gqi1FpTgQou0JT7QilDbabXWkXEY+9AiyDRzZxpNMzGZGR+ISEHc+VqKGx+IiyriQrpQcKULkULra1EEcaUiiEI3Usb/Ju1MKlYvJPlyzn/P64YAVQ9TjmNFNGDYzrvJrqh26PCAtngCVahBNbhShue0JxL7faZWPuev6bdQpGWyScaK9R2Y+LRt9f1Lj2Lv6572+p75+nlvNS4TAopG64pswFslDwa8V/LJvJOn5ohkYyiVJjvkRrcn2UG+QV6aDfFgiNPCM4CqNmpyhuMyTmQFuaVoZGXMUbJup02bPCXtac8Ypob9Rn7IWdDGlY8BrWuARS8rtgEPGL0LrFpfsTXUASv7gbEtFdvPpD8fpXbcy2zZ7IdTqqOs6UOp9HM9sPgaMHO1VPp1q1Sauc0crOOZZRTcoq9lYcorIKg32M34yTlaiIOefFULcJNz7F8CxC4A1z8CGx4Ayx8DiRqgZwci59lucOXFKc4F6Mg5p10zO5TXNuv6dq2dRyu0bttobtRSlqX5Lk9zhSfcokg3Y9gqcM7+WsZ7tbB7D/LJ/iLnhLd7lpWRdKqTs0Qz2/qSFp27yY3kexlzTze5gddUxt3TG7Cy0cx39wQc6bOtOM9FaiJ19mD8AJnxFdXJR+U8JI94xYMypm8/ltqXINfTnjyei0lNLfe2nRnq4RlJVqwzQx3xWX7tFpIy7zpq7jiW/82ztshzHIYFARM27zY0JNGFKJrgwEUOGXpMKkxapV/QasLD8b8qLSTKuywquvCZez77e06gwN0yfh+icYw0liNo+jv9m/5Gv6nf0b9eqS80VDwj7lHTGL/8nXFlZlmNjBvUKOPLmoL4Bqttp9dCltZhXkFPXlnfFK4uY1+pL3s0mUNcjE+HuhShTE0YZDzZtey+SLb4Jvx8 +c9kWmh61L84+qavkeqOOHZmsfnE2XA1r/7OrYNKyq/DkjZAuPGuhrlU3qd1qi7oDmrpLbVNb1U6+7VT3l3f0clYmTrJul9Wn2ION0/RWTroyWwT/Fn4x/C91CVu4pqHJf2jCzWVMS/iO4PYfd0j5L/wNAYUVDXxLOzsAAAAJcEhZcwAACxMAAAsTAQCanBgAABA2SURBVHgB7VsJWFRHEi5QjmEEuQRUCHILKDcKeIASBBw8IkbXeARXvDaSQxMNG7PiesUjMRvjegclggZFWIUICggigiIDKDDAcBnQCHKfAuLsq0fe7DAHcgzh+/Z79X3D666u7q7+re6urm4BaKIRoBGgEaARoBGgEaARoBGgEaARoBGgEaARoBGgEaARoBGgEegvAnFxccy8vDz5/spTchwORyP2zn1jt6Cg0RRvJL4yI9Ep9hkRHW84abzGxsKnLxwe5j99vWq+U3rlb1VnFy/2rOhLp9CIGH0zgwkbQ39Nd51soKvsMFkvv+XVq59cZzjd6qve/11Z1K93ToD9Bh7105v3MS+PU3B9xeffW0karOfGb6yLuCU3UJaqh9/QazejAoJ+UJFUbzj5ssPZuKS2D3wf7Nja0TFfsLyi9hUcvBC34As/rz26HhtNBMswrTDdz2T/Bq89e89F+6BsL5KB2VNM9O178f6kzIgAqKqhYcBkKL4jPMaQ23lQW9+88NjW5bsJyzLilxPpf/ov3N3e2bkAZYRJBmTUxjDkJgjz/4z8iADY2NGlJmlwf93zM0w10VeBzNMlfBki7TvHWmXPhUQ+SzjBA1llYd6fkR8RAOsaO1WZTKbY8eH0PH0jg5WSlrGLErj0n7hdD59wWXEZpRSr11eJoQitr7pUezH/pMyIAJhdVP6OOlNO4hAPXUwEGeAF3bufER0Vmxw92WhS0MHQZInyWFBbV/+4T4FhKhwWHyo8PFw+OrlYOeT432vF6f2itjFLVp4ByvIy0NzJEycC3lvPgaq +yAgsLG5o7JMphuaYKM+bvW9b8CtMDVODBsSbkCdLqzw8bLJhtBcsWepYJ8qWRlqofGBQULj/XU//Te4847hbG+uqaY5Wq8kqrsq8l52XFZZZUw+vR9fD4ZC4qXlxcEu375VlWTplYjAc0tvyL22IszM18yEpWm7SIPqo9ln0xw3fxbJahro59W2uLPqe4vNPcRP/RG96bM0u8300bUAd9CEsVwMzMrL2uH50MbOnikUuDnoYiLHW1gCVzbLsZivKhDna2H6IumZk5u0CGF2S//t8iqmGdOXZGMMVYD0x11cnytvZX8PTZC4hPy4WHpc0i1hi17wOwNNILMjEx2o0VbqU82KrBVDh88Wa67NXkfBB0e24f9Y9Ozc7ZHPTx+kqRzgfBkBqAd9PS7M5EPQj7OT7fTJweny2xA1d78xhTfR3ILihjbTwUyQcCp7K/jy2YG0yEhrYuqGnuhBdVVWQzVQ3toK3KAA1lBRivrQWqSnLEelcrAubpbQtgpq1pTF19E6Sw81j7Q9P47QvqY2Wg8eZs4HL/afY2wYL8waalBmBeQcHCgH+euZxY2MyQpAwCRaxrfIuggHO0mASxDwrhDruEX9ZXG9MMlcFzjgsJZsTdPKB2Z2sDDahrau2zDbTw+OMB28xMTL6T1MdA+FIDMPJGwjRNDeUrswLOijjI4hTCgXzt50Fa3J5zcaSIZ1Up2LTXgGvz72R+ems1+X3A1IJk5fGQzdCELBU1KBnV47EgYEc+WQKPcvIgMPi+uG5EeJH7VjQqKTJXe7pNuyFSOAiG1ADEvouKi4Ojkh77bT8R26cqOPAdK13hQlw23M8pgx3lD2H7i5w+6wgWHtKxhmBtExJItOKv13mS1rjh274xwWVk0zKPi2YmRqsF2xtKetRQKgvXTaxUbNq5dt7s5uYmtZzSl8LFZB4t79BHC+BszCMoTmfDlYJbsLxevIMstgGCOaOlCrZU5QNHUQ2y5VXh9qNiWOBiBi6TNS +EhW3wwx32yCny1yTd7y3dXgsoyE6SygaB+UgXwJSe1nNulq3sw4D2XxsYGEAfikb95Q0hcFgkeJ+cq6Ha18nHCqRqmYQzHx02BnURs4LiOBfm7rzQeShRVYDSP10vet6EMFHjdkKg8EW6kFYGnsyWMV1MQ6Rct/mzQX7tORyTtv3T4s0h+h1JISBVA1Kdk9CROQ12DfuBab4viiiooeV7PV3ONhyV0gjxEJmaRlicIHk7L1QZzSTDyGWpQL6vI/2EeQQrWNCOtDoGjCK0xTMuQlC0oq4R/+PtAUkY+NLW/JkXQ4i/tXg1x6UX79gYnX4IqtoijTbU1mK/UAYRn7KbHqbHhumYOjhvem2lKnGv5A9m82BmOXkoE1woufFJN+tNk2QcG7vCjlmW/9EcwETDHlhrSGrFuKmGhSAiaTHcHLJhlTU5r5J3cthDaO7tj1i333gCaRq/gZX438qVFw3YW1tfTASLazNcTHers8gbSxfik+gmfj9P2qpoBP9+fBO7Cs4y9wdx6qUjdSMJxRl8RLQ8JHXDmGKWeZuW1epDuyUnlr/QAtHyff6+x/egvu5ztrVkZ+eV8JdEJjksV3WnRVTHqbuDL9TsxSo7vzgjWwbN1cVUrrPB2IdmXkwrBWF+XdeDYhV2Qdfwpw3nTNEH5oaalEkw48MP5lfa2Fr7j1PbK1TQ0ybx8Wcu6EpcGR6+xSf0oa6DOvejTUT4eCuBmgmsg+nkDtUZxAOA/1G5/T7II+0RdiHNw0O17GY6aY1UcWprXxuWXvYjeuHLRFXH1B8Ibkh8Yci3aXEdTa0dNTe2KDM5T+cSsp0CBJKiEp6MhWJtNAgxTIaHFnS++2wtESp5ymkk/D5iEnyA57EXVEf6ib3hq+3uw48SvIqcS3JGtjXVg5lTDV+PUx1weo6R4yMPVmSPcRn/zQ7JAdn7lp+dibnwoKSRFKWGhp8o/2yIP1zA/49liQUTLxB861r3A/OP0QbXZ1xf1qaxtA +3UVpgiA+A+MP+JqABdJv3n2hh3Ed1Nf7fVVNug1kMvlWkQk5896G3jYuZySaLAYQZw/dRHgLopAiSMKSJziKYXXYWl9Wb/XSwxIaCp0iWu2F+/+49LZ6elsi17MAWQGb4FySgpE2Fhi4KA/OiD4uObhD6e1bVM94d48ETu1EcywsgSy2cFapjidWjqBMWpUt4K4sv7wBm2Bna0NXNNxcqJXZGJ67Wp7+y6LFolAzjJbSLonuKn0xzLRKsWRprI81HS8ff3U1VTMbWlR4oproz+8QVugpaVlCxHCOn+PXTTh2t18WwwKSJrO+RUN5CYC0C+8yTVy5wRHgO4uMIJWWFvFJSM0aIXC1GOV7r12bzJsRviCGNoSR1iOIbF5bs7suTYGFxwdLVvEyfWHN2gAsXHLyZOvhl27+Wyfv9cKkAUfdkGFAQY7OZWN8KyiAhIKek5N+aXPwd3BtD/69JZBXw9UgQSTKEFrw3CXcOQGp72g+2M4UR2Ie2L+BoJulIXhBMDNDIO2FpO0nzAU5OI55b+HOzrapffudGC5Ibkxgl1NWbrDxd1mkp2OKuN7DXWNWEcrU5Zf0Hm+W3NosxeExmbw81gX1z2cugMlcW6QvJ0/vxkMWyGhH4rWdvO7dVDT2B5TVFmj+fxF9bWErOLrTyK+LeBXGEJiSBYo2G/u1YP3c6/CfbDdcg2yfnweFhUb/Rc3M+LSqCfQ+XtVNXjOsCYATOT7gVgf3ZmBgojygs648FqJpx78x0JysTYgwVvs5epDvHaYSVzY3yMLpPRn0JuIxP4J8MBmvUtlTRtrnosNXwwvd1zMdcgzKuVE45qGabSogRIVtcZ6CCZFGPFBohz6Dz1toK29nQW2633hTVchJSetr/QBJDTTG8dwet/TGTIL/hfcxJuxE1HpELDMjbQ6agAIIvp5knZTSk7wu/d5Ri9XB08tSLjWLXGzhmPhSWQe/2AwwcnBOgayzkSArByPXyClhNTDWcyZG62j +DvhFVtc1w7Jdl3qpibFBD0djUFQfC5efvwbBuB6m5zVVQvMoeegg1q3Xigzo7CQcYd4bUFYcDXqdDeDe+Duc+i2lVwQb3Z2IsUZkP5t8Z0NGXgmk5PbcqSATI9Rzpk4w3fnVjqn/Sc7kNZdkiEY0emk5sIzUNhGqW2JX/llJibFq8VdhFKvXF63k2NYlpDViSB+tTxLh2ibOdaHkETxqh8ZNqvtVk8TLJSx3tzOIn/nRUb/2tJBnVBtD/UrVAvceO+/rZGXy5aLtwfKdEsKWGPRMzeHC53+ZBRUdMrDntRq0yciR9xzCgxGMWAuWIbDbdZ34Qdjtq+aCksIo2HchCST1i/cm851MDZe62bZcvng+SbC9oaSlaoFcbvEvSwPPLaMW8L4UQ0sUvNbUaq/nH+WwnqDlUbssdbVJ+XwYWcGwVXJmAT901lefWJby4zrOnYzcFf/4eJ1UprLUALyZ9MA5kV125XBo4sS3DUKwHH02dG7vPS7t18U61kXg0CUy1maC4MW6YLuS0ng7d3DbB5sd7OxOSpIZCF9qfuA7OmPH3UrNUZPUOVrc3xbagYO1JRwJTeC/JkBnV08jn3wPgzs0EvW0A591IOHTDiQdbW3AMy5SwqMiOBH+v+OjtYF6zI6Vbizcdf99nc0/hZDCAn/wbQ2Dwfwjxi9QMMik1Czw1p2HNjKjZEI8PjszVVAXBA7vQ1Z5OcVUvGxgcbjlMe97z4Ljv9xmURFrYXl8XCQIFpYjqDmF5eRFvPCZ29PBMCbu1Jc++BCToaAQpK87HmKT0gDD+cLLCbGZVLg7ma+3n2IeJ9jvYNNSAxAVKORyAyPiUj86cZ09EUHwmm7GG6ehnl1dV3t+5WLvHwhn9l3CH4tH2czM7OjFgT+xBF9OIX+ghEe1pOOb4V/hyUEh33yyG/uYY67svILlpm+gp2PX2tZmQ6yRMhgttzLSrt7pzzpJvIvZNdB+JMlLbQpjB4RiB9i5nKJF7s6W9fW +NnSm5FYXbj0U9rEw82eM2/AEepQw+nBwqUdZYVUfccyIRfdzJgvg7Yd8Bw3nNxCWu9tPWzHeevGbhHPmxKir5hvrjh3wPIqizVAHEhu2mmEcQH/xJJM8N+z+VVWCwqMGLEzyw1gWIoARZhBGevh4PtXd0gpW5oYPwnER/LzQtJDL0G3E9SIc3LEe5t6mmrcpUbm1ulChG7JQxeI6ura2NQfAWvesMeDEliWoa20BzjPzAHthIamyA/JEBcLxWXftrictvTELoEZ9b7GK7wAA/n8BzqR6nIxJTiP9kQ4amxI0PX7BO1GDWiSsbbt6IAKg6ur2xtVV8tJjwC4mdmusW6L80ixw8saZ9fyV7nay84pVvA3qeQQuDgjdwTIaCZJMWriDF/IgA+AbgOQ94IjEs3FFXeU3nHL+c9LTXGLNPcb/4IWrPDDuTRHSixVDDm+5uqZ1vxbQvkTUiAHbzWh4xlZh3hbU6soVV09D+etuPX68XuSmKP/3lk9TMggM/BS7PFK43VknubrtspwhfWO7/Kl9c8dzrVOj1yLkrt1WOcdrw4rN9JxOJF64b3jbIh2y2++mw62Fgt55rtTSwdP+x4Ahiynu+rd5wlUtcyYerQ8F2D4eEMI3VJlqOU2PKtsi+KfJycen3RnAnNXVKbWOb3G8F9QVbty7rOfMJNk6naQRoBGgEaARoBGgEaARoBGgEaARoBGgEaARoBGgEaARoBGgEhBH4L/RNmRWge4J4AAAAAElFTkSuQmCC + + + 21cm + + + + + numIntMtz + System.Int32 + + + richiesta + System.DateTime + + + dataLav + System.DateTime + + + turnoLav + System.Int32 + + + matr + System.String + + + guasto + System.DateTime + + + idxAmbito + System.Int32 + + + descrAmbitoGuasto + System.String + + + idxPriorita + System.Int32 + + + descrPriorita + System.String + + + isFermoSiNo + System.String + + + idxTipo + System.Int32 + + + descrTipo + System.String + + + idxImpianto + System.Int32 + + + codImpianto + System.String + + + nomeImpianto + System.String + + + idxMacchina + System.Int32 + + + codMacchina + System.String + + + nomeMacchina + System.String + + + descrizione + System.String + + + idxStato + System.Int32 + + + DescrStato + System.String + + + presaInCarico + System.DateTime + + + inizioIntervento + System.DateTime + + + fineIntervento + System.DateTime + + + descrizioneIntervento + System.String + + + isPreventivabile + System.Boolean + + + idxCausale + System.Int32 + + + descrCausale + System.String + + + isFermo + System.Boolean + + + + WebGim + select * from v_intervExp + true + + + + + 20.28968cm + + 1cm + + + textbox30 + 0.5cm + 3.25cm + + 5 + true + 2cm + 0.63492cm + Somaschini + + + AutoSize + 1.37566cm + Embedded + + 3 + true + 16.5cm + 0.63492cm + =Sum(Fields!numIntMtz.Value) + + + textbox1 + 0.25cm + 9cm + + 2 + true + 5.5cm + 0.91429cm + Richiesta di Intervento + + + + + =Fields!richiesta.Value + Ascending + + + 1 + WebGim + + + 25cm + 11.00529cm + + 51 + 1.75cm + 0cm + + + 9.75cm + 20.25cm + + 50 + 0cm + + + 17.75cm + 0cm + + 49 + 12cm + 0.75cm + + + 17.75cm + 0cm + + 48 + 10.5cm + 0.75cm + + + 17.75cm + 0cm + + 47 + 13.5cm + 0.75cm + + + 18.5cm + 3cm + + 46 + 10.5cm + 0cm + + + 17.75cm + 0cm + + 45 + 8.25cm + 0.75cm + + + 17.75cm + 0cm + + 44 + 6.75cm + 0.75cm + + + 17.75cm + 0cm + + 43 + 9.75cm + 0.75cm + + + 18.5cm + 4.5cm + + 42 + 5.25cm + 0cm + + + 17.75cm + 0cm + + 41 + 5.25cm + 0.75661cm + + + 17cm + 1cm + + 40 + true + 12.25cm + 0.63492cm + mm + + + 17cm + 1cm + + 39 + true + 10.75cm + 0.63492cm + hh + + + 17cm + 0.75cm + + 38 + true + 8.5cm + 0.63492cm + aa + + + 17cm + 1cm + + 37 + true + 7cm + 0.63492cm + mm + + + 17cm + 0.75cm + + 36 + true + 5.75cm + 0.63492cm + gg + + + 10cm + 1cm + + 35 + true + 12.25cm + 0.63492cm + mm + + + 10cm + 1cm + + 34 + true + 10.75cm + 0.63492cm + hh + + + 10cm + 0.75cm + + 33 + true + 8.5cm + 0.63492cm + aa + + + 10cm + 1cm + + 32 + true + 7cm + 0.63492cm + mm + + + textbox8 + 10cm + 0.75cm + + 31 + true + 5.75cm + 0.63492cm + gg + + + 9.75cm + 0cm + + 30 + 13.75cm + + + 24.25cm + 11cm + + 29 + 1.75cm + 0cm + + + 23.5cm + 11cm + + 28 + 1.75cm + 0cm + + + 22.75cm + 11cm + + 27 + 1.75cm + 0cm + + + 22cm + 11cm + + 26 + 1.75cm + 0cm + + + 20.75cm + 3.5cm + + 25 + true + 2cm + 0.63492cm + Note intervento + + + 20cm + 4.02116cm + + 24 + 7.5cm + 0cm + + + 19.25cm + 4cm + + 23 + true + 1.75cm + 0.63492cm + Firma responsabile produzione + + + 17.75cm + 3.5cm + + 22 + true + 1.5cm + 0.63492cm + Fine intervento + + + 15.5cm + 4.02116cm + + 21 + 9cm + 0cm + + + 14.75cm + 4.02116cm + + 20 + 9cm + 0cm + + + 14cm + 4.02116cm + + 19 + 9cm + 0cm + + + 13.25cm + 4.02116cm + + 18 + 9cm + 0cm + + + 15.5cm + 4.02116cm + + 17 + 1.75cm + 0cm + + + 14.75cm + 4.02116cm + + 16 + 1.75cm + 0cm + + + 14cm + 4.02116cm + + 15 + 1.75cm + 0cm + + + 13.25cm + 4.02116cm + + 14 + 1.75cm + 0cm + + + 12cm + 3.5cm + + 13 + true + 9.25cm + 0.63492cm + Minuti intervento + + + 12cm + 3.5cm + + 12 + true + 1.75cm + 0.63492cm + Matr. tecnici + + + 10.75cm + 0cm + + 11 + 12cm + 0.75cm + + + 10.75cm + 0cm + + 10 + 10.5cm + 0.75cm + + + 10.75cm + 0cm + + 9 + 13.5cm + 0.75cm + + + 11.5cm + 3cm + + 8 + 10.5cm + 0cm + + + 10.75cm + 0cm + + 7 + 8.25cm + 0.75cm + + + 10.75cm + 0cm + + 6 + 6.75cm + 0.75cm + + + 10.75cm + 0cm + + 5 + 9.75cm + 0.75cm + + + 11.5cm + 4.5cm + + 4 + 5.25cm + 0cm + + + 10.75cm + 0cm + + 3 + 5.25cm + 0.75cm + + + 0.25cm + 2 + + + textbox34 + 1.00529cm + + 33 + true + RICHIEDENTE + + + 3cm + 2.75cm + + 32 + true + 5.75cm + 0.63492cm + Macchina + + + textbox32 + 0.75cm + 1.5cm + + 31 + true + 8cm + 0.63492cm + Turno + + + textbox31 + 0.75cm + 1.25cm + + 30 + true + 1.75cm + 0.63492cm + Data + + + 5.75cm + 19cm + + 29 + 1cm + 0cm + + + 4cm + 19cm + + 28 + 1cm + 0cm + + + 1.75cm + 19cm + + 27 + 1cm + 0cm + + + turnoLav + 0.75cm + 1.25cm + + 26 + true + 9.5cm + 0.63492cm + =Sum(Fields!turnoLav.Value) + + + dataLav + 0.75cm + 4.75cm + + 25 + true + 3cm + 0.63492cm + =First(Fields!dataLav.Value) + + + matr + 0.75cm + 2.53968cm + + 24 + true + 16cm + 0.63492cm + =First(Fields!matr.Value) + + + 0.75cm + 4.5cm + + 23 + true + 11.25cm + 0.63492cm + Matr. richiedente + + + descrPriorita + 8.25cm + 4cm + + 22 + true + 15.75cm + 0.63492cm + =First(Fields!descrPriorita.Value) + + + idxPriorita + 8.25cm + 0.75cm + + 21 + true + 14.75cm + 0.63492cm + =First(Fields!idxPriorita.Value) + + + descrCausale_1 + 8cm + 6cm + + 20 + true + 6cm + 0.63492cm + =First(Fields!descrCausale.Value) + + + 8cm + 4.5cm + + 19 + true + 1.25cm + 0.63492cm + Evento ipotizzato + + + 8.25cm + 2.25cm + + 18 + true + 12.25cm + 0.63492cm + Priorità + + + descrizione + 6.25cm + 14.25cm + + 17 + true + 5.25cm + 0.75cm + =First(Fields!descrizione.Value) + + + 6.25cm + 3.25cm + + 16 + true + 1.75cm + 0.63492cm + Descrizione + + + descrTipo + 4.5cm + + 15 + true + 17.5cm + 0.63492cm + =First(Fields!descrTipo.Value) + + + 4.5cm + 3.25cm + + 14 + true + 14.25cm + 0.63492cm + Tipo guasto + + + descrAmbitoGuasto + 4.5cm + 3.25cm + + 13 + true + 10.75cm + 0.63492cm + =First(Fields!descrAmbitoGuasto.Value) + + + 4.5cm + 4cm + + 12 + true + 6.75cm + 0.63492cm + Casuale fermo + + + isFermo + 4.5cm + 1.25cm + + 11 + true + 5.25cm + 0.63492cm + =First(Fields!isFermoSiNo.Value) + + + 4.5cm + 4.25cm + + 10 + true + 1cm + 0.5cm + Macchina ferma + + + codMacchina + 2.75cm + 2.53968cm + + 9 + true + 17cm + 0.63492cm + =First(Fields!codMacchina.Value) + + + codImpianto + 2cm + 2.53968cm + + 8 + true + 17cm + 0.63492cm + =First(Fields!codImpianto.Value) + + + 2cm + 3cm + + 7 + true + 13.75cm + 0.63492cm + cod impianto + + + 2.75cm + 3cm + + 6 + true + 13.75cm + 0.63492cm + cod macchina + + + nomeMacchina + 3cm + 4.5cm + + 5 + true + 8.75cm + 0.63492cm + =First(Fields!nomeMacchina.Value) + + + nomeImpianto + 2cm + 3.75cm + + 4 + true + 8.75cm + 0.63492cm + =First(Fields!nomeImpianto.Value) + + + 2cm + 2.25cm + + 3 + true + 5.75cm + 0.63492cm + Reparto + + + textbox11 + 2.25cm + 3.25cm + + 2 + true + 1.75cm + 0.63492cm + Ferma dalle + + + guasto_1 + 3cm + 3.5cm + + 1 + true + 1.75cm + 0.63492cm + =First(Fields!guasto.Value) + + + 12.25cm + + + 0cm + + 1 + 3.5cm + + + 0cm + + 2.5cm + + + 8cm + 7.5cm + + + + 0.25cm + 9.00529cm + + + 10.75cm + 3.5cm + + 1 + true + 1.5cm + 0.63492cm + Inizio intervento + + + 10cm + 1.00529cm + + true + 0.25cm + 15.75cm + MANUTENZIONE + + + 1.5cm + + + + =Fields!richiesta.Value + + true + + + + 0.5cm + 1cm + + true + 15.25cm + 0.63492cm + N° + + + 27.5cm + + en-US + + true + + + 0.05754cm + 6.25cm + + 2 + true + 14cm + 0.63492cm + Copyright SteamWare © 2006-2009 + + + 0.05754cm + 3cm + + 1 + true + 9.5cm + 0.63492cm + Somaschini SPA + + + 0.05754cm + 5.25cm + + true + 0.63492cm + = " Stampato " & Format(Globals.ExecutionTime, "dd/MM/yyyy, HH:mm") + + + 0.75cm + true + + 0.2cm + 29.7cm + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/Style.css b/Projects/WebGIM/GIM_site/Style.css new file mode 100644 index 0000000..d955176 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Style.css @@ -0,0 +1,2882 @@ +/* @group Generale */ + +.fixedVal +{ + background-color: #cdcdcd; + text-align: center; + color: Black; +} + +.fixedValLeft +{ + background-color: #cdcdcd; + text-align: left; + color: Black; +} + +.textEv_1 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_1Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_2 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_2Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_Read +{ + background-color: #deeff7; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_ReadLeft +{ + background-color: #deeff7; + text-align: left; + color: Black; + font-size: 8pt; +} + +.bloccoDiv +{ + border-bottom: solid 1px green; + padding-bottom: 1px; + margin-bottom: 5px; +} + +.semaforoVerde +{ + color: Green; +} +.semaforoGiallo +{ + color: Orange; + font-weight: bold; +} +.semaforoRosso +{ + color: Red; + font-weight: bold; +} + +/* @group Calendario */ + +.calSel +{ + background-color: red; + font-weight: bold; + color: White; +} +.calNextPrev +{ + font-weight: bold; + color: Black; +} +.calDayHead +{ + font-weight: bold; + color: white; + background-color: #6969df; + font-size: 9pt; +} +.calTitle +{ + font-weight: bold; + color: Black; + background-color: #BEBEBE; +} +.calOtherMonthDay +{ + background: #CBDCCB; +} +.calWeekEnd +{ + background: #cbcbcb; + font-weight: bold; +} +.clsBody +{ + border-right: #C6D7DA thin solid; + border-top: #C6D7DA thin solid; + border-left: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; +} + +.clsCurrentWeek +{ + color: #ffffff; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + background-color: #8CC6FF; + font-weight: bolder; + font-weight: bold; +} + +.clsCurrentWeek2 +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + font-weight: bolder; + font-weight: bold; +} +.clsDayName +{ + color: #0C0B5F; + background-color: #bbbaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsCurrentDay +{ + color: #ffffff; + background-color: #398CE7; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + font-weight: bolder; + font-weight: bold; +} +.clsWorkDay +{ + color: #000000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDay:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDayOtherMonth +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd +{ + color: #FF0000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEndOtherMonth +{ + color: #FF0000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} + +.Calend +{ + padding: 4; + background: White; + color: Black; + font-size: 8pt; + font-family: Verdana; + border-color: #999999; + height: 180px; + width: 200px; +} +. .Calend.TodayDay +{ + background: #cccccc; + color: Black; +} +. .Calend.Selector +{ + background: #cccccc; +} +. .Calend.NextPrev +{ + vertical-align: bottom; +} +. .Calend.DayHeader +{ + font-size: 7pt; + font-weight: bold; + background: #cccccc; +} +. .Calend.SelectedDay +{ + background: #666666; + font-weight: bold; + color: White; +} +. .Calend.Title +{ + font-weight: bold; + background: #999999; + border-color: Black; +} +. .Calend.WeekEndDay +{ + background: #FFFFCC; + color: Black; +} +. .Calend.OtherMonthDay +{ + color: Gray; +} + + + +/* @end */ + +.body +{ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font-family: Verdana, Arial; + font-size: small; +} + +/* Mod selettore ajax */ +.txtLink +{ + font-size: smaller; + text-decoration: underline; + color: blue; +} +.txtValue +{ + font-size: smaller; + text-decoration: none; + color: #696969; +} +.notaMargine +{ + font-size: smaller; + background-color: #DEE8F5; + margin-top: 10px; + padding: 1px 1px 2px 1px; + text-align: right; + vertical-align: bottom; +} +.nota +{ + width: 70%; + font-size: smaller; + background-color: white; + margin-top: 10px; + padding: 2px 2px 4px 2px; + text-align: center; + vertical-align: bottom; + border: solid 1px red; +} + + +/*Popup Control*/ +.popupControl +{ + background-color: White; + position: absolute; + visibility: hidden; + border: solid 1px #363636; +} +.popupHover +{ + background-image: url(images/header-opened.png); + background-repeat: repeat-x; + background-position: left top; + background-color: #F5F7F8; +} +.evidenzia +{ + border: solid 1px blue; +} +/* area note logging */ +.logCont +{ + font-size: 8pt; + width: 100%; + text-align: center; + border: solid 1px silver; + background-color: #DFF1F1; +} +.logButton +{ + text-align: center; + padding: 10px; +} +/* selettore ajax*/ +.selezioneValRed +{ + text-decoration: underline; + color: Blue; +} +/*Modal Popup*/ +.modalBackground +{ + background-color: Gray; + filter: alpha(opacity=70); + opacity: 0.7; +} +.hiddenTxt +{ + /*color:White;*/ + background-color: White; + width: 5px; +} + +.modalPopup +{ + background-color: #ffffdd; + border-width: 1px; + border-style: solid; + border-color: Gray; + padding: 3px; +} + +.topTitle +{ + color: Black; + font-family: Verdana Arial; + font-size: 26px; + font-weight: bold; + text-align: center; + background-repeat: repeat-x; + background-position: 0% 0%; + background-attachment: scroll; + background-image: url(images/orangeGrad32.png); +} +.menuSx +{ + font-size: 8pt; + width: 180px; + vertical-align: top; /*height: 530px;*/ /*height: 530px;*/ + min-height: 530px; /*border-top: #0D0083 1px solid;*/ /*background-repeat: repeat-y; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/menuSx5.png);*/ /*background: #DEE8F5;*/ + background: #DEE8F5; +} +.ov_header +{ + background-color: Blue; +} +.ov_footer +{ + background-color: Blue; +} +.ov_item +{ + background-color: gray; +} +.ov_itemAlt +{ + background-color: white; +} + +.navBar +{ + font-size: 9pt; /*background-color: #DEE8F5;*/ + background-color: #FFFFFF; /*border-right: #9999ff 1px solid; border-top: #9999ff 1px solid; border-left: #9999ff 1px solid; border-bottom: #9999ff 1px solid;*/ + padding: 3px 3px 3px 3px; + margin: 3px 3px 3px 0px; /*background-color:#DEE8F5; font-family: Verdana Arial; font-size: 13px; font-weight: normal; background-repeat: repeat-x; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/bluGrad32.png);*/ +} +.hlBounce +{ + font-weight: bold; + font-size: 10pt; +} +.alertAjax +{ + color: #ea101e; + font-size: small; + font-weight: bold; +} +.smallTimeClock +{ + padding-right: 4px; + padding-left: 4px; + font-weight: bold; + font-size: 7pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.dxButtonClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.barraTitolo +{ + background-color: #FF7A00; /* #4C90FF; */ + vertical-align: middle; + height: 20pt; +} +INPUT +{ + font-size: 8pt; +} +.selezioneVal +{ + border-right: yellow 1px solid; + border-top: yellow 1px solid; + border-left: yellow 1px solid; + border-bottom: yellow 1px solid; +} + +.selezioneValWhite +{ + border-right: white 1px solid; + border-top: white 1px solid; + border-left: white 1px solid; + border-bottom: white 1px solid; +} +.tableContenuto +{ + padding: 0px; + margin: 2px; /* con questo Table va a full screen */ + width: 99%; +} +.topContrDx +{ + text-align: center; + background-color: white; + text-align: left; + font-size: 9pt; +} +.topContrSx +{ + padding: 6px 3px 6px 3px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + font-weight: bold; + font-size: 8pt; +} +.contrRiq +{ + border-left: solid 2px silver; + background-color: white; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + border-bottom: solid 1px silver; +} +.topSubMenuChk +{ + padding: 1px 6px 1px 6px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 1px silver; + border-left: solid 2px silver; + border-right: solid 1px silver; + border-bottom: solid 1px silver; + font-weight: bold; + font-size: 8pt; +} +.controllo +{ + vertical-align: top; + width: 100%; + background-color: Transparent; + font-size: 8pt; + border-width: thin; + border-top-style: solid; + border-top-color: White; + border-left-style: solid; + border-left-color: White; + border-right-style: solid; + border-right-color: White; +} +.contrDx +{ + vertical-align: top; + width: 100%; + background-color: White; + font-size: 8pt; + border-width: thin; + border-style: solid; + border-color: silver; +} +.bodyMainCenter +{ + background-image: url(images/logo_sw.png); + vertical-align: middle; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + text-align: center; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} +.bottomWrite +{ + vertical-align: bottom; + border-top: #0D0083 1px solid; + margin-top: 2px; + padding-top: 2px; + font-size: 7pt; + height: 1%; + text-align: right; +} +.bodyCenter +{ + vertical-align: middle; + text-align: center; + height: 100%; + width: 100%; +} +.centerMenu +{ + background-color: White; + text-align: center; + border-width: thin; + border-style: groove; + border-color: Blue; +} +.pnlMenuSx +{ + padding-right: 5px; + height: 530px; +} +A:hover +{ + color: red; +} + +.clonaUserPerm +{ + color: #ffff66; + background-color: #ea101e; +} +.boxRicerca +{ + padding: 4px; +} + +.oneHalf +{ + width: 50%; +} +.oneQuart +{ + width: 25%; +} + +.cal +{ + font-size: 10pt; +} +.treeHead +{ + width: 100%; + text-align: center; + background-color: #D1DDF1; + border-right: solid 2px silver; + border-top: solid 2px silver; +} +.treeViewPnl +{ + background-color: white; + border-right: solid 2px silver; + border-bottom: solid 2px silver; +} +.statoHidden +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.statoCurrent +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark.jpg); +} +.statoDone +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.imgDisabled a +{ + color: #ACACAC; + text-decoration: none; +} +.imgDisabled +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #ACACAC; + background-image: url(images/bg_dark_38.png); +} +.imgSelected a +{ + color: White; + text-decoration: none; +} +.imgSelected +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark_38.png); +} +.imgStandard a:hover +{ + color: White; +} +.imgStandard a +{ + color: #363636; + text-decoration: none; +} +.imgStandard +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} +.imgStandard:hover +{ + color: white; + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; /*color: #363636; */ + background-image: url(images/bg_hover_38.png); +} +.imgStandard:hover a +{ + color: white; +} + +.imgStandardNoHover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + +.imgStandardNoHover:hover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + + +.eta2 +{ + width: 33%; + text-align: center; + background-color: #ffcccc; + font-size: 10pt; + font-weight: bold; +} +.termAnt +{ + width: 33%; + text-align: center; + background-color: #ccffcc; + font-size: 10pt; + font-weight: bold; +} +.termPost +{ + width: 33%; + text-align: center; + background-color: #ccccff; + font-size: 10pt; + font-weight: bold; +} +.watermarked +{ + color: #696969; + background-color: #EFEFFF; +} + + + + + + + + + + + +.divSx +{ + float: left; + padding: 0; + margin: 0; +} +.divDx +{ + float: right; + padding: 0; + margin: 0; +} +.clearDiv +{ + clear: both; +} +.formatTableGeneral +{ + height: 100%; + width: 100%; + border-bottom-width: 0px; +} +.dgCenter +{ + text-align: center; +} +.menuSxTree +{ + color: #D9101E; + font-size: 9pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxTreeOver +{ + color: White; + font-size: 10pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElem +{ + color: #00008B; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemOver +{ + color: black; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemSmall +{ + font-size: 7pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + color: #555555; + margin-top: 0px; +} +.menuSxElemSmallOver +{ + color: #555555; + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + margin-top: 0px; +} +.userClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: bottom; + color: white; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.topMenuMess +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: white; + margin-top: 0px; +} +.topMenuMessEn +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: black; + margin-top: 0px; +} +.bodyMain +{ + background-image: url(images/logo_sw.png); + vertical-align: top; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + height: 100%; + width: 100%; + background-position: center; /*was topleft*/ + background-attachment: scroll; + background-repeat: no-repeat; +} + +/*.bodyMainWhite +{ + vertical-align: top; + border-left: #0D0083 1px solid; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} + +.bodyMainWhite a:hover +{ + color: white; +} + +.bodyMainNoLogo +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; +} + +.bodyMainLogoPiccolo +{ + background-image: url(images/sfondoMedio.png); + background-position: 97% 210px; + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; + background-attachment: scroll; + background-repeat: no-repeat; +} +*/ +.logoUpSx +{ + width: 200; + text-align: left; +} +.topMenu +{ + width: 100%; + text-align: left; + vertical-align: bottom; +} +.tabModPrinc +{ + background-color: White; +} +.sxTabPrinc +{ + font-size: 10pt; + font-style: italic; + color: Blue; + font-weight: bold; + width: 90%; + background-color: Transparent; +} +.dxTabPrinc +{ + background-color: #cbcbFF; + text-align: right; +} +.tab_1 +{ + vertical-align: top; +} +.sxTab_1 +{ + background-color: #C8D0D4; + text-align: left; +} +.sxTab_1_new +{ + background-color: #9999cc; + text-align: left; +} +.dxTab_1 +{ + width: 70%; + background-color: #C8D0D4; +} +.sxTab_2 +{ + background-color: #11AA66; + text-align: left; +} +.dxTab_2 +{ + width: 70%; + background-color: Transparent; +} +.tab_2Body +{ + vertical-align: middle; + border: solid thin #11AA66; +} +.chPwdTitle +{ + padding: 2px; + font-weight: bold; + font-size: 24pt; + color: red; + text-align: center; +} +.chPwdTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.chPwdMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.loginTitle +{ + font-weight: bold; + font-size: 30pt; + color: Red; +} +.loginTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.loginMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.reportLabel +{ + font-size: 16pt; +} +.reportValue +{ + font-size: 16pt; + font-weight: bold; +} +.reportExplLang +{ + font-size: 10pt; +} +.reportExplEn +{ + font-size: 7pt; + font-style: italic; +} +.reportElencoZap +{ + font-size: 9pt; +} +.UnauthAppTitle +{ + font-weight: bold; + font-size: 30pt; + margin-left: 10pt; +} +.UnauthTitle +{ + font-size: 20pt; + color: Red; + margin-left: 30pt; +} +.UnauthMess +{ + font-size: 12pt; + font-style: normal; + margin-left: 30pt; +} +.tableHead +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + width: 100%; + height: 100%; +} +.tableHead2 +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + color: #ffffcc; + background-color: #999977; + width: 100%; + height: 100%; +} +.cmbFiltrText +{ + font-size: 9pt; +} +.currencyFormat +{ + white-space: nowrap; + text-align: right; + vertical-align: baseline; +} +.UserLabel +{ + background-color: #ff9900; + text-align: center; + margin: 6 6 6 6; +} + +.UserLabel .principale +{ + font-size: large; + font-weight: bold; +} +. .UserLabel.secondario +{ + font-size: medium; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 7pt; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.lblBudget +{ + font-size: 8pt; + text-align: left; + font-weight: bold; +} +.errore +{ + font-weight: normal; + font-size: 8pt; + color: Red; +} +.erroreMid +{ + font-weight: normal; + font-size: 10pt; + color: Red; +} +.erroreBig +{ + font-weight: normal; + font-size: 12pt; + color: Red; +} +.valUpd +{ + font-style: italic; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 8pt; +} +.txtMiniLeft +{ + font-size: 8pt; + text-align: left; +} +.valOk +{ + color: Green; +} +.valKo +{ + color: Red; + font-weight: bold; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.searchHead +{ + background-color: #bbaabb; +} +.textHead +{ + background-color: #9966ff; +} +.linkAnnulla +{ + background-color: #ee9999; + color: Black; + font-weight: bold; + font-size: 14pt; +} +.linkSalva +{ + background-color: #99ee99; + color: Black; + font-weight: bold; + font-size: 14pt; +} + +.tableDett1 +{ + background: #98ff98; +} +.valDett1 +{ + font-size: 8pt; + color: Black; + font-weight: normal; +} +.tab_2lbl +{ + vertical-align: baseline; + border-collapse: collapse; + border-width: thin; + border-style: none; + font-size: 7pt; +} +.dettSel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #33ee44; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: white; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettDesel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: white; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: Black; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettHide +{ + border-right: orange 1px solid; + padding-right: 8px; + border-top: orange 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ff3344; + padding-bottom: 2px; + vertical-align: bottom; + border-left: orange 1px solid; + color: white; + padding-top: 2px; + border-bottom: orange 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.tableDett3 +{ + background: #98ff98; + font-size: 9pt; +} +.dett3Head +{ + background: blue; + color: Yellow; + font-weight: bold; + font-size: 9pt; +} +.dett3Col1 +{ + color: Black; + font-weight: bold; + font-size: 9pt; +} + +.linkHead +{ + color: White; +} +.titoloMed +{ + color: Red; + font-size: 18pt; + font-weight: bold; +} +.testoMed +{ + font-size: 12pt; + font-weight: bold; +} + +.txtTab +{ + font-size: 8pt; + font-family: verdana, arial; + text-align: justify; +} + +.tblGray +{ + border-color: #777777; +} +.txtMiniTabella +{ + text-align: right; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaLeft +{ + text-align: left; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaDato +{ + text-align: left; + font-weight: bold; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.relazione +{ + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 11pt; + text-align: justify; +} +.smallTable +{ + width: 300px; +} +.centerAll +{ + vertical-align: middle; + text-align: center; +} +.selLinguaTxt +{ + padding: 2px; + font-weight: bold; + font-size: 12pt; + color: Yellow; + text-align: center; +} +.navBar +{ + font-size: 9pt; + background-color: #ededff; + border-right: #9999ff 1px solid; + border-top: #9999ff 1px solid; + border-left: #9999ff 1px solid; + border-bottom: #9999ff 1px solid; +} + +.panelPaddingTitle +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPadding +{ + padding-top: 5px; + padding-left: 5px; + padding-bottom: 5px; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPaddingTitleDiv +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; + margin-right: 80px; +} + +.panelPaddingDiv +{ + padding-top: 5px; + padding-left: 10px; + padding-bottom: 5px; + margin-right: 80px; +} + + +/* sostituiti tutti i #5555bb del bordino tabellaalta e contornoriq con silver */ + +.wrap +{ + overflow: auto; + white-space: normal; +} + +.dropdownList +{ + font-weight: normal; + font-size: 7pt; + background: #ea101e; + color: white; + font-family: verdana, arial; + text-align: justify; +} +.boxText +{ + font-size: 8pt; + font-weight: normal; + width: 100%; +} +.saveClose +{ + width: 100%; + text-align: center; + background-color: #ea101e; + padding: 2pt; +} + +/* @end */ + +/* @group Brembo Specific */ + +.idxContratto +{ + text-align: center; + font-size: 10pt; + font-weight: bold; +} +.idxStatoContratto +{ + text-align: right; + font-size: 10pt; + font-weight: bold; + font-style: italic; + color: Blue; +} + +/* fasi uomo / macchina*/ +.stileFaseMacchina +{ + color: #ea101e; +} +.stileFaseExt +{ + color: Black; +} +.stileFaseUomo +{ + color: #1e10ea; +} + +.treeCdC +{ + width: 250px; + text-align: right; + font-size: 8pt; + width: 180px; + vertical-align: top; + height: 100%; + background: white; +} + +.RDA +{ + font-size: 7pt; +} +.Ord +{ + font-size: 7pt; + background: #d0ffe3; +} +.Fatt +{ + font-size: 7pt; +} + +.job2do +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: blue; + font-family: verdana, arial; + text-align: left; +} +.jobDone +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: green; + font-family: verdana, arial; + text-align: right; +} + +.bodyAvanzamento +{ + font-family: Verdana, Arial; + background-image: url(images/gradiente.png); +} + +.paramIn +{ + font-family: Verdana; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 7pt; + text-align: justify; + padding: 2px 2px p2x 2px; + border-right: red 2px solid; + border-top: red 2px solid; + border-left: red 2px solid; + border-bottom: red 2px solid; + margin: 1px; + background-color: #ffcccc; +} +.allegatiOut +{ + font-family: Verdana; + border-top: maroon 1px solid; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 8pt; + text-align: justify; +} +.testoAllegatoIN +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: green 2px solid; + border-top: green 2px solid; + border-left: green 2px solid; + border-bottom: green 2px solid; + margin: 1px; + background-color: #ccffdd; + font-weight: normal; + font-size: 7pt; + text-align: left; +} +.testoAllegatoOUT +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: blue 2px solid; + border-top: blue 2px solid; + border-left: blue 2px solid; + border-bottom: blue 2px solid; + margin: 1px; + background-color: #ccddff; + font-weight: normal; + font-size: 7pt; + text-align: left; +} + +/* zona colorazione filtri */ +.filtro_1 +{ + background-color: #8888ff; +} +.filtro_2 +{ + background-color: #aaaaff; +} +.filtro_3 +{ + background-color: #ccccff; +} +.filtro_4 +{ + background-color: #dedeff; +} +.filtro_5 +{ + background-color: #efefff; +} + + +.intestJob +{ + padding: 5px 5px 5px 5px; +} +/* zona DIV con ID */ +#prenotazionehead +{ + text-align: center; +} + + +#prenotazione +{ + padding-left: 3px; + vertical-align: top; +} + + + +/* @end */ + +/* @group Stili Asp */ + +.lblText +{ + font-size: 8pt; +} + +.lblValore +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblValoreBold +{ + font-size: 8pt; + color: Black; + font-weight: bold; + background-color: Transparent; + border-style: none; +} + + +.lblColorGray +{ + padding-left: 2pt; + text-align: left; + background-color: #777777; + font-size: 10pt; + font-weight: bold; + color: White; +} + +.lblWhite +{ + width: 70%; + background-color: white; +} + +.grView +{ + color: #333333; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + padding-bottom: 1px; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; +} +.ctrHeaderPagerRight +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: right; +} +.ctrHeaderPagerBlue +{ + background-color: #507CD1; + height: 1px; +} +.ctrHeaderPagerBlueRight +{ + background-color: #507CD1; + height: 1px; + text-align: right; +} +.ctrFooter +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrCommRow +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHead +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrong +{ + font-weight: bold; +} +.ctrFieldEdit +{ + font-size: 8pt; +} + +/* Controlli Alternativi */ + +.ctrHeaderPagerDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} + +.ctrFooterDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyleDet +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyleDet +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} +.ctrInsRowStyleDet +{ + background-color: #b8b8b8; +} +.ctrEditRowStyleDet +{ + background-color: #D1DDF1; +} +.ctrSelRowStyleDet +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrCommRowDet +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHeadDet +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrongDet +{ + font-weight: bold; +} +.ctrFieldEditDet +{ + font-size: 8pt; +} + +/* END */ + +/* Controlli alternativi per cloning Rossi */ + +.ctrHeaderPagerRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrFooterRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrRowStyleRed +{ + vertical-align: top; + background-color: #FFE1E7; +} + +.ctrAltRowStyleRed +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} + +.ctrInsRowStyleRed +{ + background-color: #b8b8b8; +} + +.ctrEditRowStyleRed +{ + background-color: #FFC4C5; +} + +.ctrSelRowStyleRed +{ + font-weight: bold; + color: #333333; + background-color: #FFC4C5; +} + +.ctrCommRowRed +{ + font-weight: bold; + background-color: #FFC4C5; +} + +.ctrFiledHeadRed +{ + background-color: #FFC4C5; + font-weight: bold; + width: 25%; +} + +.ctrLabelStrongRed +{ + font-weight: bold; +} + +.ctrFieldEditRed +{ + font-size: 8pt; +} + + +/* END */ + + + + +.repHead +{ + background-color: #507CD1; + color: White; + font-size: 10pt; + font-weight: bold; +} +.repFrame +{ + border: solid /* 2px */ #507CD1; +} +.repFooter +{ + font-size: 8pt; + background-color: #507CD1; + color: White; +} +.repFooterRight +{ + font-size: 8pt; + background-color: #507CD1; + color: White; + text-align: right; +} + +/*CollapsiblePanel*/ +.collapsePanel +{ + background-color: white; + overflow: hidden; +} +.collapsePanelHeader +{ + width: 100%; + height: 30px; + background-image: url(images/bg-menu-main.png); + background-repeat: repeat-x; + color: #FFF; + font-weight: bold; +} +.collapsePanelHead +{ + padding: 5px; + cursor: pointer; + vertical-align: middle; +} +.collapsePanelImg +{ + float: right; + vertical-align: middle; +} +.collapsePanelText +{ + float: left; + vertical-align: middle; + font-size: 9pt; +} +.collapsePanelTextDetails +{ + float: left; + margin-left: 20px; + vertical-align: middle; + font-size: 7pt; +} + +.ctrSelRow2DetailStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.pnlDettaglio +{ + margin: 4px 4px 4px 4px; +} + +.dettaglioRiga +{ + vertical-align: top; +} +.pnlMaster +{ + height: 300px; +} +.pnlDetail +{ + border-left: solid 4px #D1DDF1; + border-top: solid 4px #D1DDF1; + border-bottom: solid 4px #D1DDF1; + border-right: solid 4px #D1DDF1; + background-color: #F3FFF3; + vertical-align: top; +} +.pnlDrillDown +{ + border-left: solid 8px #D1DDF1; + border-top: solid 8px #D1DDF1; + border-bottom: solid 8px #D1DDF1; + border-right: solid 8px #D1DDF1; + vertical-align: top; + height: 290px; +} + +.pnlDrillDownAlt +{ + border-right: solid 5px #D1DDF1; +} + +.pnlDrillDownAltAll +{ + border-right: solid 5px #D1DDF1; + border-left: solid 5px #D1DDF1; + border-top: solid 5px #D1DDF1; + border-bottom: solid 5px #D1DDF1; +} + + +.lblSearchLang +{ + font-weight: bold; + font-size: 11pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.tblDett +{ + vertical-align: top; + background-color: white; + text-align: left; +} +. .tblDett.titolo +{ + font-size: 13pt; + font-weight: bold; + color: blue; +} +. .tblDett.sceltaGen +{ + background-color: #8899ee; +} +.pnlPar_1 +{ + background-color: #ea101e; +} +.pnlPar_1_En +{ + font-size: 7pt; + font-weight: normal; + color: Silver; +} +.pnlPar_1_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_1_Error +{ + font-size: 7pt; + font-weight: bold; + color: #aadd00; +} +.pnlPar_1_Descr +{ + background-color: #ea101e; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_2 +{ + background-color: #dcdcdc; +} +.pnlPar_2_En +{ + font-size: 7pt; + font-weight: normal; + color: black; +} +.pnlPar_2_Lang +{ + font-size: 8pt; + font-weight: bold; + color: black; +} +.pnlPar_2_Error +{ + font-size: 7pt; + font-weight: bold; + color: red; +} +.pnlPar_2_Descr +{ + font-size: 9pt; + font-weight: normal; +} +.pnlPar_3 +{ + background-color: #4444cc; +} +.pnlPar_3_En +{ + font-size: 8pt; + font-weight: bold; + color: yellow; +} +.pnlPar_3_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_3_Error +{ + font-size: 7pt; + font-weight: bold; + color: Yellow; +} +.pnlPar_3_Descr +{ + background-color: #4444cc; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_3_warn +{ + background-color: #4444cc; + font-size: 8pt; + font-weight: normal; + font-style: italic; + color: Yellow; +} +.dlTestata +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #000099; +} +.dlTestataSel +{ + font-size: 8pt; + color: #339966; + background-color: #111111; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItemObblig +{ + text-align: right; + font-size: 7pt; + color: Black; + background-color: #b3ccff; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataEdit +{ + font-size: 8pt; + color: #339966; + background-color: #66FFCC; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dlTestataHead +{ + color: #CCFFFF; + background: #000099; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataHead2 +{ + color: #CCFFFF; + background: #997799; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataFoot +{ + text-align: right; + color: #3333dd; + background: #D4C8D0; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestata_Lang +{ + font-size: 7pt; + font-weight: bold; + color: #3366bb; +} +.dlTestata_En +{ + font-size: 7pt; + font-weight: normal; + color: #339933; +} + +.lblTabPrincLang +{ + font-weight: bold; + font-size: 13pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn +{ + font-weight: normal; + font-size: 7pt; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.lblTabPrincLang2 +{ + font-weight: bold; + font-size: 10pt; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn2 +{ + font-weight: normal; + font-size: 7pt; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.lblTab_1Lang +{ + font-size: 10pt; + font-weight: bold; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_1En +{ + font-size: 7pt; + font-weight: normal; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.tab_1Body +{ + vertical-align: middle; + border: solid thin #ff9900; +} +.lblLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; +} +.lblEn +{ + font-size: 7pt; + color: Black; +} + +.dgSx +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #990000; +} +.dgSxSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxEdit +{ + font-size: 8pt; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgSxHead +{ + color: #FFFFCC; + background: #990000; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxHead2 +{ + color: #FFFFCC; + background: #999977; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxFoot +{ + text-align: right; + color: Black; + background: #bbccbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgSxPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblTab_2Lang +{ + font-size: 10pt; + font-weight: bold; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_2En +{ + font-size: 7pt; + font-weight: normal; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.dgDx +{ + background-color: White; + border-width: 1px; + border-style: solid; + border-color: #003399; +} +.dgDxSel +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxItem +{ + font-size: 7pt; + color: #003399; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxAltItem +{ + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxEdit +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxHead +{ + color: #CCCCFF; + background: #003399; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxFoot +{ + color: #003399; + background-color: #99CCCC; + font-size: 10pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblMess +{ + color: Red; + font-size: 12pt; + font-style: italic; + font-weight: bold; +} + +.dlTextbox +{ + font-size: 8pt; +} +.dlLabel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.pnl_bozza +{ + background: #dcdcdc; +} +.pnl_inApprov +{ + background: #cbcbcb; +} +.pnl_freezed +{ + background: #bababa; +} +.lblValSel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblDett1 +{ + text-align: left; + font-weight: bold; + font-size: 7pt; + color: black; +} + +.dgAllegati +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgAllegatiSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiAltItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiEdit +{ + font-size: 8pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgAllegatiHead +{ + color: #FFFFCC; + background: #009900; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgAllegatiPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.btnTab +{ + border-right: #ea101e 1px solid; + padding-right: 8px; + border-top: #ea101e 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ea101e; + padding-bottom: 2px; + vertical-align: top; + border-left: #ea101e 1px solid; + color: white; + padding-top: 0px; + border-bottom: #ea101e 1px solid; + font-family: verdana, arial; + text-align: justify; +} + +.dgFiles +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgFilesSel +{ + text-align: right; + font-size: 9pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesAltItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesEdit +{ + font-size: 9pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgFilesHead +{ + color: #CCFFFF; + background: #990000; + font-weight: bold; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgFilesPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} + +.lblFiltrLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; + margin-left: 2px; + margin-right: 2px; +} +.lblFiltrEn +{ + font-size: 7pt; + font-weight: normal; + color: Black; + margin-left: 2px; + margin-right: 2px; +} + +grViewBorder +{ + border-left-width: 2px; + border-top-width: 2px; + border-bottom-width: 2px; + border-right-width: 0px; +} +/* @end */ + +/* @group Portable */ + +.bodyPortable +{ + /*background-color: #FFFFFF; */ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font: menu; + font-size: small; /* aggiunte per WES*/ + width: 100%; + vertical-align: middle; + background-color: Black; + color: White; +} + +.btnEnabled +{ + color: White; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} +.btnCurrent +{ + color: Black; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; /*border-color: #6969ff;*/ + border-color: #7A90AB; + padding: 1px 1px 1px 1px; + border-width: 2px; + border-style: solid; + background-color: #AAB8C9; /*background: #DEDEFF;*/ + text-decoration: none; +} +.btnDisabled +{ + color: #444444; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} + +.iphone +{ + width: 100%; +} + + + +.txtFooter +{ + font-size: small; + font-style: italic; +} + +.txtCopyright +{ + font-size: small; +} + +/* @end */ + +.watermark +{ + color: Gray; + font-style: italic; +} +.autocomplete +{ + color: Gray; + font-size: smaller; +} +.autocompleteHiglight +{ + color: Black; + font-size: smaller; +} + +.bg_plus +{ + background-color:silver; +} diff --git a/Projects/WebGIM/GIM_site/Web.config b/Projects/WebGIM/GIM_site/Web.config new file mode 100644 index 0000000..31ddbf4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/Web.config @@ -0,0 +1,197 @@ + + + + + + +
+ +
+
+
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebConfigSomaschini_AppSettings.config b/Projects/WebGIM/GIM_site/WebConfigSomaschini_AppSettings.config new file mode 100644 index 0000000..1dbce5b --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebConfigSomaschini_AppSettings.config @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebConfigSomaschini_ConnectionStrings.config b/Projects/WebGIM/GIM_site/WebConfigSomaschini_ConnectionStrings.config new file mode 100644 index 0000000..16ac759 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebConfigSomaschini_ConnectionStrings.config @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx new file mode 100644 index 0000000..968b4f6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx @@ -0,0 +1,86 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_anagAmbitiGuasto" Codebehind="mod_anagAmbitiGuasto.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx.cs new file mode 100644 index 0000000..ed5d055 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx.cs @@ -0,0 +1,85 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_anagAmbitiGuasto : ApplicationUserControl +{ + public event EventHandler eh_resetSelezione; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// seleziono valore in editing... + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + GIM_data.DS_applicazioneTableAdapters.AnagAmbitoGuastoTableAdapter taAnagAmbito = new GIM_data.DS_applicazioneTableAdapters.AnagAmbitoGuastoTableAdapter(); + taAnagAmbito.Insert("-- [NUOVO] non definito --"); + grView.DataBind(); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx.designer.cs new file mode 100644 index 0000000..6593608 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagAmbitiGuasto.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_anagAmbitiGuasto { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx new file mode 100644 index 0000000..de6f44e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx @@ -0,0 +1,105 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_anagOpMtz" Codebehind="mod_anagOpMtz.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx.cs new file mode 100644 index 0000000..3422ba9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_anagOpMtz : ApplicationUserControl +{ + public event EventHandler eh_resetSelezione; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// seleziono valore in editing... + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + GIM_data.DS_applicazioneTableAdapters.AnagrOperMtzTableAdapter taAnagOpMtz = new GIM_data.DS_applicazioneTableAdapters.AnagrOperMtzTableAdapter(); + taAnagOpMtz.Insert("9999", "-- [NUOVO] Cognome --", "-- [NUOVO] Nome --"); + grView.DataBind(); + } + /// + /// è editabile SOLO se non è il primo user 0000 che è un segnaposto + /// + /// + /// + public bool isEditable(object matricola) + { + bool answ = (memLayer.ML.confReadString("defaultMatr") != matricola.ToString()); + return answ; + } + +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx.designer.cs new file mode 100644 index 0000000..f86121f --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_anagOpMtz.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_anagOpMtz { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx new file mode 100644 index 0000000..3eb366a --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx @@ -0,0 +1,54 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_aperturaImpianti" Codebehind="mod_aperturaImpianti.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx.cs new file mode 100644 index 0000000..90fa92d --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_aperturaImpianti : ApplicationUserControl +{ + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + } + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx.designer.cs new file mode 100644 index 0000000..f17b620 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_aperturaImpianti.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_aperturaImpianti { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx new file mode 100644 index 0000000..9c3346f --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx @@ -0,0 +1,41 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_assegnazioniMacchineImpianti" Codebehind="mod_assegnazioniMacchineImpianti.ascx.cs" %> +<%@ Register Src="~/WebUserControls/mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_macchine.ascx" TagName="mod_macchine" TagPrefix="uc2" %> + + + + + + + + + + + +
+ + + + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx.cs new file mode 100644 index 0000000..7df721e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx.cs @@ -0,0 +1,93 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_assegnazioniMacchineImpianti : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + } + /// + /// click spostamento da A a B + /// + /// + /// + protected void btnA2B_Click(object sender, EventArgs e) + { + // solo se macchina selezionata... + if (mod_macchine1.idxMacchinaSel != 0) + { + // sposto da A a B + TA_app.obj.taMacchine.sp_spostaMacchina(mod_macchine1.idxMacchinaSel, Convert.ToInt32(ddlImpianto_B.SelectedValue)); + updateAll(); + lblWarning.Visible = false; + } + else + { + // mostro errore... + lblWarning.Text = user_std.UtSn.Traduci("ErroreNoMaccSel"); + lblWarning.Visible = true; + } + } + /// + /// click spostamento da B ad A + /// + /// + /// + protected void btnB2A_Click(object sender, EventArgs e) + { + if (mod_macchine2.idxMacchinaSel != 0) + { // sposto da B ad A + TA_app.obj.taMacchine.sp_spostaMacchina(mod_macchine2.idxMacchinaSel, Convert.ToInt32(ddlImpianto_A.SelectedValue)); + updateAll(); + lblWarning.Visible = false; + } + else + { + // mostro errore... + lblWarning.Text = user_std.UtSn.Traduci("ErroreNoMaccSel"); + lblWarning.Visible = true; + } + } + /// + /// aggiorna visualizzazioni delle 2 tab di dettaglio + /// + private void updateAll() + { + update_A(); + update_B(); + } + /// + /// aggiorno tab impianto A + /// + /// + /// + protected void ddlImpianto_A_SelectedIndexChanged(object sender, EventArgs e) + { + update_A(); + } + + private void update_A() + { + mod_macchine1.idxImpiantoSel = Convert.ToInt32(ddlImpianto_A.SelectedValue); + mod_macchine1.doUpdate(); + } + /// + /// aggiorno tab impianto B + /// + /// + /// + protected void ddlImpianto_B_SelectedIndexChanged(object sender, EventArgs e) + { + update_B(); + } + + private void update_B() + { + mod_macchine2.idxImpiantoSel = Convert.ToInt32(ddlImpianto_B.SelectedValue); + mod_macchine2.doUpdate(); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx.designer.cs new file mode 100644 index 0000000..611e3ab --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_assegnazioniMacchineImpianti.ascx.designer.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_assegnazioniMacchineImpianti { + + /// + /// ddlImpianto_A control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlImpianto_A; + + /// + /// ddlImpianto_B control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlImpianto_B; + + /// + /// mod_macchine1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_macchine mod_macchine1; + + /// + /// btnA2B control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnA2B; + + /// + /// btnB2A control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnB2A; + + /// + /// mod_macchine2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_macchine mod_macchine2; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx new file mode 100644 index 0000000..4833a7b --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx @@ -0,0 +1,120 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_calChiusura" Codebehind="mod_calChiusura.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +
+
+ + + +
+
+ +
+
+ +
+ +
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx.cs new file mode 100644 index 0000000..ed9e081 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx.cs @@ -0,0 +1,114 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_calChiusura : ApplicationUserControl +{ + public event EventHandler eh_resetSelezione; + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + if (!Page.IsPostBack) + { + grView.PageSize = _righeDataGridMed; + btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); + btnInsPeriodo.Text = traduci("btnInsPeriodo"); + } + } + + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + TA_app.obj.taCalFF.Insert(DateTime.Now.Date, "-- [NUOVO] non definito --"); + grView.DataBind(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + protected void btnShowInsPeriodo_Click(object sender, EventArgs e) + { + pnlInsPeriodo.Visible = !pnlInsPeriodo.Visible; + if (pnlInsPeriodo.Visible) + { + btnShowInsPeriodo.Text = traduci("btnHideInsPeriodo"); + } + else + { + btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); + } + } + protected void btnInsPeriodo_Click(object sender, EventArgs e) + { + // verifico date congrue... + DateTime inizio = Convert.ToDateTime(txtDataFrom.Text); + DateTime fine = Convert.ToDateTime(txtDataTo.Text); + if (fine.CompareTo(inizio) >= 0) + { + // inserisco le voci x tutte le date nell'intervallo... + while (fine.CompareTo(inizio) >= 0) + { + TA_app.obj.taCalFF.Insert(inizio, txtDescrizione.Text); + inizio = inizio.AddDays(1); + } + // update e nascondo pannello + grView.DataBind(); + pnlInsPeriodo.Visible = false; + btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); + lblWarning.Visible = false; + } + else + { + lblWarning.Visible = true; + lblWarning.Text = traduci("OrdineDateErrato"); + } + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx.designer.cs new file mode 100644 index 0000000..8c88291 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_calChiusura.ascx.designer.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_calChiusura { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// btnShowInsPeriodo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnShowInsPeriodo; + + /// + /// pnlInsPeriodo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlInsPeriodo; + + /// + /// txtDataFrom control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataFrom; + + /// + /// CalendarExtender2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2; + + /// + /// txtDataTo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataTo; + + /// + /// CalendarExtender3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender3; + + /// + /// txtDescrizione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDescrizione; + + /// + /// btnInsPeriodo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnInsPeriodo; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx new file mode 100644 index 0000000..5e0d543 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx @@ -0,0 +1,28 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_chLang" Codebehind="mod_chLang.ascx.cs" %> + + + + + + + + +
+ +
+ + + + + + <%# DataBinder.Eval(Container, "DataItem.Lingua") %> + + + <%# DataBinder.Eval(Container, "DataItem.Lingua") %> + + + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx.cs new file mode 100644 index 0000000..2ac1f49 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx.cs @@ -0,0 +1,34 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_chLang : ApplicationUserControl +{ + protected void dataListLingue_SelectedIndexChanged(object sender, EventArgs e) + { + // impongo ad oggetto user la lingua selezionata... + user_std.UtSn.lingua = dataListLingue.SelectedValue.ToString(); + // salvo richiesta udpate in sessione... + SteamWare.memLayer.ML.setSessionVal("doUpdateNow","true"); + user_std.UtSn.ricaricaMappaSito(); + Response.Redirect(_paginaCorrente); + } + + protected override void traduciObj() + { + lblScegli.Text = traduci("scegliLingua"); + } + + public string formattaLingua(object breve, object lungo) + { + return string.Format("{0} - {1}", breve, lungo); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx.designer.cs new file mode 100644 index 0000000..784d89a --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_chLang.ascx.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_chLang { + + /// + /// table1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlTable table1; + + /// + /// lblScegli control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblScegli; + + /// + /// dataListLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DataList dataListLingue; + + /// + /// ods_lingueApp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods_lingueApp; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx new file mode 100644 index 0000000..d3ff01c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx @@ -0,0 +1,42 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_dataOra" Codebehind="mod_dataOra.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + +
+
+
+ + + +
+ + + + + + +
+
+
+ +
+
+
+ +
+
+
+ +
+
+ + + +
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx.cs new file mode 100644 index 0000000..4bd1fb6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx.cs @@ -0,0 +1,214 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +[ValidationProperty("valore")] +public partial class mod_dataOra : System.Web.UI.UserControl +{ + /// + /// definisce se siano visibili e selezionabili i secondi + /// + protected bool _showSeconds = false; + /// + /// tipo selettore orario richiesto + /// + protected tipoSelOrario _tipoOrario; + /// + /// calsse css applicata ai controlli + /// + protected string _css; + /// + /// valore di riferimento... + /// + protected DateTime _valore; + /// + /// avvio pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + traduciObj(); + fixPnlVisibility(); + //setupControlli(); + fixCss(); + } + } + /// + /// traduce gli oggetti + /// + private void traduciObj() + { + lblData.Text = traduci("lblData"); + lblOra.Text = traduci("lblOra"); + lblMin.Text = traduci("lblMin"); + lblTime.Text = traduci("lblTime"); + } + /// + /// sistema valori default dei controlli + /// + private void setupControlli() + { + // mostro data + txtData.Text = _valore.Date.ToString("dd/MM/yy"); + switch (_tipoOrario) + { + case tipoSelOrario.tendina: + // aggiongo valori ora e minuti... + ddlOra.Items.Clear(); + ddlMin.Items.Clear(); + for (int i = 0; i < 24; i++) + { + ddlOra.Items.Add(new ListItem(string.Format("{0:00}", i), i.ToString())); + } + for (int i = 0; i < 60; i++) + { + ddlMin.Items.Add(new ListItem(string.Format("{0:00}", i), i.ToString())); + } + // imposto i valori + ddlOra.SelectedValue = _valore.Hour.ToString(); + ddlMin.SelectedValue = _valore.Minute.ToString(); + break; + case tipoSelOrario.testuale: + txtTime.Text = string.Format("{0:HH:mm}", _valore); + break; + } + } + /// + /// sistema visualizzazione controlli + /// + private void fixPnlVisibility() + { + switch (_tipoOrario) + { + case tipoSelOrario.tendina: + pnlDropDown.Visible = true; + pnlText.Visible = false; + break; + case tipoSelOrario.testuale: + pnlDropDown.Visible = false; + pnlText.Visible = true; + break; + } + } + /// + /// sistema i css del controllo... + /// + private void fixCss() + { + txtData.CssClass = _css; + switch (_tipoOrario) + { + case tipoSelOrario.tendina: + ddlOra.CssClass = _css; + ddlMin.CssClass = _css; + break; + case tipoSelOrario.testuale: + txtTime.CssClass = _css; + break; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// scelta del tipo di selettore per ora/min/sec + /// + public tipoSelOrario tipoOrario + { + get + { + return _tipoOrario; + } + set + { + _tipoOrario = value; + fixPnlVisibility(); + } + } + /// + /// valore del controllo + /// + public DateTime valore + { + get + { + int ora = 0; + int min = 0; + switch (_tipoOrario) + { + case tipoSelOrario.tendina: + ora = Convert.ToInt32(ddlOra.SelectedValue); + min = Convert.ToInt32(ddlMin.SelectedValue); + break; + case tipoSelOrario.testuale: + ora = Convert.ToDateTime(txtTime.Text).Hour; + min = Convert.ToDateTime(txtTime.Text).Minute; + break; + } + DateTime answ = Convert.ToDateTime(txtData.Text).AddHours(ora).AddMinutes(min); + return answ; + } + set + { + _valore = value; + if (ddlOra.SelectedValue == "") + { + setupControlli(); + } + } + } + /// + /// css applicato agli elementi del controllo + /// + public string css + { + get + { + return _css; + } + set + { + _css = value; + fixCss(); + } + } + /// + /// nasconde se richiesto le label dei controlli dataOra + /// + public bool mostraLabel + { + set + { + lblData.Visible = value; + lblMin.Visible = value; + lblOra.Visible = value; + lblTime.Visible = value; + } + } +} +/// +/// tipo di selettore impiegato per la seleizone dell'orario +/// +public enum tipoSelOrario +{ + /// + /// selettore a tendina per l'ora (00 -> 23) ed i minuti/secondi (00 -> 59) + /// + tendina, + /// + /// selettore testuale con masked input + /// + testuale +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx.designer.cs new file mode 100644 index 0000000..21e3e21 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dataOra.ascx.designer.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_dataOra { + + /// + /// lblData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblData; + + /// + /// txtData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtData; + + /// + /// CalendarExtender1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1; + + /// + /// pnlDropDown control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlDropDown; + + /// + /// lblOra control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblOra; + + /// + /// ddlOra control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlOra; + + /// + /// lblMin control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMin; + + /// + /// ddlMin control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlMin; + + /// + /// pnlText control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlText; + + /// + /// lblTime control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTime; + + /// + /// txtTime control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtTime; + + /// + /// mee_Ora control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.MaskedEditExtender mee_Ora; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx new file mode 100644 index 0000000..7f3a873 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx @@ -0,0 +1,103 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_dettMtzProg" Codebehind="mod_dettMtzProg.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + +
+

+ +

+
+
+ + +
+
+ +
+
+ +
+
+ + + + + + +
+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+
+ +
+
+
+ + + + +
+
+
+
+
+ + + + +
+
+
+ + +
+
+
+ + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx.cs new file mode 100644 index 0000000..bba4203 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx.cs @@ -0,0 +1,89 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_dettMtzProg : System.Web.UI.UserControl +{ + public event EventHandler eh_newInserted; + + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + traduciObj(); + setupValori(); + } + } + + private void setupValori() + { + txtDataInizio.Text = DateTime.Now.ToString("dd/MM/yy"); + txtCadenza.Text = "1"; + } + + private void traduciObj() + { + lblInsNewIntPro.Text = traduci("lblInsNewIntPro"); + lblDescrMtzPro.Text = traduci("lblDescrMtzPro"); + lblInizioMtzPro.Text = traduci("lblInizioMtzPro"); + lblPrior.Text = traduci("lblPrior"); + chkImpFermo.Text = traduci("chkImpFermo"); + lblTipoGuasto.Text = traduci("lblTipoGuasto"); + lblFreq.Text = traduci("lblFreq"); + lblCadenza.Text = traduci("lblCadenza"); + btnCreaMtzPro.Text = traduci("btnCreaMtzPro"); + lblMacchineInteressate.Text = traduci("lblMacchineInteressate"); + rfvCad.Text = traduci("cadIntReq"); + rfvDescrizione.Text = traduci("descrIntReq"); + rfvData.Text = traduci("dataReq"); + } + /// + /// wrap traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + protected void btnCreaMtzPro_Click(object sender, EventArgs e) + { + // spazzo TUTTE le righe del controllo... + foreach (ListItem riga in listMacchine.Items) + { + // se è selezionata creo riga anche x lei... + if (riga.Selected) + { + creaInterventoMtzPro(Convert.ToInt32(riga.Value)); + } + } + // resetto selezioni e controlli... + txtDescrizione.Text = ""; + txtCercaMacchine.Text = "*"; + listMacchine.SelectedIndex = -1; + if (eh_newInserted != null) + { + eh_newInserted(this, new EventArgs()); + } + } + /// + /// crea un intervento di mtz programmata x la macchina con idx passato + /// + /// + private void creaInterventoMtzPro(int idx) + { + TA_app.obj.taMtzPro.Insert(idx, Convert.ToDateTime(txtDataInizio.Text), ddlFreq.SelectedValue, Convert.ToInt32(txtCadenza.Text), txtDescrizione.Text.Trim(), Convert.ToInt32(ddlPrior.SelectedValue), chkImpFermo.Checked, Convert.ToInt32(ddlTipo.SelectedValue)); + } + /// + /// aggiorna selezione di default + /// + /// + /// + protected void ddlPrior_DataBound(object sender, EventArgs e) + { + ddlPrior.SelectedIndex = 2; + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx.designer.cs new file mode 100644 index 0000000..3ab7f2c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettMtzProg.ascx.designer.cs @@ -0,0 +1,257 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_dettMtzProg { + + /// + /// lblInsNewIntPro control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblInsNewIntPro; + + /// + /// lblDescrMtzPro control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescrMtzPro; + + /// + /// txtDescrizione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDescrizione; + + /// + /// rfvDescrizione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvDescrizione; + + /// + /// lblMacchineInteressate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMacchineInteressate; + + /// + /// txtCercaMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCercaMacchine; + + /// + /// listMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listMacchine; + + /// + /// odsMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine; + + /// + /// lblInizioMtzPro control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblInizioMtzPro; + + /// + /// txtDataInizio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataInizio; + + /// + /// rfvData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvData; + + /// + /// CalendarExtender1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1; + + /// + /// lblPrior control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrior; + + /// + /// ddlPrior control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlPrior; + + /// + /// odsPrior control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsPrior; + + /// + /// chkImpFermo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkImpFermo; + + /// + /// lblTipoGuasto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTipoGuasto; + + /// + /// ddlTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlTipo; + + /// + /// odsTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsTipo; + + /// + /// lblFreq control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFreq; + + /// + /// ddlFreq control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlFreq; + + /// + /// odsFreq control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFreq; + + /// + /// lblCadenza control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCadenza; + + /// + /// txtCadenza control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCadenza; + + /// + /// rfvCad control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvCad; + + /// + /// btnCreaMtzPro control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreaMtzPro; + + /// + /// valSummary control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ValidationSummary valSummary; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx new file mode 100644 index 0000000..e4380b4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx @@ -0,0 +1,763 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_dettaglioIntervento" Codebehind="mod_dettaglioIntervento.ascx.cs" %> +<%@ Register Src="~/WebUserControls/mod_interventoOpMtz.ascx" TagName="mod_interventoOpMtz" TagPrefix="uc1" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="~/WebUserControls/mod_dataOra.ascx" TagName="mod_dataOra" TagPrefix="uc2" %> +
+
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + +
+ + + +
+ + + + + + +
+ + + + + <%-- + + + + --%> + + +
+ + + +
+ + + +
+ + + +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + +
+ +
+
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + +
+ + + +
+ + + + + + +
+ + + + + <%-- + + + + --%> + + +
+ + + +
+ + + +
+ + + +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + +
+ +
+
+
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + +
+ + + + + + + +
+ + + + + + +
+ + + + + <%-- + + + + --%> + + +
+ + + + + + + + + +
+ + + +
+
+ + + +
+ + +
+ +
+
+ + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ <%----%> + + + + + + + + + + + + +
+ + + + +
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.cs new file mode 100644 index 0000000..a511b5e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.cs @@ -0,0 +1,144 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_dettaglioIntervento : System.Web.UI.UserControl +{ + #region gestione eventi + + public event EventHandler eh_chiudi; + //public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + setupInizialeControlli(); + } + if (frmView_default.CurrentMode == FormViewMode.ReadOnly) + { + btnCancel.Visible = false; + } + + } + /// + /// setup iniziale e di reset dei controlli + /// + private void setupInizialeControlli() + { + traduciObj(); + frmView_default.ChangeMode(FormViewMode.ReadOnly); + frmView_default.Visible = true; + frmView_full.Visible = false; + btnCancel.Enabled= userCanEditData; + btnCompilaMtz.Enabled = userCanEditData; + btnEditFull.Enabled = userCanEditData; + } + /// + /// effettua traduzione pagina in lingua corrente + /// + private void traduciObj() + { + btnElenco.Text = traduci("btnElencoRichiesteMtz"); + btnCancel.Text = traduci("btnCancel"); + btnCompilaMtz.Text = traduci("btnCompilaMtz"); + btnEditFull.Text = traduci("btnEditFull"); + } + /// + /// wrapper alla traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// aggiorna il dato mostrato + /// + public void doUpdate() + { + setupInizialeControlli(); + } + /// + /// abilita compilazione parte mtz dell'intervento + /// + /// + /// + protected void btnCompilaMtz_Click(object sender, EventArgs e) + { + frmView_default.ChangeMode(FormViewMode.Edit); + frmView_default.Visible = true; + frmView_full.Visible = false; + btnCancel.Visible = true; + } + /// + /// permette editing di tutto + /// + /// + /// + protected void btnEditFull_Click(object sender, EventArgs e) + { + frmView_full.ChangeMode(FormViewMode.Edit); + frmView_full.Visible = true; + frmView_default.Visible = false; + btnCancel.Visible = true; + frmView_default.DataBind(); + frmView_full.DataBind(); + } + /// + /// chiude la parte di editing + /// + /// + /// + protected void btnCancel_Click(object sender, EventArgs e) + { + frmView_default.ChangeMode(FormViewMode.ReadOnly); + frmView_default.Visible = true; + frmView_full.Visible = false; + btnCancel.Visible = false; + frmView_default.DataBind(); + frmView_full.DataBind(); + } + /// + /// chiude la parte di editing + /// + /// + /// + protected void btnElenco_Click(object sender, EventArgs e) + { + if (eh_chiudi != null) + { + eh_chiudi(this, new EventArgs()); + } + } + protected void ods_full_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + frmView_default.ChangeMode(FormViewMode.ReadOnly); + frmView_default.Visible = true; + frmView_full.Visible = false; + frmView_default.DataBind(); + } + protected void listCausali_TextChanged(object sender, EventArgs e) + { + btnCancel.Visible = true; + } + + /// + /// determina se l'utente possa editare i dati (permesso "_SU" + /// + public bool userCanEditData + { + get + { + return (user_std.UtSn.diritti.Select("COD_FUNZIONE = 'GIM_SU'").Length > 0); + } + } + +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.designer.cs new file mode 100644 index 0000000..ebd8546 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.designer.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_dettaglioIntervento { + + /// + /// btnElenco control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnElenco; + + /// + /// btnCancel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCancel; + + /// + /// btnCompilaMtz control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCompilaMtz; + + /// + /// btnEditFull control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnEditFull; + + /// + /// frmView_default control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.FormView frmView_default; + + /// + /// frmView_full control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.FormView frmView_full; + + /// + /// ods_default control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods_default; + + /// + /// ods_full control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods_full; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx new file mode 100644 index 0000000..24a347e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx @@ -0,0 +1,88 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_elFamMacch" Codebehind="mod_elFamMacch.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx.cs new file mode 100644 index 0000000..069f65e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx.cs @@ -0,0 +1,134 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_elFamMacch : ApplicationUserControl +{ + public event EventHandler eh_selezioneValore; + public event EventHandler eh_resetSelezione; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// seleziono valore in editing... + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + GIM_data.DS_applicazioneTableAdapters.AnagFamMacchineTableAdapter taFamMacc = new GIM_data.DS_applicazioneTableAdapters.AnagFamMacchineTableAdapter(); + taFamMacc.Insert("-- [NUOVA] n.d. --"); + grView.DataBind(); + } + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + if (eh_selezioneValore != null) + { + eh_selezioneValore(this, new EventArgs()); + } + } + /// + /// restituisce il valore selezionato... se non selezionato restituisce -1 + /// + public int idxFamMacc_sel + { + get + { + int answ = -1; + if (grView.SelectedIndex != -1) + { + answ = Convert.ToInt32(grView.SelectedValue); + } + return answ; + } + } + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + grView.SelectedIndex = -1; + grView.DataBind(); + } + /// + /// determina se sia cancellabile + /// + /// + /// + public bool isDeletable(object idx) + { + bool answ=false; + if (TA_app.obj.taMacc2Fam.getByFam(Convert.ToInt32(idx)).Rows.Count == 0) + { + answ = true; + } + return answ; + } + /// + /// esegue update + /// + public void doUpdate() + { + grView.DataBind(); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx.designer.cs new file mode 100644 index 0000000..cfab09c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elFamMacch.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_elFamMacch { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx new file mode 100644 index 0000000..ffad5c7 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx @@ -0,0 +1,56 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_elMacch2Fam" Codebehind="mod_elMacch2Fam.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx.cs new file mode 100644 index 0000000..c9e0491 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_elMacch2Fam : ApplicationUserControl +{ + public event EventHandler eh_delValore; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// indica il valore dell'impianto filtrato in visualizzazione + /// + public int idxFamMacchSel + { + get + { + return Convert.ToInt32(lblFamMacc.Text); + } + set + { + lblFamMacc.Text = value.ToString(); + } + } + /// + /// eliminato il valore genera l'evento + /// + /// + /// + protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) + { + if (eh_delValore != null) + { + eh_delValore(this, new EventArgs()); + } + } + /// + /// esegue update + /// + public void doUpdate() + { + grView.DataBind(); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx.designer.cs new file mode 100644 index 0000000..d5afc71 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elMacch2Fam.ascx.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_elMacch2Fam { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblFamMacc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFamMacc; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx new file mode 100644 index 0000000..0f6bbca --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx @@ -0,0 +1,145 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_elencoMtzProg" Codebehind="mod_elencoMtzProg.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="~/WebUserControls/mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +
+ + + + + +
+
+ +
+
+ + + +
+
+
+ +
+
+ + + +
+
+ + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx.cs new file mode 100644 index 0000000..a775f98 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx.cs @@ -0,0 +1,269 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using System.Data; + +public partial class mod_elencoMtzProg : ApplicationUserControl +{ + #region gestione eventi + + public event EventHandler eh_newReq; + public event EventHandler eh_resetSelezione; + public event EventHandler eh_selValore; + + #endregion + protected string _idxGridView; + + /// + /// traduzioni + /// + protected override void traduciObj() + { + base.traduciObj(); + btnShowNew.Text = traduci("btnShowNew"); + lblFiltMacchina.Text = traduci("lblFiltMacchina"); + lblFiltTipo.Text = traduci("lblFiltTipo"); + } + + /// + /// cambio visibilità pannello new data + /// + /// + /// + protected void btnShowNew_Click(object sender, EventArgs e) + { + if (btnShowNew.Text == traduci("btnHideNew")) + { + btnShowNew.Text = traduci("btnShowNew"); + } + else + { + btnShowNew.Text = traduci("btnHideNew"); + } + // chiamo evento + if (eh_newReq != null) + { + eh_newReq(this, new EventArgs()); + } + } + /// + /// aggiorno il controllo + /// + public void doUpdate() + { + grView.DataBind(); + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// restituisce un testo trimamto a maxChar caratteri + /// + /// + /// + /// + public string trimmaTesto(object _testo, object _maxChar) + { + string answ = ""; + string testo = _testo.ToString(); + int maxChar = Convert.ToInt32(_maxChar); + if (testo.Length <= maxChar) + { + answ = testo; + } + else + { + answ = string.Format("{0}...", testo.Substring(0, maxChar)); + } + return answ; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// setta selected alla riga il cui valore key è in session + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + GIM_data.DS_applicazione.v_mtzProgExpRow riga = (GIM_data.DS_applicazione.v_mtzProgExpRow)_drv.Row; + if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.idxIntPro.ToString()) + { + grView.SelectedIndex = e.Row.RowIndex; + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), SteamWare.memLayer.ML.StringSessionObj(_idxGridView)); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + } + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando clona... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + int _idx = Convert.ToInt32(e.Keys["numIntMtz"]); + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + // verifico il tipo di richiesta (up/down level, clona o update normale + switch (_comando) + { + case "clonaObj": + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "idxIntPro"; + if (!Page.IsPostBack) + { + mod_filtroImpianto.ods = odsImpianti; + mod_filtroMacchina.ods = odsMacchine; + mod_filtroTipo.ods = odsTipo; + } + mod_filtroTipo.eh_selValore += new EventHandler(mod_filtroTipo_eh_selValore); + mod_filtroMacchina.eh_selValore += new EventHandler(mod_filtroMacchina_eh_selValore); + } + + void mod_filtroMacchina_eh_selValore(object sender, EventArgs e) + { + // chiamo procedura ricostruzione ods con filtri... + checkFixOds(); + } + void mod_filtroTipo_eh_selValore(object sender, EventArgs e) + { + // chiamo procedura ricostruzione ods con filtri... + checkFixOds(); + } + /// + /// sistemo filtraggio con valori selezionati + /// + private void checkFixOds() + { + ods.FilterExpression = "( codMacchina LIKE '%{0}%' OR nomeMacchina LIKE '%{0}%' OR descrizione LIKE '%{0}%' )"; + if (mod_filtroTipo.valoreInt != 0) + { + ods.FilterExpression += " AND (idxTipo = {1})"; + } + if (mod_filtroMacchina.valoreInt != 0) + { + ods.FilterExpression += " AND (idxMacchina = {2})"; + } + ods.DataBind(); + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro impianto + /// + /// + /// + public void eh_selectedImpianto(object sender, EventArgs e) + { + if (mod_filtroImpianto.valoreInt != 0) + { + if (!mod_filtroMacchina.Visible) + { + mod_filtroMacchina.Visible = true; + } + else + { + mod_filtroMacchina.reset(); + } + mod_filtroMacchina.ods = odsMacchine; + } + else + { + mod_filtroMacchina.reset(); + mod_filtroMacchina.Visible = false; + } + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx.designer.cs new file mode 100644 index 0000000..3f3ec30 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx.designer.cs @@ -0,0 +1,131 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_elencoMtzProg { + + /// + /// lblFiltTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFiltTipo; + + /// + /// mod_filtroTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroTipo; + + /// + /// odsTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsTipo; + + /// + /// lblFiltMacchina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFiltMacchina; + + /// + /// mod_filtroImpianto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroImpianto; + + /// + /// odsImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsImpianti; + + /// + /// mod_filtroMacchina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroMacchina; + + /// + /// odsMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine; + + /// + /// btnShowNew control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnShowNew; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx new file mode 100644 index 0000000..c5e8509 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx @@ -0,0 +1,112 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_elencoRichieste" Codebehind="mod_elencoRichieste.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="~/WebUserControls/mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc1" %> +
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.cs new file mode 100644 index 0000000..98f4a6b --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.cs @@ -0,0 +1,374 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using System.Data; + +public partial class mod_elencoRichieste : ApplicationUserControl +{ + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected bool _showNewBtn = false; + + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + GIM_data.DS_applicazione.v_intervExpDataTable tabella = new GIM_data.DS_applicazione.v_intervExpDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "numIntMtz"; + mod_periodoAnalisi1.eh_doUpdate += new EventHandler(mod_periodoAnalisi1_eh_doUpdate); + } + + void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// setta selected alla riga il cui valore key è in session + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + GIM_data.DS_applicazione.v_intervExpRow riga = (GIM_data.DS_applicazione.v_intervExpRow)_drv.Row; + if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.numIntMtz.ToString()) + { + grView.SelectedIndex = e.Row.RowIndex; + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), SteamWare.memLayer.ML.StringSessionObj(_idxGridView)); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + } + } + /// + /// formatta il tooltip del ferma dalle... + /// + /// + /// + public string formatFermaDalle(object dataOraFermo) + { + return string.Format("{0}: {1:dd/MM/yy HH:mm}", traduci("inizioFermata"), dataOraFermo); + } + /// + /// restituice lo stile css dato lo stato dell'intervento + /// + /// + /// + public string stileDaStato(object idxStato) + { + string answ = "semaforoRosso"; + try + { + answ = TA_app.obj.taStati.getByIdxStato(Convert.ToInt32(idxStato))[0].stile; + } + catch + { } + return answ; + } + /// + /// restituice lo stile css data la priorità dell'intervento + /// + /// + /// + public string stileDaPrior(object idxPrior) + { + string answ = "semaforoRosso"; + try + { + answ = TA_app.obj.taPrior.getByIdxPriorita(Convert.ToInt32(idxPrior))[0].stile; + } + catch + { } + return answ; + } + /// + /// restituisce un testo trimamto a maxChar caratteri + /// + /// + /// + /// + public string trimmaTesto(object _testo, object _maxChar) + { + string answ = ""; + string testo = _testo.ToString(); + int maxChar = Convert.ToInt32(_maxChar); + if (testo.Length <= maxChar) + { + answ = testo; + } + else + { + answ = string.Format("{0}...", testo.Substring(0, maxChar)); + } + return answ; + } + /// + /// restituisce url contenente parametri per rendering pdf + /// + /// + /// + public string formattaUrl(object idx) + { + return String.Format("~/ExportPdf.aspx?tipo={0}&idx={1}", Convert.ToInt32(reportRichiesto.RichiestaIntervento), idx); + } + /// + /// prende in carico e stampa la scheda selezionata + /// + /// + /// + protected void btnPrendeInCarico_Click(object sender, ImageClickEventArgs e) + { + ImageButton imgBtn = (ImageButton)sender; + int idx = Convert.ToInt32(imgBtn.CommandArgument); + // prende in carico la scheda... + try + { + int? newStato = 0; + TA_app.obj.taInterventiMtz.sp_setPresaInCarico(Convert.ToInt32(idx), ref newStato); + } + catch (Exception exc) + { + logger.lg.scriviLog(string.Format("Errore durante presa in carico: {0}", exc), tipoLog.ERROR); + } + // stampo! + reportPrinter.obj.printReport(reportRichiesto.RichiestaIntervento, memLayer.ML.confReadString("stampanteRichiesteMtz"), idx.ToString()); + // update del gridView... + grView.DataBind(); + } + /// + /// restituisce true se è una richeista solo inserita e non ancora presa in carico + /// + /// + /// + public bool isPrInCarEnabl(object num) + { + bool answ = false; + // se l'utente è BASE la presa in carico NON è permessa... + if (user_std.UtSn.diritti.Select("COD_FUNZIONE = 'GIM_SU'").Length > 0) + { + try + { + int idxStato = TA_app.obj.taInterventiMtz.getByIdx(Convert.ToInt32(num))[0].idxStato; + if (idxStato == 1) + { + answ = true; + } + } + catch + { } + } + return answ; + } + /// + /// esegue traduzioni labels + /// + protected override void traduciObj() + { + base.traduciObj(); + chkMostraIntChiusi.Text = traduci("chkMostraIntChiusi_mostra"); + } + /// + /// cambia filtraggio... + /// + /// + /// + protected void chkMostraIntChiusi_CheckedChanged(object sender, EventArgs e) + { + checkFixOds(); + if (chkMostraIntChiusi.Checked == false) + { + chkMostraIntChiusi.Text = traduci("chkMostraIntChiusi_mostra"); + } + else + { + chkMostraIntChiusi.Text = traduci("chkMostraIntChiusi_nascondi"); + } + } + /// + /// sistemo filtraggio con valori selezionati + /// + private void checkFixOds() + { + ods.FilterExpression = "( codImpianto LIKE '%{0}%' OR nomeImpianto LIKE '%{0}%' OR codMacchina LIKE '%{0}%' OR nomeMacchina LIKE '%{0}%' OR descrizione LIKE '%{0}%' )"; + if (!chkMostraIntChiusi.Checked) + { + ods.FilterExpression += " AND (idxStato < 3)"; + } + ods.DataBind(); + } + /// + /// fix l'ods... + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + checkFixOds(); + } + #endregion +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.designer.cs new file mode 100644 index 0000000..8f55974 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.designer.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_elencoRichieste { + + /// + /// chkMostraIntChiusi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkMostraIntChiusi; + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx new file mode 100644 index 0000000..6348c81 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx @@ -0,0 +1,50 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_famiglieMacchine" Codebehind="mod_famiglieMacchine.ascx.cs" %> +<%@ Register Src="~/WebUserControls/mod_elFamMacch.ascx" TagName="mod_elFamMacch" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_elMacch2Fam.ascx" TagName="mod_elMacch2Fam" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_selettore.ascx" TagName="mod_selettore" TagPrefix="uc3" %> +
+ + + + + + + + +
+ +
+ +
+ +
+
+ +
+
+ +
+
+ + + + + + +
+ +
+ +
+
+
+ +
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx.cs new file mode 100644 index 0000000..7acad57 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx.cs @@ -0,0 +1,111 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_famiglieMacchine : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + mod_elFamMacch1.eh_selezioneValore += new EventHandler(mod_elFamMacch1_eh_selezioneValore); + mod_elFamMacch1.eh_resetSelezione += new EventHandler(mod_elFamMacch1_eh_resetSelezione); + mod_elMacch2Fam1.eh_delValore += new EventHandler(mod_elMacch2Fam1_eh_delValore); + traduciObj(); + // assicura che la label del pulsante venga sempre aggiornata + if (pnlSceltaMacchine.Visible) + { + btnShowAdd.Text = user_std.UtSn.Traduci("hideAddMacchine"); + } + else + { + btnShowAdd.Text = user_std.UtSn.Traduci("showAddMacchine"); + } + + } + + private void traduciObj() + { + btnShowAdd.Text = traduci("showAddMacchine"); + btnAddMacchine.Text = traduci("AddMacchine2Fam"); + lblMacchineInteressate.Text = traduci("lblMacchineInteressate"); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + void mod_elMacch2Fam1_eh_delValore(object sender, EventArgs e) + { + mod_elFamMacch1.doUpdate(); + } + + void mod_elFamMacch1_eh_resetSelezione(object sender, EventArgs e) + { + mod_elMacch2Fam1.Visible = false; + } + + void mod_elFamMacch1_eh_selezioneValore(object sender, EventArgs e) + { + mod_elMacch2Fam1.idxFamMacchSel = mod_elFamMacch1.idxFamMacc_sel; + mod_elMacch2Fam1.Visible = true; + } + protected void btnAddMacchine_Click(object sender, EventArgs e) + { + // controllo se si possa salvare + if ((mod_elFamMacch1.idxFamMacc_sel != -1) && (listMacchine.SelectedIndex != -1)) + { + lblWarning.Visible = false; + // ciclo ed inserisco le macchine selezionate + foreach (ListItem riga in listMacchine.Items) + { + // se è selezionata creo riga anche x lei... + if (riga.Selected) + { + associaMacchinaFamiglia(Convert.ToInt32(riga.Value), mod_elFamMacch1.idxFamMacc_sel); + } + } + mod_elMacch2Fam1.doUpdate(); + } + else + { + lblWarning.Visible = true; + lblWarning.Text = traduci("pregoSelMacchFamMacch"); + } + } + /// + /// associa la macchina indicata alla famiglia + /// + /// + /// + private bool associaMacchinaFamiglia(int idxMacchina, int idxFamMacc) + { + bool answ = false; + try + { + TA_app.obj.taMacc2Fam.InsertQuery(idxMacchina, idxFamMacc); + answ = true; + } + catch + { } + return answ; + } + protected void btnShowAdd_Click(object sender, EventArgs e) + { + pnlSceltaMacchine.Visible = !pnlSceltaMacchine.Visible; + if (pnlSceltaMacchine.Visible) + { + btnShowAdd.Text = user_std.UtSn.Traduci("hideAddMacchine"); + } + else + { + btnShowAdd.Text = user_std.UtSn.Traduci("showAddMacchine"); + } + + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx.designer.cs new file mode 100644 index 0000000..93465ee --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_famiglieMacchine.ascx.designer.cs @@ -0,0 +1,104 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_famiglieMacchine { + + /// + /// mod_elFamMacch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_elFamMacch mod_elFamMacch1; + + /// + /// btnShowAdd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnShowAdd; + + /// + /// pnlSceltaMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSceltaMacchine; + + /// + /// lblMacchineInteressate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMacchineInteressate; + + /// + /// txtCercaMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCercaMacchine; + + /// + /// listMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listMacchine; + + /// + /// odsMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine; + + /// + /// btnAddMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAddMacchine; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// mod_elMacch2Fam1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_elMacch2Fam mod_elMacch2Fam1; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx new file mode 100644 index 0000000..6f39f75 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx @@ -0,0 +1,7 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_filtro" Codebehind="mod_filtro.ascx.cs" %> + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx.cs new file mode 100644 index 0000000..0ca6a57 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx.cs @@ -0,0 +1,309 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_filtro : ApplicationUserControl +{ + protected string _css; + protected ObjectDataSource _ods; + protected string _valore + { + get + { + return memLayer.ML.StringSessionObj(string.Format("valFiltro_{0}", this.ID)); + } + set + { + memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), value, false); + } + } + protected bool _changeCheckEnabled = true; + protected bool _changeCheckVisible = true; + protected bool _changeSelEnabled = true; + protected string _where = ""; + protected override void traduciObj() + { + if (_changeCheckVisible) + { + if (!chkFilt.Checked) + { + chkFilt.Text = traduci("mostraSoloSelez"); + } + else + { + chkFilt.Text = traduci("mostraTutti"); + } + } + } + protected void chkFilt_CheckedChanged(object sender, EventArgs e) + { + // cambio modalità visualizzazione del filtro... + dlFilt.Visible = !dlFilt.Visible; + raiseSelEvent(); + } + + protected void raiseSelEvent() + { + if (!dlFilt.Visible) + { + memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), "", false); + } + else + { + _valore = dlFilt.SelectedValue; + } + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + protected void updateChk() + { + chkFilt.Enabled = _changeCheckEnabled; + if (!_changeCheckEnabled) + { + chkFilt.Checked = true; + dlFilt.Visible = true; + } + } + protected void updateSel() + { + dlFilt.Enabled = _changeSelEnabled; + } + protected void updateChkLbl() + { + chkFilt.Visible = _changeCheckVisible; + } + protected override void bindControlli() + { + updateChk(); + fixValore(); + where.Text = _where; + traduciObj(); + } + protected SteamWare.tipoVistaMod _modo = SteamWare.tipoVistaMod.editing; + + + /// + /// condizione where per ridurre elementi mostrati in selettore + /// + public string condizione + { + get + { + return _where; + } + set + { + _where = value; + } + } + + /// + /// fornisce il valore scelto o "*" se nulla selezionato + /// + public string valore + { + get + { + string answ = "*"; + if (chkFilt.Checked) + { + answ = dlFilt.SelectedValue; + } + return answ; + } + set + { + _valore = value; + fixValore(); + } + } + + /// + /// primo valore di una chiave multicampo + /// + public string val_1 + { + get + { + string answ = ""; + if (chkFilt.Checked) + { + try + { + string[] _dataKey = dlFilt.SelectedValue.Split('#'); + answ = _dataKey[0]; + } + catch + { } + } + else + { + answ = "*"; + } + return answ; + } + } + /// + /// secondo valore di una chiave multicampo + /// + public string val_2 + { + get + { + string answ = ""; + if (chkFilt.Checked) + { + try + { + string[] _dataKey = dlFilt.SelectedValue.Split('#'); + answ = _dataKey[1]; + } + catch + { } + } + else + { + answ = "*"; + } + return answ; + } + } + /// + /// fornisce il valore scelto o "0" se nulla selezionato o non valido + /// + public int valoreInt + { + get + { + int answ = 0; + try + { + if (chkFilt.Checked) + { + answ = Convert.ToInt32(dlFilt.SelectedValue); + } + } + catch + { } + return answ; + } + } + protected void fixValore() + { + if (_ods != null) + { + dlFilt.DataSource = _ods; + dlFilt.DataBind(); + if (_valore != "") + { + dlFilt.SelectedValue = _valore; + dlFilt.Visible = true; + chkFilt.Checked = true; + } + } + } + + + public event EventHandler eh_selValore; + + + /// + /// determina se sia possibile (de)selezionare il check di filtraggio, altrimenti sempre attivo + /// + public bool changeCheckEnabled + { + get + { + return _changeCheckEnabled; + } + set + { + _changeCheckEnabled = value; + updateChk(); + } + } + /// + /// determina se sia possibile modificare la selezione + /// + public bool changeSelEnabled + { + get + { + return _changeSelEnabled; + } + set + { + _changeSelEnabled = value; + updateSel(); + } + } + /// + /// determina se sia possibile visibile il check di filtraggio + /// + public bool changeCheckVisible + { + get + { + return _changeCheckVisible; + } + set + { + _changeCheckVisible = value; + updateChkLbl(); + } + } + protected void dlFilt_SelectedIndexChanged(object sender, EventArgs e) + { + raiseSelEvent(); + // salvo val selezionato... + } + + /// + /// oggetto ODS con cui popolare il selettore, VINCOLO abbia campi value(key) / label + /// + public ObjectDataSource ods + { + get + { + return _ods; + } + set + { + _ods = value; + bindControlli(); + } + } + /// + /// css applicato agli elementi del controllo + /// + public string css + { + get + { + return _css; + } + set + { + _css = value; + } + } + /// + /// resetta il controllo (un-checked) + /// + public void reset() + { + chkFilt.Checked = false; + dlFilt.Visible = false; + memLayer.ML.emptySessionVal(string.Format("valFiltro_{0}", this.ID)); + } +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx.designer.cs new file mode 100644 index 0000000..221a0f5 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtro.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_filtro { + + /// + /// chkFilt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkFilt; + + /// + /// dlFilt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList dlFilt; + + /// + /// where control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label @where; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx new file mode 100644 index 0000000..2938cb3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx @@ -0,0 +1,6 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_fixCal" Codebehind="mod_fixCal.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx.cs new file mode 100644 index 0000000..5f419e1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx.cs @@ -0,0 +1,18 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class mod_fixCal : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx.designer.cs new file mode 100644 index 0000000..ebdd113 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_fixCal.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_fixCal { + + /// + /// TextBox1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox1; + + /// + /// CalendarExtender1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx new file mode 100644 index 0000000..31f9f2b --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx @@ -0,0 +1,103 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_gestCausali" Codebehind="mod_gestCausali.ascx.cs" %> +<%@ Register Src="~/WebUserControls/mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx.cs new file mode 100644 index 0000000..a43ad2d --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx.cs @@ -0,0 +1,112 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_gestCausali : ApplicationUserControl +{ + public event EventHandler eh_delValore; + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + if (!Page.IsPostBack) + { + mod_filtroFam.ods = odsFam; + } + } + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// eliminato il valore genera l'evento + /// + /// + /// + protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) + { + if (eh_delValore != null) + { + eh_delValore(this, new EventArgs()); + } + } + /// + /// esegue update + /// + public void doUpdate() + { + grView.DataBind(); + } + /// + /// determina se la causale sia cancellabile (ovvero non sia impiegata in alcuna registrazione di intervento... + /// + public bool isDeletable(object idxCausale) + { + bool answ = false; + try + { + if (TA_app.obj.taInterventiMtz.getByIdxCausale(Convert.ToInt32(idxCausale)).Rows.Count == 0) answ = true; + } + catch + { } + return answ; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + TA_app.obj.taAnagCau.Insert(mod_filtroFam.valoreInt, "-- [NUOVA] non definita --", true); + grView.DataBind(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx.designer.cs new file mode 100644 index 0000000..6a9fcd8 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestCausali.ascx.designer.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_gestCausali { + + /// + /// mod_filtroFam control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroFam; + + /// + /// odsFam control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFam; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblFamMacc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFamMacc; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx new file mode 100644 index 0000000..c94379c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx @@ -0,0 +1,106 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_gestUtentiGIM" Codebehind="mod_gestUtentiGIM.ascx.cs" %> +
+ + + + + + + + + + + + + + +
+

+ +

+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx.cs new file mode 100644 index 0000000..f27087c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx.cs @@ -0,0 +1,101 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_gestUtentiGIM : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + } + + private void traduciObj() + { + lblUsers.Text = traduci("ElencoUtentiStd"); + lblSuperusers.Text = traduci("ElencoElUtentiSU"); + btnPromuovi.Text = traduci("promuoviUtente"); + btnDeclassa.Text = traduci("declassaUtente"); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnResetU_Click(object sender, EventArgs e) + { + resetSelezioneUser(); + lblWarning.Visible = false; + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezioneUser() + { + grViewUsers.SelectedIndex = -1; + grViewUsers.DataBind(); + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnResetSU_Click(object sender, EventArgs e) + { + resetSelezioneSuperUser(); + lblWarning.Visible = false; + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezioneSuperUser() + { + grViewSuperusers.SelectedIndex = -1; + grViewSuperusers.DataBind(); + } + protected void btnPromuovi_Click(object sender, EventArgs e) + { + if (grViewUsers.SelectedIndex != -1) + { + lblWarning.Visible = false; + user_std.UtSn.assegnaDirittoUtente(grViewUsers.SelectedValue.ToString(), memLayer.ML.confReadString("autoEnrollCdc"), "GIM", "GIM_SU"); + } + else + { + lblWarning.Visible = true; + lblWarning.Text = traduci("utenteNonSelezionato"); + } + resetSelezioneUser(); + grViewUsers.DataBind(); + resetSelezioneSuperUser(); + grViewSuperusers.DataBind(); + } + protected void btnDeclassa_Click(object sender, EventArgs e) + { + if (grViewSuperusers.SelectedIndex != -1) + { + lblWarning.Visible = false; + user_std.UtSn.rimuoviDirittoUtente(grViewSuperusers.SelectedValue.ToString(), memLayer.ML.confReadString("autoEnrollCdc"), "GIM", "GIM_SU"); + } + else + { + lblWarning.Visible = true; + lblWarning.Text = traduci("utenteNonSelezionato"); + } + resetSelezioneUser(); + grViewUsers.DataBind(); + resetSelezioneSuperUser(); + grViewSuperusers.DataBind(); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx.designer.cs new file mode 100644 index 0000000..86d0e5d --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_gestUtentiGIM.ascx.designer.cs @@ -0,0 +1,95 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_gestUtentiGIM { + + /// + /// lblUsers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblUsers; + + /// + /// lblSuperusers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblSuperusers; + + /// + /// grViewUsers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grViewUsers; + + /// + /// odsUsers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsUsers; + + /// + /// btnPromuovi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnPromuovi; + + /// + /// btnDeclassa control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDeclassa; + + /// + /// grViewSuperusers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grViewSuperusers; + + /// + /// odsSuperusers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsSuperusers; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx new file mode 100644 index 0000000..d8c1bd2 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx @@ -0,0 +1,185 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_impianti" Codebehind="mod_impianti.ascx.cs" %> +<%@ Register Src="~/WebUserControls/mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx.cs new file mode 100644 index 0000000..16371b5 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx.cs @@ -0,0 +1,448 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using System.Data; + +public partial class mod_impianti : ApplicationUserControl +{ + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazione record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("cal_{0}", nomeCol)) != null) + { + tipoColonna = "calTextBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "calTextBox": + e.InputParameters[nomeCol] = Convert.ToDateTime(((TextBox)grView.FooterRow.FindControl(string.Format("cal_{0}", nomeCol))).Text); + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + bool answ = false; + try + { + answ = (TA_app.obj.taInterventiMtz.getByIdxImpianto(Convert.ToInt32(idxObj)).Rows.Count == 0); + } + catch + { } + return answ; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + GIM_data.DS_applicazione.AnagImpiantiDataTable tabella = new GIM_data.DS_applicazione.AnagImpiantiDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "idxImpianto"; + } + /// + /// setta selected alla riga il cui valore key è in session + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + GIM_data.DS_applicazione.AnagImpiantiRow riga = (GIM_data.DS_applicazione.AnagImpiantiRow)_drv.Row; + if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.idxImpianto.ToString()) + { + grView.SelectedIndex = e.Row.RowIndex; + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), SteamWare.memLayer.ML.StringSessionObj(_idxGridView)); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + } + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // svuoto da cache... + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + string codImp = memLayer.ML.confReadString("defaultCodImp"); + TA_app.obj.taImpianti.Insert(codImp, "-- [NUOVO] Nome Impianto non definito --", "tipo n.d.", DateTime.Today, DateTime.Today.AddYears(10)); + grView.DataBind(); + } + /// + /// salvo in session che il prox comando è clonare... + /// + /// + /// + protected void imgClona_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "clonaObj"); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando clona... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + int _idx = Convert.ToInt32(e.Keys["idxImpianto"]); + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + // verifico il tipo di richiesta (up/down level, clona o update normale + switch (_comando) + { + case "clonaObj": + TA_app.obj.taImpianti.sp_clonaImpianto(_idx); + grView.EditIndex = -1; + grView.DataBind(); + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// determina se sia cancellabile dall'idx (1 e quelli con child NON LO SONO...) + /// + /// + /// + public bool isDeletable(object _idx) + { + bool answ = false; + int idx = -1; + try + { + idx = Convert.ToInt32(_idx); + } + catch + { } + int numMacchineImpianto = TA_app.obj.taMacchine.getByIdxImpianto(idx).Rows.Count; + if (idx > 1 && numMacchineImpianto < 1) answ = true; + return answ; + } + + /// + /// determina se sia editabile dall'idx (1 NON LO E'...) + /// + /// + /// + public bool isEditable(object _idx) + { + bool answ = false; + int idx = -1; + try + { + idx = Convert.ToInt32(_idx); + } + catch + { } + if (idx > 1) answ = true; + return answ; + } + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + } + + #endregion +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx.designer.cs new file mode 100644 index 0000000..ec78d91 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_impianti.ascx.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_impianti { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx new file mode 100644 index 0000000..2c64e88 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx @@ -0,0 +1,164 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_insertRichiesta" Codebehind="mod_insertRichiesta.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="~/WebUserControls/mod_dataOra.ascx" TagName="mod_dataOra" TagPrefix="uc1" %> + +
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ + + + + + + + + + +
+
+
+ + + + + + +
+
+
+
+ + + + + + + + + +
+
+
+ +
+
+
+
+
+ + + +
+
+
+ + +
+
+
+
+
+ +
+
+
+
+ + + + +
+
+
+ + + + +
+
+ +
+
+ +
+
+
+
+
+ + + + + + + + +
+
+
+ +
+ + +
+ +
+
+
+
+ +
+

+ +

+
+ +
+
+ +    + +
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.cs new file mode 100644 index 0000000..a4cda81 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.cs @@ -0,0 +1,182 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_insertRichiesta : System.Web.UI.UserControl +{ + #region eventi + + public event EventHandler eh_newReq; + public event EventHandler eh_done; + + #endregion + + protected bool _causVis = false; + /// + /// determina la visibilità del panel causali + /// + public bool causaliVisibili + { + get + { + return _causVis; + } + set + { + _causVis = value; + } + } + /// + /// avvio controllo + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + traduciObj(); + setFixedVal(); + fixVisibPnl(); + } + } + /// + /// imposta i valori calcolati e fissi... + /// + private void setFixedVal() + { + // recupero valori di riferimento + int shift = memLayer.ML.confReadInt("shiftTurno"); + int durataTurno = memLayer.ML.confReadInt("durataTurno"); + int turno = Convert.ToInt32(Math.Ceiling((double)Convert.ToDouble(DateTime.Now.AddHours(-shift + 1).Hour) / durataTurno)); + int delay = memLayer.ML.confReadInt("defaultDelay"); + // inserisco valori di default + txtDataOra.Text = string.Format("{0:dd/MM/yyyy HH:mm}", DateTime.Now); + txtDataLav.Text = string.Format("{0:dd/MM/yyyy}", DateTime.Now.AddHours(-shift + 1)); + txtTurnoLav.Text = turno.ToString(); + mod_dataOra1.valore = DateTime.Now.AddMinutes(-delay); + chkImpFermo.Checked = false; + } + /// + /// sistema la visibilità dei controlli + /// + private void fixVisibPnl() + { + pnlCausali.Visible = _causVis; + } + /// + /// traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// sistema le labels + /// + private void traduciObj() + { + lblTitolo.Text = traduci("lblInsRichiestaMtz"); + lblDataOra.Text = traduci("lblDataOraRich"); + lblDataLav.Text = traduci("lblDataLav"); + lblTurnoLav.Text = traduci("lblTurnoLav"); + btnSend.Text = traduci("btnInviaRichiesta"); + lblImpianto.Text = traduci("lblImpianto"); + lblMacchina.Text = traduci("lblMacchina"); + lblDescrGuasto.Text = traduci("lblDescrGuasto"); + lblDettagliGuasto.Text = traduci("lblDettagliGuasto"); + lblMatr.Text = traduci("lblMatr"); + lblPrior.Text = traduci("lblPrior"); + lblFermaDalleData.Text = traduci("lblFermaDalle"); + lblAmbito.Text = traduci("lblAmbito"); + lblTipoGuasto.Text = traduci("lblTipoGuasto"); + chkImpFermo.Text = traduci("chkImpFermo"); + // setup stringhe rimando link + lnkbInsertNewReq.Text = traduci("lnkbInsertNewReq"); + lnkGoToReqList.Text = traduci("lnkGoToReqList"); + lblEsitoInserimento.Text = traduci("lblEsitoInserimento"); + // setup stringhe validazione + valSummary.HeaderText = traduci("errori"); + rfvReparto.ErrorMessage = string.Format("{0}: {1}", traduci("campoRichiesto"), traduci("reparto")); + rfvMacchina.ErrorMessage = string.Format("{0}: {1}", traduci("campoRichiesto"), traduci("macchina")); + rfvMatr.ErrorMessage = string.Format("{0}: {1}", traduci("campoRichiesto"), traduci("matricola")); + } + /// + /// aggiorna elenco macchine selezionato impianto + /// + /// + /// + protected void listImpianti_SelectedIndexChanged(object sender, EventArgs e) + { + // aggiorno altro selettore... + listMacchine.DataBind(); + } + /// + /// salva ed invia richeista + /// + /// + /// + protected void btnSend_Click(object sender, EventArgs e) + { + // salvare valori... + int? numReq = 0; + try + { + // sistemo i valori + DateTime richiesta = Convert.ToDateTime(txtDataOra.Text.Trim()); + DateTime dataLav = Convert.ToDateTime(txtDataLav.Text.Trim()); + int turno = Convert.ToInt32(txtTurnoLav.Text); + string matr = txtMatr.Text.Trim(); + DateTime inizioGuasto = mod_dataOra1.valore; + int idxAmbito = Convert.ToInt32(ddlAmbito.SelectedValue); + int idxPrior = Convert.ToInt32(ddlPrior.SelectedValue); + bool isFermo = chkImpFermo.Checked; + int idxTipo = Convert.ToInt32(ddlTipo.SelectedValue); + int idxImpianto = Convert.ToInt32(listImpianti.SelectedValue); + int idxMacchina = Convert.ToInt32(listMacchine.SelectedValue); + string descrizione = txtDescrizione.Text.Trim(); + int idxCausale = 1; + // cerco se ci sia un altro valore selezionato... + try + { + idxCausale = Convert.ToInt32(listCausali.SelectedValue); + } + catch + { } + // stored inserimento! + TA_app.obj.taInterventiMtz.sp_insRichiesta(richiesta, dataLav, turno, matr, inizioGuasto, idxAmbito, idxPrior, isFermo, idxTipo, idxImpianto, idxMacchina, descrizione, idxCausale, ref numReq); + } + catch (Exception exc) + { + logger.lg.scriviLog("Errore inserimento nuova richiesta!", tipoLog.ERROR); + logger.lg.scriviLog(exc.ToString(), tipoLog.EXCEPTION); + } + //poi mostrare pnl richiesta con "ticket" generato + link x vedere elenco oppure nuova... + pnlMain_InsRichiesta.Visible = false; + pnlMain_ShowTicket.Visible = true; + lblNumRichInserted.Text = string.Format("{0} {1}", traduci("newReqInserted"), (int)numReq); + if (eh_done != null) + { + eh_done(this, new EventArgs()); + } + } + /// + /// inverte visibilità pannelli + /// + /// + /// + protected void lnkbtnInsertNewReq_Click(object sender, EventArgs e) + { + pnlMain_InsRichiesta.Visible = true; + pnlMain_ShowTicket.Visible = false; + if (eh_newReq != null) + { + eh_newReq(this, new EventArgs()); + } + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.designer.cs new file mode 100644 index 0000000..ff269b9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.designer.cs @@ -0,0 +1,455 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_insertRichiesta { + + /// + /// pnlMain_InsRichiesta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlMain_InsRichiesta; + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// lblDataOra control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDataOra; + + /// + /// txtDataOra control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataOra; + + /// + /// lblDataLav control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDataLav; + + /// + /// txtDataLav control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataLav; + + /// + /// lblTurnoLav control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTurnoLav; + + /// + /// txtTurnoLav control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtTurnoLav; + + /// + /// lblImpianto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblImpianto; + + /// + /// pnlImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlImpianti; + + /// + /// listImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listImpianti; + + /// + /// odsImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsImpianti; + + /// + /// rfvReparto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvReparto; + + /// + /// lblMacchina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMacchina; + + /// + /// pnlMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlMacchine; + + /// + /// listMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listMacchine; + + /// + /// odsMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine; + + /// + /// rfvMacchina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvMacchina; + + /// + /// Panel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel Panel1; + + /// + /// lblDettagliGuasto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDettagliGuasto; + + /// + /// lblPrior control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrior; + + /// + /// ddlPrior control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlPrior; + + /// + /// odsPrior control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsPrior; + + /// + /// lblMatr control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMatr; + + /// + /// txtMatr control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtMatr; + + /// + /// rfvMatr control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvMatr; + + /// + /// lblFermaDalleData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFermaDalleData; + + /// + /// mod_dataOra1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_dataOra mod_dataOra1; + + /// + /// lblAmbito control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAmbito; + + /// + /// ddlAmbito control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlAmbito; + + /// + /// odsAmbiti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsAmbiti; + + /// + /// lblTipoGuasto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTipoGuasto; + + /// + /// ddlTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlTipo; + + /// + /// odsTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsTipo; + + /// + /// chkImpFermo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkImpFermo; + + /// + /// valSummary control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ValidationSummary valSummary; + + /// + /// pnlCausali control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlCausali; + + /// + /// listCausali control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listCausali; + + /// + /// odsCausali control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsCausali; + + /// + /// Panel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel Panel2; + + /// + /// lblDescrGuasto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescrGuasto; + + /// + /// txtDescrizione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDescrizione; + + /// + /// rfvDescrizione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvDescrizione; + + /// + /// btnSend control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSend; + + /// + /// pnlMain_ShowTicket control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlMain_ShowTicket; + + /// + /// lblEsitoInserimento control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblEsitoInserimento; + + /// + /// lblNumRichInserted control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRichInserted; + + /// + /// lnkbInsertNewReq control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lnkbInsertNewReq; + + /// + /// lnkGoToReqList control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink lnkGoToReqList; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx new file mode 100644 index 0000000..6b94a9d --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx @@ -0,0 +1,112 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_interventoOpMtz" Codebehind="mod_interventoOpMtz.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx.cs new file mode 100644 index 0000000..47385ae --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx.cs @@ -0,0 +1,128 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_interventoOpMtz : ApplicationUserControl +{ + public event EventHandler eh_resetSelezione; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// seleziono valore in editing... + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + int numIntMtz = memLayer.ML.IntSessionObj("numIntMtz_sel"); + string matr = memLayer.ML.confReadString("defaultMatr"); + TA_app.obj.taIntOpMtz.Insert(numIntMtz, matr, 0); + grView.DataBind(); + } + /// + /// restituisce un booleano se sia abilitato inserimento nuovi valori (solo se NON C'E' GIA' un operatore con amtricola di default...) + /// + /// + public bool canInsertNew() + { + bool answ = false; + int numIntMtz = memLayer.ML.IntSessionObj("numIntMtz_sel"); + string matr = memLayer.ML.confReadString("defaultMatr"); + try + { + answ = (TA_app.obj.taIntOpMtz.getByMatrNumIntMtz(numIntMtz, matr).Rows.Count == 0); + } + catch + { } + return (answ && isOnEdit); + } + /// + /// restituisce true se il controllo è in modalità editing (e non selezione...) + /// + public bool isOnEdit + { + get + { + return _vistaModulo == tipoVistaMod.editing; + } + } + /// + /// traduce matricola in matr + cognome + nome + /// + /// + /// + public string traduciMatrOp(object matr) + { + string answ = ""; + try + { + answ = TA_app.obj.taSelMatrOp.getByValue(matr.ToString())[0].label; + } + catch + { } + return answ; + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx.designer.cs new file mode 100644 index 0000000..85e6bda --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_interventoOpMtz.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_interventoOpMtz { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx new file mode 100644 index 0000000..cf25208 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx @@ -0,0 +1,53 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_lemmiVocab" Codebehind="mod_lemmiVocab.ascx.cs" %> + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx.cs new file mode 100644 index 0000000..00ff1d3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx.cs @@ -0,0 +1,57 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_lemmiVocab : ApplicationUserControl +{ + #region protected + + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridAnagr; + } + + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// aggiorna i dati mostrati + /// + public void doUpdate() + { + ods.DataBind(); + grView.DataBind(); + } + + #endregion +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx.designer.cs new file mode 100644 index 0000000..b43d273 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_lemmiVocab.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_lemmiVocab { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx new file mode 100644 index 0000000..b8b4c0f --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx @@ -0,0 +1,54 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_login" Codebehind="mod_login.ascx.cs" %> + + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ +
+
+ + + + + + + +
+ +
+ +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx.cs new file mode 100644 index 0000000..dd17a41 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx.cs @@ -0,0 +1,242 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +/// +/// classe gestione login e forzatura login +/// +public partial class mod_login : ApplicationUserControl +{ + #region area protected/private + + #region area proprietà + + private SteamWare.loginMode _isForceUser = SteamWare.loginMode.normale; + + #endregion + + #region area metodi + + /// + /// imposta la modalità di login tra normale / forceUser + /// + private void setLoginMode() + { + if (_isForceUser == SteamWare.loginMode.forceUser) + { + pnlForceUser.Visible = true; + } + else + { + pnlForceUser.Visible = false; + } + } + + protected override void traduciObj() + { + lblPwd.Text = user_std.UtSn.Traduci("lblPwd"); + lblUser.Text = user_std.UtSn.Traduci("lblUser"); + lblDominio.Text = user_std.UtSn.Traduci("lblDominio"); + lblTitolo.Text = user_std.UtSn.Traduci("ForzaUtente"); + btnOk.Text = user_std.UtSn.Traduci("btnCommit"); + } + + /// + /// prova a verificare se l'utente sia ok x AD credentials + /// + private void AdLogin() + { + lblMessage.Text = "User not authenticated..."; + if (Page.User.Identity.IsAuthenticated) + { + //recupera user windows se c'è... + string ad_name = Page.User.Identity.Name; + string delimStr = "\\"; + char[] delimiter = delimStr.ToCharArray(); + string[] dom_user = ad_name.Split(delimiter, 2); + // passo al controllo di verifica ADuserOk... + user_std _utente = new user_std(); + if (_utente.ADuserOk(dom_user[0], dom_user[1])) + { + bool fatto = _utente.startUpUtente(dom_user[0], dom_user[1]); + if (fatto) + { + SteamWare.logger.lg.scriviLog(string.Format("L'utente {0} ({1}) ha effettuato il login correttamente", _utente.CognomeNome, _utente.userNameAD), SteamWare.tipoLog.INFO); + if (Login_ok != null) + { + Login_ok(this, new EventArgs()); + } + } + else + { + lblMessage.Text = String.Format("{0}
There are some problems instatiating user: {1}/{2}", user_std.UtSn.Traduci("AccessFail"), dom_user[0], dom_user[1]); + SteamWare.logger.lg.scriviLog(String.Format("Accesso fallito, problemi ad istanziare l'utente {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.ERROR); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + else + { + if (memLayer.ML.confReadBool("autoEnrollEnabled")) + { + // rimando al modulo di auto enroll... + Response.Redirect("autoEnroll.aspx"); + } + else + { + lblMessage.Text = String.Format("{0}
user not allowed: {1}/{2}", user_std.UtSn.Traduci("AccessFail"), dom_user[0], dom_user[1]); + SteamWare.logger.lg.scriviLog(String.Format("Utente non autorizzato: {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + } + else + { + lblMessage.Text = user_std.UtSn.Traduci("AccessFail") + user_std.UtSn.Traduci("UsrNotAuth"); + SteamWare.logger.lg.scriviLog(String.Format("Accesso fallito, utente non autenticato"), SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + + /// + /// effettua verifiche e se concesso permette di forzare l'accesso utente + /// + private void ForceUserIdentity() + { + if (Page.User.Identity.IsAuthenticated) + { + bool _allowForceUser = false; + try + { + _allowForceUser = SteamWare.memLayer.ML.confReadBool("_allowForceUser"); + } + catch + { + _allowForceUser = false; + } + if (_allowForceUser) + { + if (authKey.Text == "forzaInter") // verifica passphrase... + { + user_std _utente = new user_std(); + user_std.UtSn.isForcedUser = true; + bool fatto = _utente.startUpUtente(dominio.Text, user.Text); + if (fatto) + { + string _rigaLog = String.Format("User {0} has forced user identity ok: logged as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text); + SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.INFO); + if (Login_ok != null) + { + Login_ok(this, new EventArgs()); + } + } + } + else + { + lblMessage.Text = String.Format("{0}
key not allowed for operation!!! operation logged!!!", user_std.UtSn.Traduci("AccessFail")); + mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!
L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la sua key autorizzativa e' sbagliata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp")))); + string _rigaLog = String.Format("User {0}\t tried to force user - wrong password - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text); + SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + else + { + mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!
L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la funzione e' disabilitata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp")))); + string _rigaLog = String.Format("User {0}\t tried to force user - access disabled - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text); + SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + else + { + lblMessage.Text = string.Format("{0}
user not authenticated!
", user_std.UtSn.Traduci("AccessFail")); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + string _rigaLog = String.Format("\t Someone tried to force user - real user: \t - not autenticated - \t tried to log as \t {0}\\{1}", dominio.Text, user.Text); + SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING); + } + } + + protected void btnOk_Click(object sender, EventArgs e) + { + ForceUserIdentity(); + } + + #endregion + + #endregion + + #region area public + + #region eventi pubblici esposti + + public event EventHandler Login_ok; + public event EventHandler Login_Error; + + #endregion + + #region area proprietà + + /// + /// modalità funzionamento controllo tra normale (ActiveDirectory e user auth di default) e forceUser + /// + public SteamWare.loginMode modoLogin + { + get + { + return _isForceUser; + } + set + { + _isForceUser = value; + } + } + + #endregion + + + /// + /// avvio pagina + /// + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + //carico da web.config i default values + loadDefaultsWebConfig(); + // procedo... + setLoginMode(); + Session.RemoveAll(); + if (_isForceUser == SteamWare.loginMode.normale) + { + AdLogin(); + } + } + + #endregion + +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx.designer.cs new file mode 100644 index 0000000..bc8b764 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_login.ascx.designer.cs @@ -0,0 +1,113 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_login { + + /// + /// pnlForceUser control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlForceUser; + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// lblPwd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPwd; + + /// + /// authKey control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox authKey; + + /// + /// lblDominio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDominio; + + /// + /// dominio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox dominio; + + /// + /// lblUser control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblUser; + + /// + /// user control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox user; + + /// + /// btnOk control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnOk; + + /// + /// lblMessage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessage; + + /// + /// HypLinkSSO control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink HypLinkSSO; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx new file mode 100644 index 0000000..3d1ce13 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx @@ -0,0 +1,366 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_macchine" Codebehind="mod_macchine.ascx.cs" %> +<%@ Register Src="~/WebUserControls/mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="~/WebUserControls/mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc2" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%--  + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx.cs new file mode 100644 index 0000000..f984abb --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx.cs @@ -0,0 +1,584 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using System.Data; + +public partial class mod_macchine : ApplicationUserControl +{ + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazione record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("cal_{0}", nomeCol)) != null) + { + tipoColonna = "calTextBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "calTextBox": + e.InputParameters[nomeCol] = Convert.ToDateTime(((TextBox)grView.FooterRow.FindControl(string.Format("cal_{0}", nomeCol))).Text); + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grViewShort.PageSize = _righeDataGridAnagr; + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grViewShort_DataBound(object sender, EventArgs e) + { + if (grViewShort.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grViewShort.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grViewShort.Rows.Count + grViewShort.PageSize * (grViewShort.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grViewShort.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// reset della selezione + /// + /// + /// + protected void btnResetShort_Click(object sender, EventArgs e) + { + grViewShort.SelectedIndex = -1; + grViewShort.DataBind(); + lblWarning.Visible = false; + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// devo mostrare meno colonne + /// + protected bool _dispLessCol = false; + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + updateOdsDaFiltro(); + grView.SelectedIndex = -1; + grView.DataBind(); + grViewShort.SelectedIndex = -1; + grViewShort.DataBind(); + } + + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + bool answ = false; + try + { + answ = (TA_app.obj.taInterventiMtz.getByIdxMacchina(Convert.ToInt32(idxObj)).Rows.Count == 0); + } + catch + { } + return answ; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + GIM_data.DS_applicazione.v_macchineDataTable tabella = new GIM_data.DS_applicazione.v_macchineDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + mod_filtroImpianti.eh_selValore += new EventHandler(mod_filtroImpianti_eh_selValore); + if (!Page.IsPostBack) + { + mod_filtroImpianti.ods = odsImpianti; + } + _idxGridView = "idxmacchina"; + // determino quale grView a seconda del tipo visibilità colonne... + if (_dispLessCol) + { + grView.Visible = false; + grViewShort.Visible = true; + } + else + { + grView.Visible = true; + grViewShort.Visible = false; + } + updateOdsDaFiltro(); + } + + /// + /// aggiorna visualizzazioni varie + /// + private void aggiornaAll() + { + // imposto visibilità filtro in base a tipo controllo + if (vistaModulo == tipoVistaMod.selezione) + { + mod_filtroImpianti.Visible = false; + } + else + { + mod_filtroImpianti.Visible = true; + } + } + + void mod_filtroImpianti_eh_selValore(object sender, EventArgs e) + { + if (mod_filtroImpianti.valoreInt != 0) + { + // salvo il valore selezionato... + idxImpiantoSel = mod_filtroImpianti.valoreInt; + } + doUpdate(); + } + /// + /// verifica e sistema il filtro dell'ods... + /// + private void updateOdsDaFiltro() + { + string filterExpr = " (codMacchina LIKE '%{0}%' OR nomeMacchina LIKE '%{0}%' OR modello LIKE '%{0}%' OR matricola LIKE '%{0}%' OR descrImpianto LIKE '%{0}%') "; + if (vistaModulo == tipoVistaMod.selezione || (mod_filtroImpianti.Visible && mod_filtroImpianti.valore != "*")) + { + filterExpr += " AND idxImpianto = {1} "; + } + ods.FilterExpression = filterExpr; + } + /// + /// setta selected alla riga il cui valore key è in session + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + GIM_data.DS_applicazione.v_macchineRow riga = (GIM_data.DS_applicazione.v_macchineRow)_drv.Row; + if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.idxImpianto.ToString()) + { + grView.SelectedIndex = e.Row.RowIndex; + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), SteamWare.memLayer.ML.StringSessionObj(_idxGridView)); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + } + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // svuoto da cache... + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + string codMacc = memLayer.ML.confReadString("defaultCodMacc"); + TA_app.obj.taMacchine.Insert(1, codMacc, "-- [NUOVA] Nome Macchina non definito --", "modello n.d.", "", DateTime.Now.Year, 0, 0, DateTime.Today, DateTime.Today.AddYears(10)); + grView.DataBind(); + } + /// + /// salvo in session che il prox comando è clonare... + /// + /// + /// + protected void imgClona_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "clonaObj"); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando clona... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + int _idx = Convert.ToInt32(e.Keys["idxMacchina"]); + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + // verifico il tipo di richiesta (up/down level, clona o update normale + switch (_comando) + { + case "clonaObj": + TA_app.obj.taMacchine.sp_clonaMacchina(_idx); + grView.EditIndex = -1; + grView.DataBind(); + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// determina se sia abilitata la cancellazione della macchina + /// + public bool isDelEnabled(object cosa, object idx) + { + bool answ = false; + // controllo se ci siano record correlati... + if (objIsNotRelated(idx)) + { + answ = isVisible(cosa); + } + else + { + answ = false; + } + return answ; + } + /// + /// indica il valore dell'impianto filtrato in visualizzazione + /// + public int idxImpiantoSel + { + get + { + return Convert.ToInt32(lblImpianto.Text); + } + set + { + lblImpianto.Text = value.ToString(); + aggiornaAll(); + } + } + + /// + /// definisce se mostrare meno colonne (per funzione MOVE delle macchine tra diversi impianti) + /// + public bool dispLessCol + { + get + { + return _dispLessCol; + } + set + { + _dispLessCol = value; + } + } + /// + /// definisce se mostrare o meno una colonna... + /// + public bool mostraColonna + { + get + { + return !_dispLessCol; + } + } + /// + /// restituisce idx della macchina selezionata nel grVIew versione "short" + /// + public int idxMacchinaSel + { + get + { + int answ = -1; + try + { + answ = Convert.ToInt32(grViewShort.SelectedValue); + } + catch + { } + return answ; + } + } + #endregion +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx.designer.cs new file mode 100644 index 0000000..fac6cb2 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_macchine.ascx.designer.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_macchine { + + /// + /// mod_filtroImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroImpianti; + + /// + /// odsImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsImpianti; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// grViewShort control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grViewShort; + + /// + /// lblImpianto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblImpianto; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx new file mode 100644 index 0000000..a554ea1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_main_help" Codebehind="mod_main_help.ascx.cs" %> + + + + + + + + + + +
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx.cs new file mode 100644 index 0000000..fba38b1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx.cs @@ -0,0 +1,52 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_main_help : ApplicationUserControl +{ + + #region inizializzazione generica & utility + + protected string defaultApp; + protected string defaultTitle; + protected string defaultBody; + + protected override void traduciObj() + { + defaultApp = SteamWare.memLayer.ML.confReadString("defaultApp"); + defaultTitle = SteamWare.memLayer.ML.confReadString("defaultTitle"); + defaultBody = SteamWare.memLayer.ML.confReadString("defaultBody"); + lblAppl.Text = user_std.UtSn.Traduci(defaultApp); + lblTitle.Text = user_std.UtSn.Traduci(defaultTitle); + lblMess.Text = user_std.UtSn.Traduci(defaultBody); + } + + #endregion + + #region public + + /// + /// imposta app, title e body del generico messaggio mostrato dal modulo + /// NB: vanno passate le stringhe da tradurre!!! + /// + /// + /// + /// + public void setupMessaggio(string app2transl, string titolo2transl, string body2transl) + { + defaultApp = app2transl; + defaultTitle = titolo2transl; + defaultBody = body2transl; + } + + #endregion + +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx.designer.cs new file mode 100644 index 0000000..df0c9dc --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_main_help.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_main_help { + + /// + /// lblAppl control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAppl; + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// lblMess control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMess; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx new file mode 100644 index 0000000..b703d0a --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx @@ -0,0 +1,4 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_menuBottom" Codebehind="mod_menuBottom.ascx.cs" %> + - + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx.cs new file mode 100644 index 0000000..d67b058 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx.cs @@ -0,0 +1,20 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class mod_menuBottom : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + // sistemo le stringhe... + lblApp.Text = string.Format("{0} v.{1}.{2}", ConfigurationManager.AppSettings.Get("appName"), ConfigurationManager.AppSettings.Get("mainRev"), ConfigurationManager.AppSettings.Get("minRev")); + lblCopyRight.Text = string.Format("{0}",ConfigurationManager.AppSettings.Get("copyRight")); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx.designer.cs new file mode 100644 index 0000000..70d58db --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottom.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuBottom { + + /// + /// lblApp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblApp; + + /// + /// lblrev control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblrev; + + /// + /// lblCopyRight control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCopyRight; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx new file mode 100644 index 0000000..65b7951 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx @@ -0,0 +1,4 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_menuBottomMini" Codebehind="mod_menuBottomPortable.ascx.cs" %> +
+ + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx.cs new file mode 100644 index 0000000..c15d581 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx.cs @@ -0,0 +1,18 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class mod_menuBottomMini : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + lblCopyRight.Text = string.Format("{0}", ConfigurationManager.AppSettings.Get("copyRight")); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx.designer.cs new file mode 100644 index 0000000..3dbc80b --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuBottomPortable.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuBottomMini { + + /// + /// lblCopyRight control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCopyRight; + + /// + /// lbl1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lbl1; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx new file mode 100644 index 0000000..a9bd331 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx @@ -0,0 +1,16 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_menuSx" Codebehind="mod_menuSx.ascx.cs" %> + + + + + + + + + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx.cs new file mode 100644 index 0000000..f439628 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx.cs @@ -0,0 +1,43 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_menuSx : ApplicationUserControl +{ + + protected override void aggiornaControlliDataGL() + { + // se l'utente c'è... + if (user_std.UtSn.isAuth && !Page.IsPostBack) + { + updateTreeMenu(); + } + } + /// + /// aggiornamento del menù + /// + private void updateTreeMenu() + { + XmlDataSource1.Data = user_std.UtSn.mappaSito; + //user_std.UtSn.ricaricaMappaSito(); + //XmlDataSource1.Data = user_std.UtSn.mappaSitoLive; + XmlDataSource1.XPath = "mainMenu/menu"; + XmlDataSource1.DataBind(); + } + /// + /// forza l'update del menù sx + /// + public void forzaUpdateMenu() + { + user_std.UtSn.ricaricaMappaSito(); + updateTreeMenu(); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx.designer.cs new file mode 100644 index 0000000..1e198c5 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuSx.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuSx { + + /// + /// pnlTree control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlTree; + + /// + /// tvMenuSx control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TreeView tvMenuSx; + + /// + /// XmlDataSource1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx new file mode 100644 index 0000000..e143b4c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx @@ -0,0 +1,37 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_menuTop" Codebehind="mod_menuTop.ascx.cs" %> + + + + + + +
+ + + + + + + + + + + +
+ + + + + + +
+ + + + + + +
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx.cs new file mode 100644 index 0000000..95ff71b --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx.cs @@ -0,0 +1,152 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using System.Collections.Generic; +using SteamWare; + +public partial class mod_menuTop : ApplicationUserControl +{ + private string _titleString; + + #region gestione eventi + + public event EventHandler eh_toggleMenuSx; + public event EventHandler eh_reqUpdateMenu; + + #endregion + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + btnLogOut.Visible = user_std.UtSn.isForcedUser; + if(memLayer.ML.isInSessionObject("doUpdateNow")) + { + doFullDataUpdate(); + memLayer.ML.emptySessionVal("doUpdateNow"); + } + } + + protected void btnLogOut_Click(object sender, EventArgs e) + { + Session.Abandon(); + Response.Redirect("forceUser.aspx"); + } + protected void btnUpdate_Click(object sender, EventArgs e) + { + doFullDataUpdate(); + } + + private void doFullDataUpdate() + { + // salvo i dati attuali... + string cod_cdc = SteamWare.memLayer.ML.StringSessionObj("valRicercaCdC"); + string lingua = user_std.UtSn.lingua; + string USER_NAME = SteamWare.memLayer.ML.StringSessionObj("USER_NAME"); + string DOMINIO = SteamWare.memLayer.ML.StringSessionObj("DOMINIO"); + bool isForceUser = user_std.UtSn.isForcedUser; + // salvo i valori delle tab in session... + Dictionary sessionParam = SteamWare.memLayer.ML.valSess2SurvUpd; + + // svuoto session e cache per rileggere i dati da Db + Session.RemoveAll(); + + SteamWare.memLayer.ML.flushRegisteredCache(); + + // rimemorizzo + SteamWare.memLayer.ML.setSessionVal("valRicercaCdC", cod_cdc); + user_std.UtSn.startUpUtente(DOMINIO, USER_NAME); + user_std.UtSn.lingua = lingua; + user_std.UtSn.isForcedUser = isForceUser; + DataWrap.DW.resetVocabolario(); + + // risalvo in session i valori... + foreach (KeyValuePair kvp in sessionParam) + { + SteamWare.memLayer.ML.setSessionVal(kvp.Key, kvp.Value, true); + } + + // cambio visibilità del menù laterale... + if (eh_reqUpdateMenu != null) + { + eh_reqUpdateMenu(this, new EventArgs()); + } + + Response.Redirect(_paginaCorrente); + } + + protected override void loadSessionData() + { + base.loadSessionData(); + _titleString = SteamWare.memLayer.ML.StringSessionObj("_titleString"); + } + + protected override void bindControlli() + { + if (!Page.IsPostBack) + { + // solo se user è auth... + if (user_std.UtSn.isAuth) + { + lnkShowHide.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("lnkShowHide")); + lblTitle.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("titleApp")); + if (_titleString != "") + { + // traduzione di tutti i termini + lblMessUtente.Text = user_std.UtSn.Traduci(_titleString); + //doppio in english! + lblMessUtenteEn.Text = "(" + user_std.UtSn.TraduciEn(_titleString) + ")"; + _titleString = ""; + Session["_titleString"] = _titleString; + Session["SessionUpdateMenu"] = true; + } + else + { + lblMessUtente.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("welcomeApp")); + lblMessUtenteEn.Text = ""; + Session["SessionUpdateMenu"] = false; + } + btnLogOut.Text = user_std.UtSn.Traduci("LogOut"); + btnUpdate.Text = user_std.UtSn.Traduci("Update"); + lblUser.Text = String.Format("{0}: {1}", user_std.UtSn.Traduci("User"), user_std.UtSn.CognomeNome); + setTimer(); + setClock(); + } + } + } + /// + /// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada + /// + private void setTimer() + { + Timer1.Interval = SteamWare.memLayer.ML.confReadInt("intUpdatePagina_ms"); + } + protected void lnkShowHide_Click(object sender, EventArgs e) + { + // cambio visibilità del menù laterale... + if (eh_toggleMenuSx != null) + { + eh_toggleMenuSx(this, new EventArgs()); + } + + } + protected void Timer1_Tick(object sender, EventArgs e) + { + setClock(); + } + + private void setClock() + { + lblDateTime.Text = DateTime.Now.ToString("HH:mm:ss"); + } + protected void lblUser_Click(object sender, EventArgs e) + { + Response.Redirect("./chLang.aspx"); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx.designer.cs new file mode 100644 index 0000000..3b7e1f4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_menuTop.ascx.designer.cs @@ -0,0 +1,95 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuTop { + + /// + /// Timer1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.Timer Timer1; + + /// + /// btnLogOut control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnLogOut; + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// lblDateTime control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDateTime; + + /// + /// btnUpdate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnUpdate; + + /// + /// lnkShowHide control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lnkShowHide; + + /// + /// lblMessUtente control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessUtente; + + /// + /// lblMessUtenteEn control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessUtenteEn; + + /// + /// lblUser control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lblUser; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx new file mode 100644 index 0000000..781175c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx @@ -0,0 +1,41 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_mtzPrevPending" Codebehind="mod_mtzPrevPending.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.cs new file mode 100644 index 0000000..c484223 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_mtzPrevPending : ApplicationUserControl +{ + public event EventHandler eh_resetSelezione; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + if (!Page.IsPostBack) + { + hlExportExcel.Text = traduci("hlExportExcel"); + hlExportExcel.NavigateUrl = "./ExcelExportMtzPrevPending.aspx"; + // vedo di rigenerare la coda... + // verifico se devo generare degli interventi di MTZ programmata.. + try + { + mtzProgr.obj.processaCodaMtzPro(); + } + catch (Exception errore) + { + SteamWare.logger.lg.scriviLog(string.Format("Non sono riuscito ad accodare gli interventi di mtz preventiva pending, errore:\r\n {0}", errore), SteamWare.tipoLog.EXCEPTION); + } + } + } +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.designer.cs new file mode 100644 index 0000000..52577a8 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_mtzPrevPending { + + /// + /// hlExportExcel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlExportExcel; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx new file mode 100644 index 0000000..a227c2c --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx @@ -0,0 +1,25 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_pageTitleAndSearch" Codebehind="mod_pageTitleAndSearch.ascx.cs" %> +
+ + + + + + +
+ + +   + + + +
+
+
+ +
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx.cs new file mode 100644 index 0000000..4d66a9b --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx.cs @@ -0,0 +1,28 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_pageTitleAndSearch : ApplicationUserControl +{ + #region area protected + + protected string _titolo; + protected override void traduciObj() + { + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", _paginaCorrente))[0]; + _titolo = riga.NOME; + lblTitolo.Text = traduci(_titolo); + } + + + #endregion + +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs new file mode 100644 index 0000000..aafb6be --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_pageTitleAndSearch { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// updtRicerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdateProgress updtRicerca; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx new file mode 100644 index 0000000..4f996ce --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx @@ -0,0 +1,35 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_periodoAnalisi" Codebehind="mod_periodoAnalisi.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
+
+ +
+
+ + + + +
+
+ + + + +
+
+ + + + + + + +
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.cs new file mode 100644 index 0000000..6be7b2d --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.cs @@ -0,0 +1,205 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_periodoAnalisi : System.Web.UI.UserControl +{ + #region area protected + + protected intervalloDate _intervallo; + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + setIntervallo(); + } + + /// + /// gestione del selettore rapido dell'intervallo temporale... + /// + /// + /// + protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) + { + intervalloDate _intervallo = new intervalloDate(); + // verifico cosa sia cambiato ed imposto date... + datario _datario = new datario(); + switch (DropDownList1.SelectedValue) + { + case "1_today": + _intervallo = _datario.giornata(DateTime.Now); + break; + case "2_yesterday": + _intervallo = _datario.giornata(DateTime.Now.AddDays(-1)); + break; + case "3_last_7": + _intervallo = _datario.ultimiGiorni(DateTime.Now, 7); + break; + case "4_this_week": + _intervallo = _datario.questaSett(DateTime.Now); + break; + case "5_last_30": + _intervallo = _datario.ultimiGiorni(DateTime.Now, 30); + break; + case "6_this_month": + _intervallo = _datario.questoMese(DateTime.Now); + break; + case "7_last_month": + _intervallo = _datario.estremiMese(DateTime.Now.AddMonths(-1)); + break; + case "8_this_year": + _intervallo = _datario.estremiAnno(DateTime.Now); + break; + case "9_last_year": + _intervallo = _datario.estremiAnno(DateTime.Now.AddYears(-1)); + break; + default: + break; + } + intervalloAnalisi = _intervallo; + aggiornaDateMostrate(); + } + + private void aggiornaDateMostrate() + { + txtInizio.Text = intervalloAnalisi.inizio.ToShortDateString(); + txtFine.Text = intervalloAnalisi.fine.AddDays(-1).ToShortDateString(); // mostro 1 gg in meno xché termina alle 00:00... + reportUpdate(); + } + + private void setIntervallo() + { + intervalloDate _intervallo; + try + { + _intervallo = (intervalloDate)Session["_intervallo"]; + } + catch + { + _intervallo = new intervalloDate(); + _intervallo.fine = DateTime.Now.Subtract(DateTime.Now.TimeOfDay).AddDays(1); + _intervallo.inizio = _intervallo.fine.AddMonths(-1); + Session["_intervallo"] = _intervallo; + Session["_inizio"] = _intervallo.inizio; + Session["_fine"] = _intervallo.fine; + } + txtInizio.Text = _intervallo.inizio.ToShortDateString(); + txtFine.Text = _intervallo.fine.ToShortDateString(); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + lblPeriodo.Text = traduci("periodoRif"); + txtInizio.ToolTip = traduci("inizioPeriodo"); + txtFine.ToolTip = traduci("finePeriodo"); + } + } + protected void txtInizio_TextChanged(object sender, EventArgs e) + { + // imposto il selettore a discesa... + DropDownList1.SelectedIndex = 0; + // se campo vuoto imposto oggi... + if (txtInizio.Text == "") + { + txtInizio.Text = DateTime.Now.ToShortDateString(); + } + else + { + txtInizio.Text = Convert.ToDateTime(txtInizio.Text).ToShortDateString(); + } + // aggiorno dati in session... + aggiornaPeriodo(); + } + + private void aggiornaPeriodo() + { + _intervallo = new intervalloDate(); + _intervallo.inizio = Convert.ToDateTime(txtInizio.Text); + _intervallo.fine = ((DateTime)Convert.ToDateTime(txtFine.Text)).Date.AddDays(1); + //_intervallo.fine = ((DateTime)Convert.ToDateTime(txtFine.Text)).Date.AddDays(1).AddMinutes(-1); + intervalloAnalisi = _intervallo; + reportUpdate(); + + } + protected void txtFine_TextChanged(object sender, EventArgs e) + { + // imposto il selettore a discesa... + DropDownList1.SelectedIndex = 0; + // se campo vuoto imposto oggi... + if (txtFine.Text == "") + { + txtFine.Text = DateTime.Now.AddDays(1).ToShortDateString(); + } + else + { + txtFine.Text = Convert.ToDateTime(txtFine.Text).ToShortDateString(); + } + // aggiorno dati in session... + aggiornaPeriodo(); + } + + protected void reportUpdate() + { + // alzo l'evento d update/inserimento e ricarico cache... + if (eh_doUpdate != null) + { + eh_doUpdate(this, new EventArgs()); + } + } + + #endregion + + #region area public + + public intervalloDate intervalloAnalisi + { + get + { + return (intervalloDate)Session["_intervallo"]; + } + set + { + intervalloDate interv = value; + Session["_intervallo"] = interv; + Session["_inizio"] = interv.inizio; + Session["_fine"] = interv.fine; + } + } + + public void doUpdate() + { + aggiornaDateMostrate(); + } + + public void setPeriodoFree() + { + DropDownList1.SelectedIndex = 0; + } + + #region gestione eventi + + public event EventHandler eh_doUpdate; + + #endregion + + #endregion + +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.designer.cs new file mode 100644 index 0000000..1f92cd3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.designer.cs @@ -0,0 +1,95 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_periodoAnalisi { + + /// + /// lblPeriodo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPeriodo; + + /// + /// txtInizio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtInizio; + + /// + /// CalendarExtender1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1; + + /// + /// RequiredFieldValidator1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; + + /// + /// txtFine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtFine; + + /// + /// CalendarExtender2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2; + + /// + /// RequiredFieldValidator2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator2; + + /// + /// DropDownList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList DropDownList1; + + /// + /// odsPeriodi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsPeriodi; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx new file mode 100644 index 0000000..e815f73 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx @@ -0,0 +1,104 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_priorita" Codebehind="mod_priorita.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx.cs new file mode 100644 index 0000000..3645682 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx.cs @@ -0,0 +1,95 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_priorita : ApplicationUserControl +{ + public event EventHandler eh_resetSelezione; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// seleziono valore in editing... + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + GIM_data.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter taPrior = new GIM_data.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter(); + // calcolo ultimo libero e aggiungo 1... + int nextFree = 1; + try + { + nextFree = (int)taPrior.getMaxPriorita() + 1; + } + catch + { + logger.lg.scriviLog("Errore nel recupero del max idx di prorità", tipoLog.EXCEPTION); + } + taPrior.Insert(nextFree, "-- [NUOVA] non definita --", "semaforoVerde"); + grView.DataBind(); + } +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx.designer.cs new file mode 100644 index 0000000..abe0e3e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_priorita.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_priorita { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx new file mode 100644 index 0000000..b125892 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx @@ -0,0 +1,101 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_reportInterventi" Codebehind="mod_reportInterventi.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="~/WebUserControls/mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc1" %> +
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+ + + + + + +
+
+
+
+ +
+
+ +
+
+ + + + + + +
+
+
+
+
+ + + + +
+
+
+
+ + + + + + + + + +
+

+ +

+ +
+ +

+ +

+ +
+
+ +
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.cs new file mode 100644 index 0000000..01b9b6d --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.cs @@ -0,0 +1,191 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_reportInterventi : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + // traduzioni + traduciObj(); + // popolo valori default + setDefaultValues(); + // aggancio evento selezione x aggiornare hyperlink + } + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + mod_periodoAnalisi1.eh_doUpdate += new EventHandler(mod_periodoAnalisi1_eh_doUpdate); + } + + void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e) + { + setDefaultValues(); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + private void traduciObj() + { + lblMostraStati.Text = traduci("lblMostraStati"); + lblImpiantiInteressati.Text = traduci("lblImpiantiSel"); + lblMacchineInteressate.Text = traduci("lblMacchineSel"); + lnkGuidaPerReport.Text = traduci("lnkGuidaPerReport"); + lblReportInterventi.Text = traduci("lblReportInterventi"); + lblReportMTBFMTTR.Text = traduci("lblReportMTBFMTTR"); + } + private void setDefaultValues() + { + // valori degli hyperlink + hlElencoInterventi_Pdf.NavigateUrl = formattaUrl(reportRichiesto.ElencoInterventi, mod_periodoAnalisi1.intervalloAnalisi); + hlMTBF_MTTR_Pdf.NavigateUrl = formattaUrl(reportRichiesto.MTBF_MTTR, mod_periodoAnalisi1.intervalloAnalisi); + } + private string formattaUrl(reportRichiesto tipo, intervalloDate periodo) + { + return String.Format("~/ExportPdf.aspx?tipo={0}&inizio={1}&fine={2}&username={3}", Convert.ToInt32(tipo), periodo.inizio, periodo.fine, user_std.UtSn.userNameAD); + } + + #region gestione selettori valori multipli + + #region stati + + /// + /// valorizzazione iniziale filtro stati + /// + /// + /// + protected void listaStati_DataBound(object sender, EventArgs e) + { + foreach (ListItem item in ((ListBox)sender).Items) + { + item.Selected = true; + } + generaFiltroStati(); + } + /// + /// salva elenco stati selected + /// + /// + /// + protected void listaStati_SelectedIndexChanged(object sender, EventArgs e) + { + generaFiltroStati(); + } + + private void generaFiltroStati() + { + // svuoto elenco utente delle macchine selezionate + TA_app.obj.taFiltSta.EmptyUserData(user_std.UtSn.userNameAD); + // spazzo TUTTE le righe del controllo... + foreach (ListItem riga in listaStati.Items) + { + // se è selezionata creo riga anche x lei... + if (riga.Selected) + { + TA_app.obj.taFiltSta.Insert(user_std.UtSn.userNameAD, Convert.ToInt32(riga.Value)); + } + } + } + + #endregion + + #region impianti + + /// + /// valorizzazione iniziale filtro impianti + /// + /// + /// + protected void listImpianti_DataBound(object sender, EventArgs e) + { + foreach (ListItem item in ((ListBox)sender).Items) + { + item.Selected = true; + } + generaFiltroImpianti(); + } + /// + /// salvo elenco impianti selected + /// + /// + /// + protected void listImpianti_SelectedIndexChanged(object sender, EventArgs e) + { + generaFiltroImpianti(); + } + + private void generaFiltroImpianti() + { + // svuoto elenco utente delle macchine selezionate + TA_app.obj.taFiltImp.EmptyUserData(user_std.UtSn.userNameAD); + // spazzo TUTTE le righe del controllo... + foreach (ListItem riga in listImpianti.Items) + { + // se è selezionata creo riga anche x lei... + if (riga.Selected) + { + TA_app.obj.taFiltImp.Insert(user_std.UtSn.userNameAD, Convert.ToInt32(riga.Value)); + } + } + } + + #endregion + + #region macchine + + /// + /// valorizzazione iniziale filtro macchine + /// + /// + /// + protected void listMacchine_DataBound(object sender, EventArgs e) + { + foreach (ListItem item in ((ListBox)sender).Items) + { + item.Selected = true; + } + generaFiltroMacchine(); + } + /// + /// salvo elenco macchine selected + /// + /// + /// + protected void listMacchine_SelectedIndexChanged(object sender, EventArgs e) + { + generaFiltroMacchine(); + } + + private void generaFiltroMacchine() + { + // svuoto elenco utente delle macchine selezionate + TA_app.obj.taFiltMac.EmptyUserData(user_std.UtSn.userNameAD); + // spazzo TUTTE le righe del controllo... + foreach (ListItem riga in listMacchine.Items) + { + // se è selezionata creo riga anche x lei... + if (riga.Selected) + { + TA_app.obj.taFiltMac.Insert(user_std.UtSn.userNameAD, Convert.ToInt32(riga.Value)); + } + } + } + #endregion + + #endregion + + +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.designer.cs new file mode 100644 index 0000000..0bb73f3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.designer.cs @@ -0,0 +1,167 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_reportInterventi { + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// lblImpiantiInteressati control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblImpiantiInteressati; + + /// + /// txtCercaImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCercaImpianti; + + /// + /// listImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listImpianti; + + /// + /// odsImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsImpianti; + + /// + /// lblMacchineInteressate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMacchineInteressate; + + /// + /// txtCercaMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCercaMacchine; + + /// + /// listMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listMacchine; + + /// + /// odsMacchine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine; + + /// + /// lblMostraStati control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMostraStati; + + /// + /// listaStati control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox listaStati; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblReportInterventi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblReportInterventi; + + /// + /// hlElencoInterventi_Pdf control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlElencoInterventi_Pdf; + + /// + /// lblReportMTBFMTTR control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblReportMTBFMTTR; + + /// + /// hlMTBF_MTTR_Pdf control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMTBF_MTTR_Pdf; + + /// + /// lnkGuidaPerReport control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink lnkGuidaPerReport; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx new file mode 100644 index 0000000..29a553d --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx @@ -0,0 +1,6 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_ricercaGenerica" Codebehind="mod_ricercaGenerica.ascx.cs" %> +
+ + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx.cs new file mode 100644 index 0000000..8362fd4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx.cs @@ -0,0 +1,181 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_ricercaGenerica : ApplicationUserControl +{ + + #region gestione eventi + + public event EventHandler eh_nuovaRicerca; + + #endregion + + # region area protected + + #region area ricerche dettaglio specifiche + + protected bool _cercaMatricole = false; + protected bool _cercaUsername = false; + //protected bool _cercaManufacturer = false; + //protected bool _cercaCategorie = false; + protected bool _cercaModelli = false; + protected bool _cercaMag = false; + + #endregion + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + updateText(); + } + /// + /// cambiato valore in ricerca + /// + /// + /// + protected void txtCerca_TextChanged(object sender, EventArgs e) + { + salvaCerca(); + } + /// + /// pressione del button di ricerca + /// + /// + /// + protected void btnCerca_Click(object sender, EventArgs e) + { + salvaCerca(); + } + /// + /// testo ricerca trimmato da spazi + /// + protected string testoRicerca + { + get + { + return txtCerca.Text.Trim(); + } + set + { + txtCerca.Text = value; + } + } + + protected void salvaCerca() + { + if (testoRicerca == "") + { + SteamWare.memLayer.ML.emptySessionVal("valoreCercato"); + SteamWare.memLayer.ML.emptySessionVal("listaMatricoleSearch"); + } + else + { + SteamWare.memLayer.ML.setSessionVal("valoreCercato", testoRicerca); + // verifico ricerche accessorie + if (_cercaMatricole) + { + salvaCercaMatricole(); + } + if (_cercaUsername) + { + salvaCercaUsername(); + } + // raise dell'evento + if (eh_nuovaRicerca != null) + { + eh_nuovaRicerca(this, new EventArgs()); + } + } + } + /// + /// ricerca utenti e salva lista matricole x SQL IN + /// + protected void salvaCercaMatricole() + { + // salvo anche l'elenco delle matricole compatibili... + DataLayer_AnagGen.UTENTEDataTable righeUtenti = DataWrap.DW.taUtente.getByRicercaNomeCognome(testoRicerca); + string listaMatricoleSearch = ""; + foreach (DataLayer_AnagGen.UTENTERow riga in righeUtenti) + { + listaMatricoleSearch += string.Format("'{0}', ", riga.MATRICOLA); + } + if (listaMatricoleSearch.Length > 0) + { + listaMatricoleSearch = listaMatricoleSearch.Remove(listaMatricoleSearch.Length - 2); + } + SteamWare.memLayer.ML.setSessionVal("listaMatricoleSearch", listaMatricoleSearch); + } + /// + /// ricerca utenti e salva lista username x SQL IN + /// + protected void salvaCercaUsername() + { + // salvo anche l'elenco delle matricole compatibili... + DataLayer_AnagGen.UTENTEDataTable righeUtenti = DataWrap.DW.taUtente.getByRicercaNomeCognome(testoRicerca); + string listaUsernameSearch = ""; + foreach (DataLayer_AnagGen.UTENTERow riga in righeUtenti) + { + listaUsernameSearch += string.Format("'{0}', ", riga.USER_NAME); + } + if (listaUsernameSearch.Length > 0) + { + listaUsernameSearch = listaUsernameSearch.Remove(listaUsernameSearch.Length - 2); + } + SteamWare.memLayer.ML.setSessionVal("listaUsernameSearch", listaUsernameSearch); + } + + #endregion + + #region area public + + /// + /// aggiorna il testo cercato + /// + public void updateText() + { + if (SteamWare.memLayer.ML.StringSessionObj("valoreCercato") != "" && !Page.IsPostBack) + { + testoRicerca = SteamWare.memLayer.ML.StringSessionObj("valoreCercato"); + } + } + + /// + /// indica se generare da stringa search un elenco delle matricole corrispondenti + /// + public bool cercaMatricole + { + get + { + return _cercaMatricole; + } + set + { + _cercaMatricole = value; + } + } + /// + /// indica se generare da stringa search un elenco di username corrispondenti + /// + public bool cercaUsername + { + get + { + return _cercaUsername; + } + set + { + _cercaUsername = value; + } + } + #endregion + +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx.designer.cs new file mode 100644 index 0000000..b7d2bb3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaGenerica.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_ricercaGenerica { + + /// + /// txtCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCerca; + + /// + /// btnCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCerca; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx new file mode 100644 index 0000000..3844adc --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx @@ -0,0 +1,58 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_selettore" Codebehind="mod_selettore.ascx.cs" %> + + + + + + + +
+ + + + +
+ +   + +   + +   + +
+
+ + + + + + + + + + + + + + + + + + + + + + +    + + + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx.cs new file mode 100644 index 0000000..05727bb --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx.cs @@ -0,0 +1,464 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +[ValidationProperty("valore")] +public partial class mod_selettore : ApplicationUserControl +{ + + protected bool _chkVisibile = false; + protected bool _isValueVisible = false; + protected bool _cambioTipo = false; + + protected string _valoreFull; + protected string _val1; + protected string _val2; + #region gestione eventi + + public event EventHandler eh_selDone; + + #endregion + + #region gestione pagina + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + updateChkOpzione(); + if (!Page.IsPostBack) + { + memLayer.ML.emptySessionVal(searchSessionName); + } + } + + protected override void traduciObj() + { + base.traduciObj(); + lblCerca.Text = traduci("lblCerca"); + btnCerca.Text = traduci("search"); + if (_chkVisibile) + { + updateChkOpzione(); + } + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + if (!Page.IsPostBack) + { + _val1 = ""; + _val2 = ""; + traduciObj(); + } + if (vistaModulo == tipoVistaMod.editing) + { + setSearchValue(); + impostaCampoRicerca(); + } + } + /// + /// imposta il valore della ricerca da quello in session + /// + private void setSearchValue() + { + if (memLayer.ML.isInSessionObject(searchSessionName)) + { + testoRicerca = memLayer.ML.StringSessionObj(searchSessionName); + } + } + /// + /// imposta i campi del filtro ricerca in session + /// + private void impostaCampoRicerca() + { + // imposto il nome del valore session x ricerca a campo univoco... + SessionParameter parametroFiltro = new SessionParameter(); + parametroFiltro.SessionField = searchSessionName; + parametroFiltro.Name = searchSessionName; + parametroFiltro.DefaultValue = "*"; + ods.FilterParameters.Clear(); + ods.FilterParameters.Add(parametroFiltro); + } + /// + /// setta il nome del campo di ricerca + /// + protected string searchSessionName + { + get + { + return string.Format("ricerca_{0}", _tipoSelettore); + } + } + + #endregion + + #region area protected + + protected string _conditio = ""; + protected string testoRicerca + { + get + { + return txtCerca.Text.Trim(); + } + set + { + txtCerca.Text = value; + } + } + + protected selettori _selettori = new selettori(); + /// + /// a seconda del tipo di selettore cambierà l'origine ods + /// + /// + /// + protected void chkOpzione_CheckedChanged(object sender, EventArgs e) + { + fixChkOds(); + } + + protected void setCheck() + { + if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + { + _chkVisibile = true; + } + else + { + _chkVisibile = false; + } + } + + /// + /// aggiorna visualizzazione del check opzionale con label e visibilità + /// + protected void updateChkOpzione() + { + // se definito il tipo decido SE mostrare il check e tradurre la label... + if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + { + chkOpzione.Visible = true; + chkOpzione.Text = traduci("chkSoloGer"); + if (_tipoSelettore == tipoSelettore.utentiCdc) + { + chkOpzione.Checked = true; + } + } + else + { + chkOpzione.Visible = false; + } + } + + + /// + /// aggiorna label e valore principale da una chiave multipart + /// + private void aggiornaDaValMulti() + { + // eseguo SE E SOLO SE entrambi i valori sono popolati + if (val1 != "" && val1 != null) + { + if (val2 != "" && val2 != null && val2 != "na") + { + _valoreFull = string.Format("{0}#{1}", val1, val2); + } + else + { + _valoreFull = val1; + } + } + } + + + /// + /// tipo di valori mostrati + /// + protected tipoSelettore _tipoSelettore = tipoSelettore.cdc; + /// + /// nome del controllo gestito dal nostro popup + /// + protected string _targetControl = ""; + /// + /// sistemo gli ods + /// + protected override void bindControlli() + { + base.bindControlli(); + fixChkOds(); + fixOds(); + } + /// + /// sistema l'ods dato lo stato del chk + /// + protected void fixChkOds() + { + if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + { + // verifico se sia o meno checked "solo cdc utente"... + if (chkOpzione.Checked) + { + //imposto nuovo tipo selettore + _tipoSelettore = tipoSelettore.utentiCdc; + fixOds(); + } + else + { + //imposto nuovo tipo selettore + _tipoSelettore = tipoSelettore.utentiAll; + fixOds(); + } + // faccio databind... + grView.PageIndex = 0; + grView.DataBind(); + } + } + /// + /// sistemazione fonte ods... + /// + protected void fixOds() + { + string _selectMethod = ""; + switch (_tipoSelettore) + { + case tipoSelettore.cdc: + _selectMethod = "getSelAllCdC"; + break; + case tipoSelettore.impianti: + _selectMethod = "getSelImpianti"; + break; + case tipoSelettore.macchine: + _selectMethod = "getSelMacchine"; + break; + case tipoSelettore.utentiAll: + _selectMethod = "getSelAllUsers"; + break; + case tipoSelettore.utentiCdc: + _selectMethod = "getSelUsersGer"; + break; + } + ods.SelectMethod = _selectMethod; + } + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// selezione annullata su cambio pagina + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + grView.SelectedIndex = -1; + } + /// + /// aggiornamento filtro da stringa di ricerca del popup + /// + /// + /// + protected void txtCerca_TextChanged(object sender, EventArgs e) + { + // se cambio filtro tolgo il selected... + grView.SelectedIndex = -1; + // salvo la ricerca in session e filter dell'ods... + memLayer.ML.setSessionVal(searchSessionName, txtCerca.Text); + impostaCampoRicerca(); + fixChkOds(); + fixOds(); + } + /// + /// salvo il valore selezionato + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + string valore = grView.SelectedValue.ToString(); + // se ho una chiave multiparte salvo nei 2 valori... + if (valore.IndexOf('#') > -1) + { + string[] valori = valore.Split('#'); + val1 = valori[0]; + val2 = valori[1]; + } + if (eh_selDone != null) + { + eh_selDone(this, new EventArgs()); + } + } + + /// + /// resetta ricerca e selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + grView.SelectedIndex = -1; + testoRicerca = ""; + memLayer.ML.emptySessionVal(searchSessionName); + } + + #endregion + + #region area public + + /// + /// tipo di selettore da istanziare + /// + public tipoSelettore tipo + { + get + { + return _tipoSelettore; + } + set + { + _tipoSelettore = value; + setCheck(); + } + } + + /// + /// effettua update del controllo + /// + public void doUpdate() + { + // svuoto ricerca... + memLayer.ML.emptySessionVal(searchSessionName); + testoRicerca = ""; + // imposto valori cercati... + setSearchValue(); + impostaCampoRicerca(); + // continuo con update + updateChkOpzione(); + fixOds(); + aggiornaDaValMulti(); + // faccio databind... + grView.PageIndex = 0; + grView.DataBind(); + } + + /// + /// valore mostrato nel campo testo del selettore + /// + public string valore + { + get + { + return grView.SelectedValue.ToString(); + } + set + { + _valoreFull = value; + } + } + /// + /// valore di una chiave multiparte + /// + public string val1 + { + get + { + return _val1; + } + set + { + _val1 = value; + aggiornaDaValMulti(); + } + } + + /// + /// valore di una chiave multiparte + /// + public string val2 + { + get + { + return _val2; + } + set + { + _val2 = value; + aggiornaDaValMulti(); + } + } + /// + /// impone una condizione di filtro sui valori mostrati + /// + public string conditio + { + get + { + return _conditio; + } + set + { + _conditio = value; + if (_conditio != "") + { + ods.SelectParameters.Clear(); + ods.SelectParameters.Add("where", string.Format(" conditio = '{0}' ", _conditio)); + } + else + { + ods.SelectParameters.Clear(); + ods.SelectParameters.Add("where", " conditio = '*' "); + } + } + } + /// + /// determina se il valore da selezionare sia da visualizzare o meno + /// + public bool isValueVisible + { + get + { + return _isValueVisible; + } + set + { + _isValueVisible = value; + } + } + + #endregion +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx.designer.cs new file mode 100644 index 0000000..5377d10 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore.ascx.designer.cs @@ -0,0 +1,77 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_selettore { + + /// + /// lblCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCerca; + + /// + /// txtCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCerca; + + /// + /// btnCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCerca; + + /// + /// chkOpzione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkOpzione; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx new file mode 100644 index 0000000..1a404b1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx @@ -0,0 +1,77 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_selettore_ajax" Codebehind="mod_selettore_ajax.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> + + + + +
+ + +
+
+
+ + + + + + + + + + +
+ + + + +
+ +   + +   + +   + +
+
+ + + + + + + + + + + + + + + + + + + + + + +    + + + + + +
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx.cs new file mode 100644 index 0000000..7a6e5a7 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx.cs @@ -0,0 +1,499 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +[ValidationProperty("valore")] +public partial class mod_selettore_ajax : ApplicationUserControl +{ + + protected bool _chkVisibile = false; + protected bool _isValueVisible = false; + protected bool _cambioTipo = false; + + protected string _val1; + protected string _val2; + #region gestione eventi + + public event EventHandler eh_selDone; + + #endregion + + #region gestione pagina + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + updateChkOpzione(); + if (!Page.IsPostBack) + { + SteamWare.memLayer.ML.emptySessionVal(searchSessionName); + } + } + + protected override void traduciObj() + { + base.traduciObj(); + lblCerca.Text = traduci("lblCerca"); + btnCerca.Text = traduci("search"); + if (_chkVisibile) + { + updateChkOpzione(); + } + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + if (!Page.IsPostBack) + { + _val1 = ""; + _val2 = ""; + if (vistaModulo == SteamWare.tipoVistaMod.editing) + { + setSearchValue(); + impostaCampoRicerca(); + pce.Enabled = true; + pce2.Enabled = true; + lblDescr.CssClass = "txtLink"; + } + else if (vistaModulo == SteamWare.tipoVistaMod.selezione) + { + pce.Enabled = false; + pce2.Enabled = false; + lblDescr.CssClass = "txtValue"; + } + traduciObj(); + } + } + /// + /// imposta il valore della ricerca da quello in session + /// + private void setSearchValue() + { + if (SteamWare.memLayer.ML.isInSessionObject(searchSessionName)) + { + testoRicerca = SteamWare.memLayer.ML.StringSessionObj(searchSessionName); + } + } + /// + /// imposta i campi del filtro ricerca in session + /// + private void impostaCampoRicerca() + { + // imposto il nome del valore session x ricerca a campo univoco... + SessionParameter parametroFiltro = new SessionParameter(); + parametroFiltro.SessionField = searchSessionName; + parametroFiltro.Name = searchSessionName; + parametroFiltro.DefaultValue = "*"; + ods.FilterParameters.Clear(); + ods.FilterParameters.Add(parametroFiltro); + } + /// + /// setta il nome del campo di ricerca + /// + protected string searchSessionName + { + get + { + return string.Format("ricerca_{0}", _tipoSelettore); + } + } + + #endregion + + #region area protected + + protected string _conditio = ""; + protected string testoRicerca + { + get + { + return txtCerca.Text.Trim(); + } + set + { + txtCerca.Text = value; + } + } + + protected selettori _selettori = new selettori(); + /// + /// a seconda del tipo di selettore cambierà l'origine ods + /// + /// + /// + protected void chkOpzione_CheckedChanged(object sender, EventArgs e) + { + fixChkOds(); + } + + protected void setCheck() + { + if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + { + _chkVisibile = true; + } + else + { + _chkVisibile = false; + } + } + + /// + /// aggiorna visualizzazione del check opzionale con label e visibilità + /// + protected void updateChkOpzione() + { + // se definito il tipo decido SE mostrare il check e tradurre la label... + if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + { + chkOpzione.Visible = true; + chkOpzione.Text = traduci("chkSoloGer"); + if (_tipoSelettore == tipoSelettore.utentiCdc) + { + chkOpzione.Checked = true; + } + } + else + { + chkOpzione.Visible = false; + } + } + + /// + /// aggiorna la label che traduce il valore a seconda del tipo di oggetto... + /// + protected void aggiornaLabelDaValore() + { + // x ora metto valore di default... + string _answ = "-"; + if (txtSelValue.Text != "") + { + System.Data.DataView tabella = (System.Data.DataView)ods.Select(); + tabella.RowFilter = string.Format("value = '{0}'", txtSelValue.Text); + try + { + _answ = tabella.ToTable().Rows[0]["label"].ToString(); + } + catch + { } + } + lblDescr.Text = _answ; + } + /// + /// aggiorna label e valore principale da una chiave multipart + /// + private void aggiornaDaValMulti() + { + // eseguo SE E SOLO SE entrambi i valori sono popolati + if (val1 != "" && val1 != null) + { + if (val2 != "" && val2 != null && val2 != "na") + { + txtSelValue.Text = string.Format("{0}#{1}", val1, val2); + aggiornaLabelDaValore(); + } + else + { + txtSelValue.Text = val1; + aggiornaLabelDaValore(); + } + } + } + + + /// + /// tipo di valori mostrati + /// + protected tipoSelettore _tipoSelettore = tipoSelettore.cdc; + /// + /// nome del controllo gestito dal nostro popup + /// + protected string _targetControl = ""; + /// + /// sistemo gli ods + /// + protected override void bindControlli() + { + base.bindControlli(); + fixChkOds(); + fixOds(); + } + /// + /// sistema l'ods dato lo stato del chk + /// + protected void fixChkOds() + { + if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + { + // verifico se sia o meno checked "solo cdc utente"... + if (chkOpzione.Checked) + { + //imposto nuovo tipo selettore + _tipoSelettore = tipoSelettore.utentiCdc; + fixOds(); + } + else + { + //imposto nuovo tipo selettore + _tipoSelettore = tipoSelettore.utentiAll; + fixOds(); + } + // faccio databind... + grView.PageIndex = 0; + grView.DataBind(); + + } + } + /// + /// sistemazione fonte ods... + /// + protected void fixOds() + { + string _selectMethod = ""; + switch (_tipoSelettore) + { + case tipoSelettore.cdc: + _selectMethod = "getSelAllCdC"; + break; + case tipoSelettore.impianti: + _selectMethod = "getSelImpianti"; + break; + case tipoSelettore.macchine: + _selectMethod = "getSelMacchine"; + break; + case tipoSelettore.utentiAll: + _selectMethod = "getSelAllUsers"; + break; + case tipoSelettore.utentiCdc: + _selectMethod = "getSelUsersGer"; + break; + } + ods.SelectMethod = _selectMethod; + } + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// selezione annullata su cambio pagina + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + grView.SelectedIndex = -1; + } + /// + /// aggiornamento filtro da stringa di ricerca del popup + /// + /// + /// + protected void txtCerca_TextChanged(object sender, EventArgs e) + { + // se cambio filtro tolgo il selected... + grView.SelectedIndex = -1; + // salvo la ricerca in session e filter dell'ods... + SteamWare.memLayer.ML.setSessionVal(searchSessionName, txtCerca.Text); + impostaCampoRicerca(); + fixChkOds(); + fixOds(); + } + /// + /// salvo il valore selezionato + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + string valore = grView.SelectedValue.ToString(); + lblDescr.Text = grView.SelectedRow.Cells[2].Text.ToString(); + UpdatePanel1.Update(); + pce.Commit(valore); + pce2.Commit(grView.SelectedRow.Cells[2].Text.ToString()); + // se ho una chiave multiparte salvo nei 2 valori... + if (valore.IndexOf('#') > -1) + { + string[] valori = valore.Split('#'); + val1 = valori[0]; + val2 = valori[1]; + } + if (eh_selDone != null) + { + eh_selDone(this, new EventArgs()); + } + } + + /// + /// resetta ricerca e selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + grView.SelectedIndex = -1; + testoRicerca = ""; + SteamWare.memLayer.ML.emptySessionVal(searchSessionName); + } + + #endregion + + #region area public + + /// + /// tipo di selettore da istanziare + /// + public tipoSelettore tipo + { + get + { + return _tipoSelettore; + } + set + { + _tipoSelettore = value; + setCheck(); + } + } + + /// + /// effettua update del controllo + /// + public void doUpdate() + { + // svuoto ricerca... + SteamWare.memLayer.ML.emptySessionVal(searchSessionName); + testoRicerca = ""; + // imposto valori cercati... + setSearchValue(); + impostaCampoRicerca(); + // continuo con update + updateChkOpzione(); + fixOds(); + aggiornaDaValMulti(); + // faccio databind... + grView.PageIndex = 0; + grView.DataBind(); + } + + /// + /// valore mostrato nel campo testo del selettore + /// + public string valore + { + get + { + return txtSelValue.Text; + } + set + { + txtSelValue.Text = value; + aggiornaLabelDaValore(); + } + } + /// + /// valore di una chiave multiparte + /// + public string val1 + { + get + { + return _val1; + } + set + { + _val1 = value; + aggiornaDaValMulti(); + } + } + + /// + /// valore di una chiave multiparte + /// + public string val2 + { + get + { + return _val2; + } + set + { + _val2 = value; + aggiornaDaValMulti(); + } + } + /// + /// impone una condizione di filtro sui valori mostrati + /// + public string conditio + { + get + { + return _conditio; + } + set + { + _conditio = value; + if (_conditio != "") + { + ods.SelectParameters.Clear(); + ods.SelectParameters.Add("where", string.Format(" conditio = '{0}' ", _conditio)); + } + else + { + ods.SelectParameters.Clear(); + ods.SelectParameters.Add("where", " conditio = '*' "); + } + } + } + /// + /// determina se il valore da selezionare sia da visualizzare o meno + /// + public bool isValueVisible + { + get + { + return _isValueVisible; + } + set + { + _isValueVisible = value; + } + } + + #endregion +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx.designer.cs new file mode 100644 index 0000000..935ae48 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_selettore_ajax.ascx.designer.cs @@ -0,0 +1,140 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_selettore_ajax { + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// pce control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.PopupControlExtender pce; + + /// + /// pce2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.PopupControlExtender pce2; + + /// + /// txtSelValue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtSelValue; + + /// + /// lblDescr control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescr; + + /// + /// pnlSelettore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSelettore; + + /// + /// updPnl1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPnl1; + + /// + /// lblCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCerca; + + /// + /// txtCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCerca; + + /// + /// btnCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCerca; + + /// + /// chkOpzione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkOpzione; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx new file mode 100644 index 0000000..296fa74 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx @@ -0,0 +1,85 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_tipoGuasto" Codebehind="mod_tipoGuasto.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx.cs new file mode 100644 index 0000000..df3b719 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx.cs @@ -0,0 +1,85 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_tipoGuasto : ApplicationUserControl +{ + public event EventHandler eh_resetSelezione; + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset delle selezioni + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// seleziono valore in editing... + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + GIM_data.DS_applicazioneTableAdapters.AnagTipoGuastoTableAdapter taTipo = new GIM_data.DS_applicazioneTableAdapters.AnagTipoGuastoTableAdapter(); + taTipo.Insert("-- [NUOVO] non definito --"); + grView.DataBind(); + } +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx.designer.cs new file mode 100644 index 0000000..fdcf070 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_tipoGuasto.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_tipoGuasto { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx new file mode 100644 index 0000000..e9bb0f3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx @@ -0,0 +1,4 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_titleMini" Codebehind="mod_titlePortable.ascx.cs" %> + +
+
\ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx.cs new file mode 100644 index 0000000..96da0ac --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx.cs @@ -0,0 +1,18 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class mod_titleMini : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + lblTitle.Text = string.Format("{0} {1}", ConfigurationManager.AppSettings.Get("portableAppName"), ConfigurationManager.AppSettings.Get("portableAppVersion")); + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx.designer.cs new file mode 100644 index 0000000..9d43f3e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_titlePortable.ascx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_titleMini { + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx new file mode 100644 index 0000000..b4c60a3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx @@ -0,0 +1,37 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_unauthorized" Codebehind="mod_unauthorized.ascx.cs" %> + + + + + + + + + + + + + + + + +
+ SteamWare +
+ +
+ +
+
+
+
+
+
+ Per richiedere supporto e far registrare l'utente corrente prego contattare + l'amministratore dell'applicazione. +
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx.cs new file mode 100644 index 0000000..f0bbd12 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx.cs @@ -0,0 +1,19 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class mod_unauthorized : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + lblTitle.Text = "Attenzione! pagina non disponibile."; + lblMess.Text = "L'utente non è autorizzato alla visione del sito o pagina non è disponibile, verificare l'indirizzo della pagina inserito o contattare l'amministratore."; + } +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx.designer.cs new file mode 100644 index 0000000..e9b6e8e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_unauthorized.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_unauthorized { + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// lblMess control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMess; +} diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx new file mode 100644 index 0000000..480945e --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx @@ -0,0 +1,105 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_vocabolario" Codebehind="mod_vocabolario.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx.cs new file mode 100644 index 0000000..ec9d032 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx.cs @@ -0,0 +1,146 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class mod_vocabolario : ApplicationUserControl +{ + + #region gestione eventi + + public event EventHandler eh_selezioneValore; + public event EventHandler eh_resetSelezione; + + #endregion + + #region protected + + protected override void traduciObj() + { + base.traduciObj(); + btnNewLemma.Text = user_std.UtSn.Traduci("btnNewLemma"); + txtNewLemma.Text = ""; + TBW_newLemma.WatermarkText = user_std.UtSn.Traduci("insertNewLemma"); + } + + /// + /// inserisco nel db il nuovo lemma... + /// + /// + /// + protected void btnNewLemma_Click(object sender, EventArgs e) + { + creaNuovoLemma(); + } + /// + /// creazione nuovo lemma + /// + private void creaNuovoLemma() + { + if (txtNewLemma.Text != "") + { + // inserisco + DataWrap.DW.creaNuovoLemmaVoc(txtNewLemma.Text.Trim()); + // metto in campo ricerca... + memLayer.ML.setSessionVal("valoreCercato", txtNewLemma.Text.Trim()); + // svuoto campo text + txtNewLemma.Text = ""; + // aggiorno il vocabolario in memoria... + DataWrap.DW.resetVocabolario(); + // riparto... + Response.Redirect(_paginaCorrente); + } + } + + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridAnagr; + ods.DataBind(); + } + + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + selezionatoValore(); + } + + private void selezionatoValore() + { + SteamWare.memLayer.ML.setSessionVal("lemma_sel", grView.SelectedDataKey.Values[1]); + if (eh_selezioneValore != null) + { + eh_selezioneValore(this, new EventArgs()); + } + } + + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + selezionatoValore(); + } + + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + selezionatoValore(); + } + + #endregion + + #region area public + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal("lemma_sel"); + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + +} + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx.designer.cs new file mode 100644 index 0000000..e1d042f --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_vocabolario.ascx.designer.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_vocabolario { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// btnNewLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnNewLemma; + + /// + /// txtNewLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNewLemma; + + /// + /// TBW_newLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.TextBoxWatermarkExtender TBW_newLemma; +} diff --git a/Projects/WebGIM/GIM_site/adminDB.aspx b/Projects/WebGIM/GIM_site/adminDB.aspx new file mode 100644 index 0000000..25bc901 --- /dev/null +++ b/Projects/WebGIM/GIM_site/adminDB.aspx @@ -0,0 +1,135 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSimple.master" AutoEventWireup="true" Inherits="adminDB" Codebehind="adminDB.aspx.cs" %> + + +
+
+

+ Amministrazione Database Applicazione

+

+ Di seguito sono riportate le opzioni attive per l'amministrazione del DB dell'applicazione + corrente

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ DB Produzione + + +
+ + + Crea DB di produzione dell'Applicazione +
+ (Crea da zero il DB dell'Applicazione) +
+ + + Aggiorna il DB di produzione per l'applicazione +
+ (solo se Db in produzione è più vecchio della versione richiesta) +
+ DB Test +
+ + + Reimposta il DB di test +
+ (per verifica procedure creazione DB da zero alla versione corrente) +
+ + + Aggiorna il DB di test per l'applicazione eseguendo gli step indicati +
+ dalla versione alla versione +
+ DB Vocabolario + + +
+ + + Crea DB Vocabolario +
+ (Crea da zero il DB vocabolario) +
+ + + Aggiorna DB Vocabolario +
+ (Aggiorna all'ultima versione il DB vocabolario) +
+ DB Anagrafica + + +
+ + + Crea DB Anagrafica +
+ (Crea da zero il DB Anagrafica) +
+ + + Aggiorna DB Anagrafica +
+ (Aggiorna all'ultima versione il DB Anagrafica) +
+ +
+
+
diff --git a/Projects/WebGIM/GIM_site/adminDB.aspx.cs b/Projects/WebGIM/GIM_site/adminDB.aspx.cs new file mode 100644 index 0000000..7511e86 --- /dev/null +++ b/Projects/WebGIM/GIM_site/adminDB.aspx.cs @@ -0,0 +1,234 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class adminDB : System.Web.UI.Page +{ + /// + /// versioni db in prod/richiesti + /// + protected int appDB_act, appDB_req, vocDB_act, vocDB_req, anaDB_act, anaDB_req; + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + // calcolo versioni db + calcolaVersioniDb(); + // aggiorno labels + lblResult.Text = ""; + lblDbAppVers.Text = string.Format("Versione DB Installata: {0} / Richiesta: {1}", appDB_act, appDB_req); + lblDbVocVers.Text = string.Format("Versione DB Installata: {0} / Richiesta: {1}", vocDB_act, vocDB_req); + lblDbAnaVers.Text = string.Format("Versione DB Installata: {0} / Richiesta: {1}", anaDB_act, anaDB_req); + // setto abilitazione dei buttons... + setButtonState(); + // compilo step x update area di test... + if (!Page.IsPostBack) + { + txtStepFrom.Text = "0"; + txtStepTo.Text = appDB_req.ToString(); + } + } + /// + /// calcola le versioni dei db in uso e richiesti + /// + private void calcolaVersioniDb() + { + appDB_act = TA_app.obj.appDB_act; + appDB_req = TA_app.obj.appDB_req; + vocDB_act = TA_app.obj.vocDB_act; + vocDB_req = TA_app.obj.vocDB_req; + anaDB_act = TA_app.obj.anaDB_act; + anaDB_req = TA_app.obj.anaDB_req; + } + /// + /// setta abilitazione dei buttons + /// + private void setButtonState() + { + // check abilitazione creazione db + if (appDB_act < 0) + { + btnCreaDbProd.Enabled = true; + } + else + { + btnCreaDbProd.Enabled = false; + } + if (vocDB_act < 0) + { + btnCreaVocab.Enabled = true; + } + else + { + btnCreaVocab.Enabled = false; + } + if (anaDB_act < 0) + { + btnCreaAnag.Enabled = true; + } + else + { + btnCreaAnag.Enabled = false; + } + // check update db + if (appDB_req > appDB_act) + { + btnUpdDbProd.Enabled = true; + } + else + { + btnUpdDbProd.Enabled = false; + } + if (vocDB_req > vocDB_act) + { + btnUpdVocab.Enabled = true; + } + else + { + btnUpdVocab.Enabled = false; + } + if (anaDB_req > anaDB_act) + { + btnUpdAnag.Enabled = true; + } + else + { + btnUpdAnag.Enabled = false; + } + } + + #region buttons Applicazione + + /// + /// crea da zero db applicazione + /// + /// + /// + protected void btnCreaDbProd_Click(object sender, EventArgs e) + { + lblResult.Text = "Funzione disattivata"; +#if false + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("AppConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("GIM", 0, 0, 600); + lblResult.Text = "Creato DB di produzione!"; +#endif + } + /// + /// update del db in produzione + /// + /// + /// + protected void btnUpdDbProd_Click(object sender, EventArgs e) + { + // faccio update SOLO se la versione corrente del db è precedente a quella richiesta... + if (appDB_act < appDB_req) + { + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("AppConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("GIM", appDB_act + 1, appDB_req, 600); + lblResult.Text = "Aggiornato DB di produzione!"; + } + else + { + lblResult.Text = "DB di produzione è up-to-date!"; + } + } + /// + /// rigenerazione db in test + /// + /// + /// + protected void btnResetDbTest_Click(object sender, EventArgs e) + { + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("TestAppConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("GIM", 0, appDB_req, 600); + lblResult.Text = "Rigenerato il DB di test!"; + } + /// + /// esegue gli step di update richeisti sul db di test + /// + /// + /// + protected void btnDoReqUpdDbTest_Click(object sender, EventArgs e) + { + int from = 0; + int to = appDB_req; + if (Convert.ToInt32(txtStepFrom.Text) > from) from = Convert.ToInt32(txtStepFrom.Text); + if (Convert.ToInt32(txtStepTo.Text) < to) to = Convert.ToInt32(txtStepTo.Text); + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("TestAppConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("GIM", from, to, 600); + lblResult.Text = "Eseguiti gli step per il DB di test!"; + } + + #endregion + + #region buttons Vocabolario ed Anagrafica + + /// + /// creo il db del vocabolario + /// + /// + /// + protected void btnCreaVocab_Click(object sender, EventArgs e) + { + lblResult.Text = "...non implementato..."; +#if false + // !!!FARE!!! + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("VocabolarioConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("VOC", 0, 0, 600); + lblResult.Text = "Creato DB Vocabolario!"; +#endif + } + /// + /// aggiorna il db del vocabolario + /// + /// + /// + protected void btnUpdVocab_Click(object sender, EventArgs e) + { + lblResult.Text = "...non implementato..."; +#if false + // !!!FARE!!! + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("VocabolarioConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("VOC", 1, memLayer.ML.confReadInt("dbVocabVers"), 600); + lblResult.Text = "Aggiornato DB Vocabolario!"; +#endif + } + /// + /// crea il db di anagrafica + /// + /// + /// + protected void btnCreaAnag_Click(object sender, EventArgs e) + { + lblResult.Text = "...non implementato..."; +#if false + // !!!FARE!!! + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("UtenteCdcConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("ANA", 0, 0, 600); + lblResult.Text = "Creato DB Anagrafica!"; +#endif + } + /// + /// update dell'anagrafica + /// + /// + /// + protected void btnUpdAnag_Click(object sender, EventArgs e) + { + lblResult.Text = "...non implementato..."; +#if false + // !!!FARE!!! + dbUpdateManager dum = new dbUpdateManager(memLayer.ML.confReadString("UtenteCdcConnectionString"), "sql", "{0}_{1:0000}.sql"); + dum.updateDbToRev("ANA", 1, memLayer.ML.confReadInt("dbAuthVers"), 600); + lblResult.Text = "Aggiornato DB Anagrafica!"; +#endif + } + + #endregion +} diff --git a/Projects/WebGIM/GIM_site/adminDB.aspx.designer.cs b/Projects/WebGIM/GIM_site/adminDB.aspx.designer.cs new file mode 100644 index 0000000..835108c --- /dev/null +++ b/Projects/WebGIM/GIM_site/adminDB.aspx.designer.cs @@ -0,0 +1,140 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class adminDB { + + /// + /// lblDbAppVers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDbAppVers; + + /// + /// btnCreaDbProd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreaDbProd; + + /// + /// btnUpdDbProd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnUpdDbProd; + + /// + /// btnResetDbTest control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnResetDbTest; + + /// + /// btnDoReqUpdDbTest control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDoReqUpdDbTest; + + /// + /// txtStepFrom control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtStepFrom; + + /// + /// txtStepTo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtStepTo; + + /// + /// lblDbVocVers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDbVocVers; + + /// + /// btnCreaVocab control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreaVocab; + + /// + /// btnUpdVocab control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnUpdVocab; + + /// + /// lblDbAnaVers control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDbAnaVers; + + /// + /// btnCreaAnag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreaAnag; + + /// + /// btnUpdAnag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnUpdAnag; + + /// + /// lblResult control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblResult; +} diff --git a/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx b/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx new file mode 100644 index 0000000..4e61668 --- /dev/null +++ b/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx @@ -0,0 +1,8 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="anagAmbitiGuasto" Codebehind="anagAmbitiGuasto.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_anagAmbitiGuasto.ascx" tagname="mod_anagAmbitiGuasto" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx.cs b/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx.cs new file mode 100644 index 0000000..22362a8 --- /dev/null +++ b/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class anagAmbitiGuasto : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx.designer.cs b/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx.designer.cs new file mode 100644 index 0000000..6915d95 --- /dev/null +++ b/Projects/WebGIM/GIM_site/anagAmbitiGuasto.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class anagAmbitiGuasto { + + /// + /// mod_anagAmbitiGuasto1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_anagAmbitiGuasto mod_anagAmbitiGuasto1; +} diff --git a/Projects/WebGIM/GIM_site/aperturaImpianti.aspx b/Projects/WebGIM/GIM_site/aperturaImpianti.aspx new file mode 100644 index 0000000..2db0dc2 --- /dev/null +++ b/Projects/WebGIM/GIM_site/aperturaImpianti.aspx @@ -0,0 +1,8 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="aperturaImpianti" Codebehind="aperturaImpianti.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_aperturaImpianti.ascx" tagname="mod_aperturaImpianti" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/aperturaImpianti.aspx.cs b/Projects/WebGIM/GIM_site/aperturaImpianti.aspx.cs new file mode 100644 index 0000000..8fe3bf0 --- /dev/null +++ b/Projects/WebGIM/GIM_site/aperturaImpianti.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class aperturaImpianti : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/aperturaImpianti.aspx.designer.cs b/Projects/WebGIM/GIM_site/aperturaImpianti.aspx.designer.cs new file mode 100644 index 0000000..4ec83d1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/aperturaImpianti.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class aperturaImpianti { + + /// + /// mod_aperturaImpianti1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_aperturaImpianti mod_aperturaImpianti1; +} diff --git a/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx b/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx new file mode 100644 index 0000000..c2a9709 --- /dev/null +++ b/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="assegnazioniMacchineImpianti" Codebehind="assegnazioniMacchineImpianti.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_assegnazioniMacchineImpianti.ascx" tagname="mod_assegnazioniMacchineImpianti" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx.cs b/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx.cs new file mode 100644 index 0000000..f2e735e --- /dev/null +++ b/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class assegnazioniMacchineImpianti : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx.designer.cs b/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx.designer.cs new file mode 100644 index 0000000..a57238b --- /dev/null +++ b/Projects/WebGIM/GIM_site/assegnazioniMacchineImpianti.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class assegnazioniMacchineImpianti { + + /// + /// mod_assegnazioniMacchineImpianti1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_assegnazioniMacchineImpianti mod_assegnazioniMacchineImpianti1; +} diff --git a/Projects/WebGIM/GIM_site/autoEnroll.aspx b/Projects/WebGIM/GIM_site/autoEnroll.aspx new file mode 100644 index 0000000..60d1a93 --- /dev/null +++ b/Projects/WebGIM/GIM_site/autoEnroll.aspx @@ -0,0 +1,55 @@ +<%@ Page Language="C#" AutoEventWireup="true" Inherits="autoEnroll" Codebehind="autoEnroll.aspx.cs" %> + + + + + + + +
+
+

+ Registrazione nuovo utente +

+ + + + + + + + + + + + + + + + +
+ Cognome: + + + +
+ Nome: + + + +
+ email: + + + +
+ +
+
+
+ + diff --git a/Projects/WebGIM/GIM_site/autoEnroll.aspx.cs b/Projects/WebGIM/GIM_site/autoEnroll.aspx.cs new file mode 100644 index 0000000..66f0a2c --- /dev/null +++ b/Projects/WebGIM/GIM_site/autoEnroll.aspx.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class autoEnroll : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } + protected void btnSave_Click(object sender, EventArgs e) + { + // salva il nuovo utente in anagrafica e gli da i diritti di base + bool answ = false; + string ad_name = Page.User.Identity.Name; + string delimStr = "\\"; + char[] delimiter = delimStr.ToCharArray(); + string[] dom_user = ad_name.Split(delimiter, 2); + try + { + logger.lg.scriviLog(String.Format("inserimento utente con i seguenti parametri:\r\n dominio:{0}\r\n username: {1}\r\n cognome: {2}\r\n nome: {3}\r\n cdc: {4}\r\n email: {5}\r\n matricola: {6}\r\n sigla: {7}", dom_user[0], dom_user[1], txtCognome.Text, txtNome.Text, memLayer.ML.confReadString("autoEnrollCdc"), txtEmail.Text, "999", "-"), tipoLog.INFO); + answ = user_std.UtSn.creaUtente(dom_user[0], dom_user[1], txtCognome.Text, txtNome.Text, memLayer.ML.confReadString("autoEnrollCdc"), txtEmail.Text, "999", "-"); + } + catch + { } + try + { + logger.lg.scriviLog(String.Format("inserimento diritto utente con i seguenti parametri:\r\n username:{0}\r\n cdc: {1}\r\n modulo: {2}\r\n funzione: {3}\r\n potere di acq: {4}", dom_user[1], memLayer.ML.confReadString("autoEnrollCdc"), memLayer.ML.confReadString("autoEnrollModulo"), memLayer.ML.confReadString("autoEnrollFunzione"), ""), tipoLog.INFO); + answ = user_std.UtSn.assegnaDirittoUtente(dom_user[1], memLayer.ML.confReadString("autoEnrollCdc"), memLayer.ML.confReadString("autoEnrollModulo"), memLayer.ML.confReadString("autoEnrollFunzione")); + } + catch + { } + if (answ) + { + logger.lg.scriviLog(String.Format("Registrato nuovo utente con autoenroll: {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.INFO); + Response.Redirect("./menu.aspx"); + } + else + { + logger.lg.scriviLog(String.Format("Utente non autorizzato: {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.WARNING); + Response.Redirect("./unauthorized.aspx"); + } + } +} diff --git a/Projects/WebGIM/GIM_site/autoEnroll.aspx.designer.cs b/Projects/WebGIM/GIM_site/autoEnroll.aspx.designer.cs new file mode 100644 index 0000000..1ce68ef --- /dev/null +++ b/Projects/WebGIM/GIM_site/autoEnroll.aspx.designer.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class autoEnroll { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// txtCognome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCognome; + + /// + /// rfvCognome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvCognome; + + /// + /// txtNome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNome; + + /// + /// rfvNome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvNome; + + /// + /// txtEmail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtEmail; + + /// + /// rfvEmail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvEmail; + + /// + /// btnSave control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSave; +} diff --git a/Projects/WebGIM/GIM_site/bin/AjaxControlToolkit.dll b/Projects/WebGIM/GIM_site/bin/AjaxControlToolkit.dll new file mode 100644 index 0000000..0f57b2a Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/AjaxControlToolkit.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/GIM_data.dll b/Projects/WebGIM/GIM_site/bin/GIM_data.dll new file mode 100644 index 0000000..a3d4864 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/GIM_data.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/GIM_site.dll b/Projects/WebGIM/GIM_site/bin/GIM_site.dll new file mode 100644 index 0000000..69c86ff Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/GIM_site.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/ICSharpCode.SharpZipLib.dll b/Projects/WebGIM/GIM_site/bin/ICSharpCode.SharpZipLib.dll new file mode 100644 index 0000000..e829ebf Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/ICSharpCode.SharpZipLib.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/SteamWare.XML b/Projects/WebGIM/GIM_site/bin/SteamWare.XML new file mode 100644 index 0000000..bb36e2b --- /dev/null +++ b/Projects/WebGIM/GIM_site/bin/SteamWare.XML @@ -0,0 +1,3104 @@ + + + + SteamWare + + + + + Represents a strongly typed in-memory cache of data. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + classe con funzioni specifiche di calcolo + + + + + inizializzazione classe + + + + + elenco dei caratteri base 36: 0..9A..Z + + + + + + converte da base di dimensione nBase a valore intero + + valore in formato nBase + base, max 36 (0..9A..Z) + + + + + metodo di accesso singleton + + + + + Summary description for selettori + + + + + + + + + + + + + + + carica i dati CdC se in cache o da TableAdapter + + + + + restituisce l'elenco di tutti i cdc + + + + + + restituisce l'elenco di tutti i cdc della gerarchia dell'utente + + + + + + classe gestione logging esteso di eventi e note utente (correlabili) + + + + + TableAdapter di accesso alla tabella anagrafica filtraggi + + + + + TableAdapter di accesso alla tabella anagrafica record + + + + + TableAdapter di accesso alla tabella logging record di eventi + + + + + TableAdapter di accesso alla tabella logging utente + + + + + TableAdapter di accesso alla vista logging eventi + + + + + TableAdapter di accesso alla vista logging utente + + + + + effettua setup dei connection strings da web.config delal singola applicazione + + + + + avvio i tari tableAdapters + + + + + avvio della classe istanziando db e + + + + + oggetto statico di accesso ai metodi della classe... + + + + + tabella eventi + + + + + + tabella note + + + + + + tabella eventi secondo filtro + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + + + + + tabella note secondo filtro + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + + + + + tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" + + + + + tabella note secondo filtro e condizione ulteriore WHERE esplicitata + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" + + + + + tabella note secondo filtro + + filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento + + + + + inserisce l'evento indicato dai parametri + + user che ha generato l'evento + pagina/form applicaizone in cui l'evento si è generato + valore originale(se c'è) + valore nuovo/modificato + descrizione evento (poi gestita con anagrafica interna) + filtro logico evento (poi gestita con anagrafica interna) + + + + inserisce la nota utente indicata dai parametri, restituisce idx della nota creata... + + user che ha inserito la nota + testo della nota + valore ulteriore da associare alla nota (es: label, codice, versione, ...) + filtro logico evento (poi gestita con anagrafica interna) + intero dell'idx della nota creata + + + + associa l'evento e la nota indicati + + idx del record da associare + idx chiave della nota da associare + + + + associa l'ultimo evento del filtro indicato alla nota + + filtro associato all'ultimo evento... + idx chiave della nota da associare + + + + segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati + + utente generatore dell'evento + + + + segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati + + utente generatore dell'evento + + + + Elimina gli eventi cestinati generati dall'utente indicato + + utente generatore dell'evento + + + + Elimina gli eventi cestinati anteriori alla data selezionata + + dataOra dell'evento + + + + effettua la registrazione dell'evento in session + + + + + metodo di comportamento del controllo di logging + + + + + nasconde pannello log + + + + + memorizza log inserito + + + + + mostra pannello log + + + + + metodo di comportamento del controllo di logging + + + + + indica il primo step del doppio livello di approvazione (completamento) + + + + + SOLO con incremento indice di revisione dell'oggetto approvato + + + + + SOLO mantenendo indice di revisione corrente + + + + + permette SIA con revisione che senza (e anche rev -1) + + + + + classe di wrap verso i TableAdapter impiegati + + + + + metodo protected di avvio della classe + + + + + procedura di avvio dei tableAdapter + + + + + procedura di avvio dei tableAdapter + + + + + effettua setup dei connection strings da web.config delal singola applicazione + + + + + effettua setup dei connection strings da web.config delal singola applicazione + + + + + setup delle tabelle vocabolario + + + + + prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary + + + + + + tableAdapter diritti + + + + + tableAdapter permessi + + + + + tableAdapter funzione + + + + + tableAdapter permessi2funzione + + + + + tableAdapter CdC + + + + + tableAdapter utenti + + + + + table adapter lingue + + + + + table adapter vocabolario + + + + + table adapter versione vocabolario + + + + + table adapter versione anagrafica + + + + + oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione + + + + + resetta il vocabolario rileggendo i dati... + + + + + crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--" + + + + + + + classe singleton x la gestione dei tableadapters + + + + + elenco lingue ammesse da vocabolario... + + + + + struttura di comando da input utente (es: via barcode) + + + + + definisce se il comando sia valido o no + + + + + testo da mostrare dato il comando + + + + + comando registrato + + + + + comando precedentemente inserito + + + + + descrizione del comando + + + + + descrizione del comando precedente + + + + + valore del comando + + + + + valore tradotto del comando + + + + + costruttore del metodo... + + + + + Pagina base applicazioni SteamWare da cui derivare le altre + + + + + Iniziazlizzazione void (non fa nulla) + + + + + Metodo MAIN: viene eseguita al caricamento ed effettua delle routines per il controllo utente e istanzia l'oggetto memLayer + + + + + + + rimanda alla pagina di Work In Progress salvando in session un titolo ed una descrizione che al pagina wip poi mostrerà all'utente + + titolo da mostrare nella pagina WIP + descrizione da mostrare nella pagina WIP + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents a strongly typed in-memory cache of data. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + tipo di chart (2D/3D) + + + + + 2D + + + + + 3D + + + + + web control che disegna un grafico a torta + + + + + altezza di default + + + + + larghezza di default + + + + + padding di default + + + + + legenda visibile di default + + + + + soglia minima 5% per mostrare il dato + + + + + renderizza il contenuto + + + + + + disegna la leggenda html laterale... + + + + + + disegna piechart 2-dim + + + + + + disegna piechart 3d ellittica + + + + + + traduce la stringa colore in oggetto colore + + + + + + + converte intero a stringa esadecimale + + + + + + + converte stringa esadecimale a intero + + + + + + + tipo di grafico (2D/3D) + + + + + ampiezza del grafico + + + + + altezza del grafico + + + + + padding grafico/container + + + + + boolean se si debba mostrale la legenda + + + + + percentuale minima da mostrare + + + + + serie di dati (tipizzata) ma mostrare + + + + + testo associato al controllo + + + + + layer gestione vari tipi di memoria: cache, session... + + + + + lettore file configurazione + + + + + oggetto singleton x accesso al layer di memoria + + + + + classe gestione accessi a Session, cache, viewstate, configuration... + + + + + legge dalla config un valore bool + + + + + + + legge dalla config un valore string + + + + + + + legge dalla config un valore int + + + + + + + carica dalla sessione un dato di tipo object generico + + + + + + + carica dalla sessione un dato di tipo boolean (se vuoto false) + + + + + + + carica dalla sessione un dato di tipo string + + + + + + + carica dalla sessione un dato di tipo long + + + + + + + carica dalla sessione un dato di tipo int + + + + + + + inserisce in session un valore + + + + + + + salvo un valore come cookie + + + + + + + + restituisco un valore da cookie + + + + + + + inserisce in session un valore + + nome della variabile + valore associato + indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd) + + + + + svuota una variabile dalla session + + + + + + restituisce true se è presente in session l'oggetto richiesto + + + + + + + carica dalla Cache un dato di tipo object generico + + + + + + + carica dalla Cachee un dato di tipo boolean (se vuoto false) + + + + + + + carica dalla Cachee un dato di tipo string + + + + + + + inserisce in Cache un valore + + nome della variabile + valore + + + + inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update.. + + nome della variabile + valore + da registrare come tabella da svuotare on update? + + + + + svuota una variabile dalla Cache + + + + + + restituisce true se è presente in cache l'oggetto richiesto + + + + + + + aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update + + + + + + aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...) + + + + + + + forza lo svuotamento delel tabelle indicate come in cache... + + + + + elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... + + + + + elenco dictionary dei valori in session da NON aggiornare con update... + + + + + classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali + + + + + valore originale + + + + + nuovo valore + + + + + dictionary dei parametri vecchi + + + + + dictionary dei parametri nuovi + + + + + inizializzazione classe + + + + + valorizza i diff dei valori old e new + + + + + calcola solo il vettore dei valori old (x delete) + + + + + oggetto statico per il confronto valori + + + + + stringa diff dei valori originali modificati + + + + + stringa diff dei valori nuovi modificati + + + + + dictionary dei parametri old + + + + + dictionary dei parametri new + + + + + Base class for every user control in the application, containing some common + behaviour and utility methods. + It is not meant to be be used directly. + + + + + tipo id controllo con classi di base comune da cui derivare gli *.asmx + + + + + nome della pagina correntemente caricata + + + + + memorizza la pagina precedente (ovvero la corrente ma non da page-object ma in session... + + + + + stringa con CDC in (...) dei cdc abilitati (da permesso gerarchicamente a discendere...) + + + + + stringa con elenco CDC abilitati (da permesso gerarchicamente a discendere...) + + + + + tabella diritti + + + + + tabella di tutti i cdc + + + + + tipo di anagrafica usata + + + + + importo il tipo di vista del modulo + + + + + elenco testuale csv dei cdc accessibili all'utente (x filtri tipo IN(...)) + + + + + numero di righe standard x i datagrid + + + + + numero di righe standard x i datagrid di anagrafica + + + + + numero di righe standard x i datagrid lunghi + + + + + numero di righe standard x i datagrid medi + + + + + numero di righe standard x i datagrid su mezza pagina + + + + + numero di righe standard x i selettori popup + + + + + indirizzo email dell'admin applicativo cui vanno le email in caso di anomalie... + + + + + indirizzo email dell'applicativo da cui partono le email in caso di anomalie... + + + + + indirizzo server SMTP + + + + + elenco delle pagine "safe" ovvero da non autorizzare - da web.config + + + + + elenco delle pagine "common" ovvero da autorizzare ma senza bisogno diritti in anagrafica - da web.config + + + + + valore che determina se è possibile forzare impersonificazioen utente... + + + + + livello di log (1-->5) + + + + + dir di logging + + + + + MAIN: esecuzione al caricamento del modulo delle routines di controllo utente e creazione pagina + + + + + + + predisposizione dati x pagina da cache/database a seconda della disponibilità in cache o refresh (B.1.4) + + + + + popola gli oggetti e le labels... (B.1.6) + + + + + disegna la pagina: prima i controlli poi il datagrid + + + + + aggiunge i link x i selettori + + + + + sistema i vari controlli della pagina + + + + + aggiorna eventuali datalist e datagrid + + + + + sistema tutte le labels traducendo i lemmi nella lingua utente ed in inglese + + + + + calcola come percentuale la radio dividendo/divisore + + + + + + + + limita una stringa al numero max di caratteri imposto + + + + + + + + Reads data from a stream until the end is reached. The + data is returned as a byte array. An IOException is + thrown if any of the underlying IO calls fail. + + The stream to read data from + The initial buffer length + + + + converte una data in formato aaaammgg in stringa gg/mm/aaaa + + + + + + + converte una data in formato aaaammgg in stringa aaaa-mm-gg + + + + + + + converte una stringa in formato gg/mm/aaaa in stringa(intero data) in formato aaaammgg + + + + + + + converte una datetime in un intero tipo yyyymmddhhmmss + + + + + + + formatta la data in formato dateTime in una data formato italiano come stringa gg/mm/aaaa + + + + + + + invia un alert jscript con messaggio indicato... + + messaggio dell'alert da mandare + + + + scrive immediatamente sulla pagina web il messaggio di avanzamento... + + + + + + restituisce una scringa formattata in testa e coda x essere un corretto comando javascript + + + + + + + invio email senza log + + + + + + + + + + invio email con log + + + + + + + + + + caricamento dati applicazione da sessione (B.1.3) + + + + + setup datamanagers... + + + + + reset update del modulo corrente + + + + + (ri)carica i dataset del modulo + + + + + verifica se tutti i dataset richiesti sono disponibili i cache + + + + + + salva nella cache i dataset caricati + + + + + carica dalla cache i dataset necessari + + + + + legge i valori standard x dataset e parametri + + + + + leggi i parametri di configurazione standard dell'applicativo + + + + + genera la stringa dei cdc autorizzati dell'utente + + + + + legge il dataset dei CdC + + + + + caricamento dati user da sessione (B.1.1) + + + + + verifica che l'utente abbia almeno un permesso per la pagina corrente altrimenti redirect ad unauthorized + + + + + salva in variabile pagina il nome della pagina corrente + + + + + selezione delle posizioni cdc autorizzate come stringa di filtraggio su POSIZIONE LIKE, se non ce ne fossero redirige su unauthorized.aspx + + + + + + risponde alla domanda se l'utente abbia permesso tipo writable (S) nel permessi2funzione + + + + + + verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio da accodare al filtro x CdC autorizzati + + condizione + tipo di eguaglianza + nome parametro + valore parametro + + + + + crea la stringa di filtraggio x data secondo modalità tipo inizio/fine/durante... + + + + + + crea la stringa di filtraggio x data secondo modalità tipo minoreUguale / uguale / maggioreUguale... + + + + + + verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio tipo LIKE x i campi inseriti separati da # SE valParam !="" + + + + + + + + esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi + + filtro con cui cercare i cdc (del tipo " (POSIZIONE LIKE 'T.1.2.3%') OR ... " + stringa di filtraggio ricostruita per l'elenco dei cdc fino a quel momento trovati + ultimo cdc trovato + cdc corrente + + + + + restituisce il cdc dell'utente data la sua matricola + + + + + + + restituisce l'utente AS dall'utente win + + + + + + + restituisce la descr del CdC + + + + + + + invia la stringa jscript di conferma pre-cancellazione + + + + + + restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" + + verrà usato x posizione {0}, tipo "view" + verrà usato x posizione {1}, tipo "_s.png" + + + + + restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" + + verrà usato x posizione {0}, tipo "view" + verrà usato x posizione {1}, tipo "_s.png" + tipo del file richiesto..." + + + + + effettua traduzione del lemma + + + + + + + effettua traduzione in inglese del lemma + + + + + + + definisce visibilità + + + + + + + effettua la registrazione degli eventi + + + + + effettua l'inserimento vero e proprio dell'evento letto dai valori in session x l'utente corrente... + + evento da loggare + valori originali + nuovi valori + filtro associato + + + + salva in sessione i valori indicati + + dictionary dei valori vecchi + dictionary dei valori nuovi + bool su abilitazione al log dell'oggetto + descrizione evento da loggare + filtro associato all'evento + restituisce il numero di elementi contenuti, -1 significa nessuna differenza... + + + + salva in sessione i valori per un oggetto che sta x essere eliminato + + dictionary dei valori vecchi + bool su abilitazione al log dell'oggetto + descrizione evento da loggare + filtro associato all'evento + restituisce il numero di elementi contenuti, -1 significa nessuna differenza... + + + + imposto il tipo di anagrafica del controlloS + + + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + legge e scrive in viewState la stringa di filtraggio... + + + + + variabile salvata in viewstate x la direzione del sorting + + + + + genera la stringa filtro x i cdc autorizzati x l'user + + + + + + tipo di vista del modulo + + + + + Accesso in lettura e scrittura al filesystem per gestione files upload e download + + + + + path di lavoro dei metodi leggi/scrivi + + + + + verifica esistenza directory ed eventualmente crea restituendo nome completo di "/" finale + + + + + + + restituisce una tab di files dato l'elenco dei files + + + + + + + setta le directory + + + + + + oggetto WebClient + + + + + inizializza il metodo alla cartella indicata + + + non serve +... x retrocompatibilità... + + + + metodo di avvio empty + + + + + cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile + + + + + + + cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile + + + + + + + + cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath + + + + + + + Legge i dati da uno stream fino a quando arriva alla fine. + I dati sono restituiti come un byte[] array. un eccezione IOException è + sollevata se una delle chiamate IO sottostanti fallisce. + + Lo stream da cui leggere + Lunghezza buffer iniziale (-1 = default 32k) + + + + verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo + + + + + + ottiene il dataset dei files presenti nella directory indicata esplicitamente + + dir da indicizzare... già mappata! ( es SteamwareStrings.getFilePath(...) ) + + + + + ottiene il dataset dei files presenti nella directory indicata all'istanziazione dell'oggetto + + + + + + ottiene il dataset dei files DEL TIPO "like {param}" presenti nella directory indicata all'istanziazione dell'oggetto + + + + + + elenco dei files come array di oggetti FileInfo + + + + + + elenco dei files come array di oggetti FileInfo filtrati per parametro + + + + + + + elimina la directory di lavoro se è dir virtuale mappata + + + + + + elimina tutti i files con la regexp indicata da una directory, true se cancellato almeno uno + + regexp selezione files in dir (* = tutti!!!) + + + + + verifica se il file indicato esista in workDir + + + + + + + elimina il file indicato dalla directory di lavoro + + + + + + + restituisce lo stream del file richiesto + + + + + + + restituisce la stringa letta dal file richiesto + + + + + + + scrive il file dallo stream byte[] inviato + + + + + + + + scrive il file dalla stringa inviata + + + + + + + + converte una string in un byte[] + + + + + + + converte un byte[] in una string + + + + + + + sposta il file da From a To... + + + + + + + + + copia il file da From a To... + + + + + + + + + copia il file da From a To... + + + + + + + + + + imposta la dir di lavoro + + + + + + imposta la dir di lavoro + + + non serve +... x retrocompatibilità... + + + + imposta la dir di lavoro impostandola dal mapPath corretto della web app... + + + + + + esegue un comando in shell + + + + + + + + + esegue un comando in shell + + + + + + + + + Scarica un file dall'url fornito nella directory indicata x il filemover col nome richiesto + + url del file + nome con cui salvare il file + + + + + comprime zip il file indicato + + + + + + + comprime zip i files corrispondenti alla RegExp indicata nella dir corrente + + Espressione ricerca, come *.txt + Nome del file zip da creare + + + + + calcola la dim della directory corrente... + + + + + + + elimina il file + vecchio + + + + + + + versione statica (singleton) del'oggetto fileMover + + + + + classe gesione log files applicazioni + + + + + directory base x logs + + + + + nome del file corrente + + + + + max mb di log da accumulare + + + + + singleton del logger + + + + + avvio del logger nella dir desiderata + + + + + avvio del logger nella dir desiderata + + + + + avvio del logger nella dir desiderata con il max di dati indicato + + + + + scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?) + + testo iniziale del log + + + + + scrive un messaggio di log con etichetta pre + + testo messaggio + tipo di log da registrare (etichetta [...]) + + + + + fornisce il nome del file in cui loggare (ed eventualmente crea...) + + + + + provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb + + + + + fornisce il file + vecchio + + + + + + + tipo di log ammesso + + + + + informazioni di debug + + + + + errori + + + + + eccezioni nell'esecuzione try/catch + + + + + errori fatali + + + + + informazioni opzionali + + + + + fase di avvio componente + + + + + avvisi + + + + + enumeratore modalità login + + + + + login AD normale + + + + + forza utente fornendo password + + + + + forza ad un utente standard scelto dall'elenco + + + + + enumeratore modalità scrittura tag siteMap + + + + + nodo di tipo iniziale - apertura + + + + + nodo di tipo foglia + + + + + nodo di tipo finale - chiusura + + + + + enumeratore tipi di anagrafica + + + + + tipo di anagrafica Brembo + + + + + tipo di anagrafica generica + + + + + tipo di vista del modulo + + + + + modalità selezione + + + + + modalità editing + + + + + tipologia di file immagine + + + + + formato gif (no alpha channel) + + + + + formato jpeg + + + + + formato png + + + + + tipo di immagini usate per le icone di comando in web applications + + + + + icona annulla (croce rossa) + + + + + icona approva (simbolo coccarda) + + + + + icona barcode in campo bianco + + + + + icona barcode in campo arancio + + + + + icona clona (magic wand) + + + + + icona converma (spunta verde) + + + + + icona elimina (cestino) + + + + + icona modifica (matita) + + + + + icona notepad (blocco note) + + + + + icona notepad + pdf (blocco note) + + + + + icona nuovo (segno +) + + + + + icona seleziona (lente) + + + + + icona semaforo giallo + + + + + icona semaforo rosso + + + + + icona semaforo verde + + + + + icona stampa (printer) + + + + + dimensione immagini usate per le icone di comando in web applications + + + + + formato piccolo + + + + + formato medio + + + + + formato grande + + + + + Represents a strongly typed in-memory cache of data. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Row event argument class + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + + + + definisce un intervalo di 2 date + + + + + data inizio + + + + + data fine + + + + + struttura orario ordinarie/strordinarie + + + + + ore ordinarie + + + + + ore straordinarie + + + + + classe di funzioni inerenti le date + + + + + inizializzazione empty + + + + + effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine + + + + + + + + oggetto mese precedente alla dataLilmite + + + + + + oggetto mese corrente fino alla dataLilmite + + + + + + confronta le date e restituisce true se le date sono nello stesso mese + + + + + + + + restituisce l'intervallo del giorno completo che comprende la data indicata + + + + + + + restituisce l'intervallo di N giorni fino alla data indicata + + + + + + + + restituisce l'intervallo della settimana corrente per la data indicata + + + + + + + restituisce l'intervallo del mese corrente per la data indicata + + + + + + + restituisce l'intervallo del mese che comprendela data indicata + + + + + + + restituisce l'intervallo dell'anno corrente per la data indicata + + + + + + + classe di gestione delle email + + + + + stringa nel nome DNS o dell'ip del server SMTP + + + + + metodo static per la gestione delle email + + + + + + metodo static per la gestione delle email + + + + + + + procedura invio email + + email mittente + email destinatario + oggetto dell'email + corpo del messaggio + + + + procedura invio email + scrittura in log! + + email mittente + email destinatario + oggetto dell'email + corpo del messaggio + + + + metodo singleton gestione email... + + + + + Tipo di comparazione, Binary == CaseSensitive, Text = insensitive + + + + + tipo controllo : binario + + + + + tipo controllo : text + + + + + Funzione di splitting compatibile con multi-character e multi-line + + + + + stringa da splittare + + + + + Delimiter con cui splittare + + + + + Costruttore dello Splitter + + + + + comparatore case sensitive + + + + + + + + comparatore case insensitive + + + + + + + + parte principale dello splitter + + stringa da splittare + delimitatore ricercato + true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base) + + 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive + + + + + elimina dal nome file il tipo (desinenza) + + + + + + + Classe di metodi che estendono quelli base applicati alle string + + + + + Trasforma in MAIUSCOLo il primo carattere della stringa + + stringa da processare + stringa processata + + + + restituisce la stringa completa e corretta del filepath del server (anche con vDir) + + path relativo alla cartella iis dell'applicativo + path fisico tradotto + + + + effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi + + + + + + + fornisce dati di base per l'utente + + + + + fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE + + + + + + + restituisce la riga completa dall'username richiesto + + + + + + + classe gestione utente: auth e permission/ruoli - versione GENERICA + + + + + cancella da session l'utente + + + + + carica la riga dati utente + + + + + Carica la tabella diritti dell'utente da db e salva in session + + + + + Carica la tabella diritti dell'utente da db e salva in session SOLO per il CDC indicato + + + + + + Effettua setup dei permessi una volta salvati i diritti + + + + + imposta la lingua utente dal valore della riga DB + + + + + costruisce la mappa del sito per l'utente + + + + + formatta un nodo in modo corretto dai dati indicati + + + + + + + + + inizializza la gestione utente... + + + + + traduce il lemma nella lingua dell'user corrente + + + + + + + traduce il lemma in inglese + + + + + + + traduce il lemma nella lingua dell'user e in inglese tra parentesi + + + + + + + Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati + + + + + + + + Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati CON I DIRITTI SOLO per il CDC indicato + + + + + + + + + salva dati accessori quali il cdc dell'utente... + + + + + verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta + + + + + + + verifica le credenziali AD dell'utente... + + + + + + + + conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 + + + + + + + verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') + + + + + + + ricarica e ri-traduce la mappa sito per l'utente... + + + + + retituisce il nome apgina dai permessi utente + + + + + + restituisce cognome e nome di un utente dato username... + + username + + + + + restituisce cognome e nome di un utente data la matricola... + + matricola + + + + + restituisce cognome e nome di un utente dato username e dominio... + + username + dominio + + + + + restituisce cognome e nome di un utente dato username... + + username + + + + + restituisce cognome e nome di un utente dato username e dominio... + + username + dominio + + + + + restituisce cognome e nome di un utente dato username eventualmente comprensivo di dominio... + + {dominio\}userName + + + + + restituisce l'elenco delle funzioni abilitate dato modulo ed username partendo dalla radice dell'albero dei diritti + + + + + + + + restituisce l'elenco degli utenti dato i diritti che devono avere come modulo/funzione + + nome del modulo + nome della funzione + tabella utenti + + + + restituisce l'elenco delle email degli utenti dato i diritti che devono avere come modulo/funzione + + nome del modulo + nome della funzione + stringa di email separate da "," + + + + crea un nuovo utente con le credenziali indicate + + + + + + + + + + + + assegna il diritto all'utente indicato + + + + + + + + + + + toglier il diritto all'utente indicato + + + + + + + + + + + restituisce la tabella (per utente corrente) dei CDC abilitati per l'applicazione attuale da sessione (se non c'è salva...) + + modulo di cui si testano i diritti + + + + + versione statica della classe utente come singleton UtenTeSignletoN + + + + + restituisce la tabella diritti da session + + + + + tabella dei permessi utente + + + + + tabella dei permessi utente di tipo "WRITE" enabled + + + + + retituisce username AD + + + + + oggetto utente con metodi get/set + + + + + oggetto dominio con metodi get/set + + + + + oggetto modulo (applicazione) con metodi get/set + + + + + oggetto lingua utente con metodi get/set + + + + + restituisce true se utente forzato da forceUser.aspx + + + + + restituisce i valori della riga utente da db + + + + + restituisce una stringa formattata con cognome, nome e matricola + + + + + restituisce una stringa della sigla dell'utente + + + + + restituisce una stringa formattata con cognome e nome + + + + + restituisce una stringa formattata con cognome + + + + + restituisce una stringa formattata con nome + + + + + fornisce un file XML della mappa del sito abilitato per l'utente... + + + + + è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... + + + + + classe di gestione dei db x creazione/update alla versione richiesta + + + + + oggetto connessione + + + + + stringa di connessione + + + + + dir che contiene gli script da eseguire... + + + + + formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql) + + + + + avvio protected della classe + + + + + esegue gli script di sql di update dal file richiesto + + + + + + + + Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo + + NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default + + nome DB di cui cercare script + revisione di partenza + revisione di arrivo + timeout max per ogni operazione + + + + + verifica se il db indicato esiste o meno... + + + + + + + + crea il db indicato con i parametri di connessione specificati + + + + + + + + classe di gestione lettura + + + + + esegue parsing fornendo dati ed headers + + + + + + + + esegue parsing fornendo dati + + + + + + + esegue parsing fornendo dati come stream + + + + + + + esegue parsing fornendo dati come stream ed headers + + + + + + + diff --git a/Projects/WebGIM/GIM_site/bin/SteamWare.dll b/Projects/WebGIM/GIM_site/bin/SteamWare.dll new file mode 100644 index 0000000..47ee469 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/SteamWare.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/System.Web.Ajax.dll b/Projects/WebGIM/GIM_site/bin/System.Web.Ajax.dll new file mode 100644 index 0000000..61515ec Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/System.Web.Ajax.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/ar/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/ar/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..e9d9d28 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/ar/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/cs/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/cs/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..29d72c0 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/cs/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/de/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/de/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..84ff3b9 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/de/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/es/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/es/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..8123499 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/es/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/fr/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/fr/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..2698d63 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/fr/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/he/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/he/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..9736f27 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/he/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/hi/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/hi/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..11120ac Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/hi/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/it/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/it/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..9c9e0c1 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/it/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/ja/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/ja/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..1b8ffcb Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/ja/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/ko/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/ko/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..7f761bb Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/ko/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/nl/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/nl/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..e3f72c6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/nl/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/pt/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/pt/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..d1e480f Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/pt/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/ru/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/ru/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..2107995 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/ru/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/tr-TR/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/tr-TR/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..3754b53 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/tr-TR/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/zh-CHS/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/zh-CHS/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..f966088 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/zh-CHS/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/zh-CHT/AjaxControlToolkit.resources.dll b/Projects/WebGIM/GIM_site/bin/zh-CHT/AjaxControlToolkit.resources.dll new file mode 100644 index 0000000..7979b96 Binary files /dev/null and b/Projects/WebGIM/GIM_site/bin/zh-CHT/AjaxControlToolkit.resources.dll differ diff --git a/Projects/WebGIM/GIM_site/calendChiusura.aspx b/Projects/WebGIM/GIM_site/calendChiusura.aspx new file mode 100644 index 0000000..0d25ab6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/calendChiusura.aspx @@ -0,0 +1,11 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="calendChiusura" Codebehind="calendChiusura.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_calChiusura.ascx" tagname="mod_calChiusura" tagprefix="uc1" %> + +<%@ Register Src="~/WebUserControls/mod_fixCal.ascx" tagname="mod_fixCal" tagprefix="uc2" %> + + + + + + diff --git a/Projects/WebGIM/GIM_site/calendChiusura.aspx.cs b/Projects/WebGIM/GIM_site/calendChiusura.aspx.cs new file mode 100644 index 0000000..5eeafbc --- /dev/null +++ b/Projects/WebGIM/GIM_site/calendChiusura.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class calendChiusura : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/calendChiusura.aspx.designer.cs b/Projects/WebGIM/GIM_site/calendChiusura.aspx.designer.cs new file mode 100644 index 0000000..9667843 --- /dev/null +++ b/Projects/WebGIM/GIM_site/calendChiusura.aspx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class calendChiusura { + + /// + /// mod_fixCal1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_fixCal mod_fixCal1; + + /// + /// mod_calChiusura1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_calChiusura mod_calChiusura1; +} diff --git a/Projects/WebGIM/GIM_site/chLang.aspx b/Projects/WebGIM/GIM_site/chLang.aspx new file mode 100644 index 0000000..d3542c1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/chLang.aspx @@ -0,0 +1,13 @@ +<%@ Page Language="C#" MasterPageFile="~/MasterAjax.master" AutoEventWireup="true" + Inherits="chLang" Title="Untitled Page" Codebehind="chLang.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_chLang.ascx" TagName="mod_chLang" TagPrefix="uc1" %> + + + + + +
+ +
+
diff --git a/Projects/WebGIM/GIM_site/chLang.aspx.cs b/Projects/WebGIM/GIM_site/chLang.aspx.cs new file mode 100644 index 0000000..8d0ecbe --- /dev/null +++ b/Projects/WebGIM/GIM_site/chLang.aspx.cs @@ -0,0 +1,14 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class chLang : System.Web.UI.Page +{ +} diff --git a/Projects/WebGIM/GIM_site/chLang.aspx.designer.cs b/Projects/WebGIM/GIM_site/chLang.aspx.designer.cs new file mode 100644 index 0000000..9e0cbed --- /dev/null +++ b/Projects/WebGIM/GIM_site/chLang.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class chLang { + + /// + /// Mod_chLang1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_chLang Mod_chLang1; +} diff --git a/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx b/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx new file mode 100644 index 0000000..f3873d6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="dettaglioIntervento" Codebehind="dettaglioIntervento.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_dettaglioIntervento.ascx" TagName="mod_dettaglioIntervento" + TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_fixCal.ascx" TagName="mod_fixCal" TagPrefix="uc3" %> + + + + diff --git a/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx.cs b/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx.cs new file mode 100644 index 0000000..ce11c00 --- /dev/null +++ b/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class dettaglioIntervento : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + mod_dettaglioIntervento1.eh_chiudi += new EventHandler(mod_dettaglioIntervento1_eh_chiudi); + } + /// + /// resetto selezione, nascondo dettaglio + /// + /// + /// + void mod_dettaglioIntervento1_eh_chiudi(object sender, EventArgs e) + { + Response.Redirect("elencoRichieste.aspx"); + } +} diff --git a/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx.designer.cs b/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx.designer.cs new file mode 100644 index 0000000..a719f19 --- /dev/null +++ b/Projects/WebGIM/GIM_site/dettaglioIntervento.aspx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class dettaglioIntervento { + + /// + /// mod_dettaglioIntervento1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_dettaglioIntervento mod_dettaglioIntervento1; + + /// + /// mod_fixCal1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_fixCal mod_fixCal1; +} diff --git a/Projects/WebGIM/GIM_site/elencoRichieste.aspx b/Projects/WebGIM/GIM_site/elencoRichieste.aspx new file mode 100644 index 0000000..4c63a94 --- /dev/null +++ b/Projects/WebGIM/GIM_site/elencoRichieste.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="elencoRichieste" Codebehind="elencoRichieste.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_elencoRichieste.ascx" TagName="mod_elencoRichieste" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_dettaglioIntervento.ascx" TagName="mod_dettaglioIntervento" + TagPrefix="uc2" %> + <%@ Register Src="~/WebUserControls/mod_fixCal.ascx" tagname="mod_fixCal" tagprefix="uc3" %> + + + diff --git a/Projects/WebGIM/GIM_site/elencoRichieste.aspx.cs b/Projects/WebGIM/GIM_site/elencoRichieste.aspx.cs new file mode 100644 index 0000000..896d30a --- /dev/null +++ b/Projects/WebGIM/GIM_site/elencoRichieste.aspx.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class elencoRichieste : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + mod_elencoRichieste1.eh_selValore += new EventHandler(mod_elencoRichieste1_eh_selValore); + } + /// + /// selezione effettuata, mostro dettaglio + /// + /// + /// + void mod_elencoRichieste1_eh_selValore(object sender, EventArgs e) + { + Response.Redirect("dettaglioIntervento.aspx"); + } +} diff --git a/Projects/WebGIM/GIM_site/elencoRichieste.aspx.designer.cs b/Projects/WebGIM/GIM_site/elencoRichieste.aspx.designer.cs new file mode 100644 index 0000000..8437ff1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/elencoRichieste.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class elencoRichieste { + + /// + /// mod_elencoRichieste1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_elencoRichieste mod_elencoRichieste1; +} diff --git a/Projects/WebGIM/GIM_site/famiglieMacchine.aspx b/Projects/WebGIM/GIM_site/famiglieMacchine.aspx new file mode 100644 index 0000000..b6b673e --- /dev/null +++ b/Projects/WebGIM/GIM_site/famiglieMacchine.aspx @@ -0,0 +1,8 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="famiglieMacchine" Codebehind="famiglieMacchine.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_famiglieMacchine.ascx" tagname="mod_famiglieMacchine" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/famiglieMacchine.aspx.cs b/Projects/WebGIM/GIM_site/famiglieMacchine.aspx.cs new file mode 100644 index 0000000..346458b --- /dev/null +++ b/Projects/WebGIM/GIM_site/famiglieMacchine.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class famiglieMacchine : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/famiglieMacchine.aspx.designer.cs b/Projects/WebGIM/GIM_site/famiglieMacchine.aspx.designer.cs new file mode 100644 index 0000000..06d91a7 --- /dev/null +++ b/Projects/WebGIM/GIM_site/famiglieMacchine.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class famiglieMacchine { + + /// + /// mod_famiglieMacchine1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_famiglieMacchine mod_famiglieMacchine1; +} diff --git a/Projects/WebGIM/GIM_site/forceUser.aspx b/Projects/WebGIM/GIM_site/forceUser.aspx new file mode 100644 index 0000000..de4f380 --- /dev/null +++ b/Projects/WebGIM/GIM_site/forceUser.aspx @@ -0,0 +1,9 @@ +<%@ Page Language="C#" MasterPageFile="~/AjaxSimple.master" AutoEventWireup="true" + Inherits="forceUser" Title="Untitled Page" Codebehind="forceUser.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_login.ascx" TagName="mod_login" TagPrefix="uc1" %> + +
+ +
+
diff --git a/Projects/WebGIM/GIM_site/forceUser.aspx.cs b/Projects/WebGIM/GIM_site/forceUser.aspx.cs new file mode 100644 index 0000000..a245635 --- /dev/null +++ b/Projects/WebGIM/GIM_site/forceUser.aspx.cs @@ -0,0 +1,54 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class forceUser : System.Web.UI.Page +{ + protected string _nextPage + { + get + { + string pagina = SteamWare.memLayer.ML.StringSessionObj("nextPage"); + if (pagina == "") + { + pagina = "menu.aspx"; + } + return pagina; + } + } + + protected void Page_Load(object sender, EventArgs e) + { + Mod_login1.modoLogin = SteamWare.loginMode.forceUser; + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_login1.Login_ok += new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error += new EventHandler(Mod_login1_Login_Error); + } + + void Mod_login1_Login_Error(object sender, EventArgs e) + { + //Response.Redirect("./unauthorized.aspx"); + } + + void Mod_login1_Login_ok(object sender, EventArgs e) + { + Response.Redirect(_nextPage); + } + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + Mod_login1.Login_ok -= new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error -= new EventHandler(Mod_login1_Login_Error); + } +} diff --git a/Projects/WebGIM/GIM_site/forceUser.aspx.designer.cs b/Projects/WebGIM/GIM_site/forceUser.aspx.designer.cs new file mode 100644 index 0000000..c440714 --- /dev/null +++ b/Projects/WebGIM/GIM_site/forceUser.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class forceUser { + + /// + /// Mod_login1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_login Mod_login1; +} diff --git a/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx b/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx new file mode 100644 index 0000000..b8aaccc --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx @@ -0,0 +1,4 @@ +<%@ Page Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="gestAnagrTbl" Title="Untitled Page" Codebehind="gestAnagrTbl.aspx.cs" %> + + + diff --git a/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx.cs b/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx.cs new file mode 100644 index 0000000..b27923e --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx.cs @@ -0,0 +1,18 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class gestAnagrTbl : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx.designer.cs b/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx.designer.cs new file mode 100644 index 0000000..ce0a9a1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestAnagrTbl.aspx.designer.cs @@ -0,0 +1,14 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class gestAnagrTbl { +} diff --git a/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx b/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx new file mode 100644 index 0000000..bf982b4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx @@ -0,0 +1,8 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="gestUtentiGIM" Codebehind="gestUtentiGIM.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_gestUtentiGIM.ascx" tagname="mod_gestUtentiGIM" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx.cs b/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx.cs new file mode 100644 index 0000000..654fc22 --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class gestUtentiGIM : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx.designer.cs b/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx.designer.cs new file mode 100644 index 0000000..546779b --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestUtentiGIM.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class gestUtentiGIM { + + /// + /// mod_gestUtentiGIM1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_gestUtentiGIM mod_gestUtentiGIM1; +} diff --git a/Projects/WebGIM/GIM_site/gestioneCausali.aspx b/Projects/WebGIM/GIM_site/gestioneCausali.aspx new file mode 100644 index 0000000..b94b9a5 --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestioneCausali.aspx @@ -0,0 +1,8 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="gestioneCausali" Codebehind="gestioneCausali.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_gestCausali.ascx" tagname="mod_gestCausali" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/gestioneCausali.aspx.cs b/Projects/WebGIM/GIM_site/gestioneCausali.aspx.cs new file mode 100644 index 0000000..1c1eae8 --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestioneCausali.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class gestioneCausali : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/gestioneCausali.aspx.designer.cs b/Projects/WebGIM/GIM_site/gestioneCausali.aspx.designer.cs new file mode 100644 index 0000000..49650b6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/gestioneCausali.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class gestioneCausali { + + /// + /// mod_gestCausali1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_gestCausali mod_gestCausali1; +} diff --git a/Projects/WebGIM/GIM_site/help.aspx b/Projects/WebGIM/GIM_site/help.aspx new file mode 100644 index 0000000..ca8b9cc --- /dev/null +++ b/Projects/WebGIM/GIM_site/help.aspx @@ -0,0 +1,7 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="help" Codebehind="help.aspx.cs" %> + + +

+ +

+
diff --git a/Projects/WebGIM/GIM_site/help.aspx.cs b/Projects/WebGIM/GIM_site/help.aspx.cs new file mode 100644 index 0000000..a273eca --- /dev/null +++ b/Projects/WebGIM/GIM_site/help.aspx.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class help : System.Web.UI.Page +{ + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + protected void Page_Load(object sender, EventArgs e) + { + lnkHelp.Text = traduci("ApriManualeHelp"); + } +} diff --git a/Projects/WebGIM/GIM_site/help.aspx.designer.cs b/Projects/WebGIM/GIM_site/help.aspx.designer.cs new file mode 100644 index 0000000..51978f1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class help { + + /// + /// lnkHelp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink lnkHelp; +} diff --git a/Projects/WebGIM/GIM_site/help/content.css b/Projects/WebGIM/GIM_site/help/content.css new file mode 100644 index 0000000..9fa5d55 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/content.css @@ -0,0 +1,291 @@ +/* ------------------ styles for lm content, should be placed at a better place -------------- */ + +div.ilc_PageTitle +{ + margin-top: 5px; + margin-bottom: 20px; + font-size: 140%; + padding-bottom: 3px; + border-bottom-width: 1px; + border-bottom-style: solid; + border-color: #000000; +} + +div.ilc_BacklinkTitle +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 100%; + font-style: italic; + padding-top: 3px; + border-top-width: 1px; + border-top-style: solid; + border-color: #000000; +} + +span.ilc_Strong +{ + font-weight: bold; +} + +span.ilc_Emph +{ + font-style: italic; +} + +span.ilc_Comment +{ + color: green; +} + +span.ilc_Quotation +{ + color: brown; + font-style: italic; +} + +a.ilc_FootnoteLink +{ + color: blue; + font-weight: normal; +} + +a.ilc_FootnoteLink:hover +{ + color:#000000; +} + +div.ilc_Footnote +{ + margin-top: 5px; + margin-bottom: 5px; + font-style: italic; +} + +a.ilc_IntLink +{ + color: blue; + font-weight: normal; + text-decoration: underline; +} + +a.ilc_IntLink:hover +{ + color:#000000; +} + +a.ilc_IntLink:visited +{ + color: blue; +} + +a.ilc_ExtLink +{ + color: blue; + font-weight: normal; + text-decoration: underline; +} + +a.ilc_ExtLink:hover +{ + color:#000000; +} + +a.ilc_ExtLink:visited +{ + color: blue; +} + +div.ilc_LMNavigation +{ + background-color:#EEEEEE; + border-style: outset; + border-color: #EEEEEE; + border-width: 1px; + margin-top: 0px; +} + +div.ilc_Page +{ + background-color:#FFFFFF; + margin: 0px; + padding: 0px; +} + +table.ilc_Page +{ + background-color:#FFFFFF; +} + +td.ilc_Cell1 +{ + background-color:#FFCCCC; +} + +td.ilc_Cell2 +{ + background-color:#CCCCFF; +} + +td.ilc_Cell3 +{ + background-color:#CCFFCC; +} + +td.ilc_Cell4 +{ + background-color:#FFFFCC; +} + +div.ilc_Standard +{ + margin-top: 10px; + margin-bottom: 10px; +} + +div.ilc_TableContent +{ + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; + margin-bottom: 0px; + padding-top: 0px; + padding-bottom: 0px; + padding-left: 0px; + padding-right: 0px; +} + + +div.ilc_List +{ + margin-top: 3px; + margin-bottom: 3px; +} + +div.ilc_Headline1 +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 140%; +} + +div.ilc_Headline2 +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 130%; +} + +div.ilc_Headline3 +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 120%; +} + +div.ilc_Example +{ + margin-top: 10px; + margin-bottom: 10px; + padding-left: 20px; + border-left: 3px; + border-left-style: solid; + border-left-color: blue; +} + +div.ilc_Citation +{ + margin-top: 10px; + margin-bottom: 10px; + color: brown; + font-style: italic; +} + +div.ilc_Mnemonic +{ + margin-top: 10px; + margin-bottom: 10px; + margin-left: 20px; + margin-right: 20px; + padding: 10px; + border-width: 2px; + border-style: solid; + border-color: red; +} + +div.ilc_Additional +{ + margin-top: 10px; + margin-bottom: 10px; + padding: 10px; + border-width: 1px; + border-style: solid; + border-color: blue; +} + +div.ilc_Remark +{ + margin-top: 10px; + margin-bottom: 10px; + padding: 10px; + border-width: 1px; + border-style: solid; + border-color: #909090; + background-color:#F0F0F0; + text-align: center; +} + +/* +p.ilc_Code +{ + white-space: pre; +}*/ + +table.ilc_Media +{ + background-color: #F5F5F5; + padding: 0px; + margin: 10px; + border-width: 1px; + border-style: solid; + border-color: #B0B0B0; +} + +td.ilc_MediaCaption +{ + padding:5px; + font-size: 90%; +} + +div.ilc_Block { + border-width: 1px; + border-style: solid; + padding: 5px 10px; + margin: 10px 0px; + border-color: #A0A0A0; + background-color: #FFFFFF; + background-image: url(../../../templates/default/images/FramedBack.gif); + background-repeat:repeat-x; +} + +div.ilc_Special { + border-width: 1px; + border-style: solid; + padding: 5px 10px; + margin: 10px 0px; + border-color: #A0A0A0; + background-color: #FFF7F7; + background-image: url(../../../templates/default/images/SpecialBack.gif); + background-repeat:repeat-x; +} + +div.ilc_Excursus { + border-width: 1px; + border-style: solid; + padding: 5px 10px; + margin: 10px 0px; + border-color: #A0A0A0; + background-color: #F7FFF7; + background-image: url(../../../templates/default/images/ExcursusBack.gif); + background-repeat: repeat-x; +} diff --git a/Projects/WebGIM/GIM_site/help/delos.css b/Projects/WebGIM/GIM_site/help/delos.css new file mode 100644 index 0000000..bd8006d --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/delos.css @@ -0,0 +1,2223 @@ +/* -- for link pseudo-classes, respect order: Link, Visited, Hover, Active -- */ + +body { + color:#222222; + background-color:#FFFFFF; + font-family:Verdana,Arial,Helvetica,sans-serif; + margin:0px; + font-size:0.9em; +} + +body.il_Explorer { + color:#222222; + background-color:#FFFFFF; + font-family:Verdana,Arial,Helvetica,sans-serif; + margin:0px; + font-size:0.9em; +} + + +.btnbar { + background-color:#ffffff; + color:#ffffff; +} + +/* BEGIN WebDAV: Enable links with AnchorClick behavior for Internet Explorer. + * All skins which want to support mounting of Webfolders using Internet Explorer + * must explicitly enable AnchorClick behavior. + */ +a { + behavior: url(#default#AnchorClick); +} +/* END WebDAV: Enable links with AnchorClick behavior for Internet Explorer. */ + + +a.menu:link, a.menu:visited { + color:#a0c0ff; +} + +a.menu:hover { + color:#DDDDFF; +} + +a.offline, a.offline:visited +{ + font-style: italic; +} + +input { + font-family:Verdana,Arial,Helvetica,sans-serif; +} + +input.marked { + font-family:Verdana,Arial,Helvetica,sans-serif; + background: #FFFFCC; +} + + +input.fullwidth { + font-family:Verdana,Arial,Helvetica,sans-serif; + width: 98% +} + +input.fullwidth_marked { + font-family:Verdana,Arial,Helvetica,sans-serif; + width: 98%; + background: #FFFFCC +} + +/* ---------------- alternating tablerowcolors ----------------- */ + +/* +.tblrow2 { + background-color: #FFFFFF; + color:#222222; + padding:3px; + background-image: url(images/rowback.gif); + background-repeat:repeat-x; +} + +.tblrow1 { + background-color:#FFFFFF; + color:#222222; + padding:3px; + background-image: url(images/rowback.gif); + background-repeat:repeat-x; +}*/ + +.tblrow2 { + background-color: #F1F1F1; + color:#222222; + padding:3px; +} + +.tblrow1 { + background-color:#FFFFFF; + color:#222222; + padding:3px; +} + +.tblrow2_mo { + background-color: #F1F1F1; + color:#222222; + padding:3px; +} + +.tblrow1_mo { + background-color:#FFFFFF; + color:#222222; + padding:3px; +} + +.tblrow1_mo:hover, .tblrow2_mo:hover { + background-color:#D0D0FF; +} + + +.tblrow2light { + background-color:#F1F1F1; + color:#808080; + padding:3px; + vertical-align:top; +} + +.tblrow1light { + background-color:#FFFFFF; + color:#808080; + padding:3px; + vertical-align:top; +} + +.tblrowmarked { + background-color:#FFE4E4; + color:#222222; + padding:3px; +} + +.tblrow2top { + background-color:#F1F1F1; + color:#222222; + padding:3px; + vertical-align: top; +} + +.tblrow1top { + background-color:#FFFFFF; + color:#222222; + padding:3px; + vertical-align: top; +} + +.tblrowmarkedtop { + background-color:#FFE4E4; + color:#222222; + padding:3px; + vertical-align: top; +} + +/* -------------------- table formatting ------------------ */ + +table { + font-size: 100%; +} + +table.std { + color:#222222; + background-color:#bbbbbb; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; +} + +table.fullwidth { + color:#222222; + background-color:#bbbbbb; + width:100%; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; +} + +table.halfwidth { + color:#222222; + background-color:#bbbbbb; + width:50%; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; +} + +table.ilPDSelectedItemBlock { + color:#222222; + background-color:#bbbbbb; + width:100%; + border-spacing:1px; + border-width:0px; +} + +td.il_BlockFooter { + color:#222222; + background-color:#DCDCDC; + text-align:right; + font-size: 80%; + padding:2px; +} + +table.fullwidth_nowrap { + color:#222222; + background-color:#bbbbbb; + width:100%; + border-spacing:1px; + white-space: nowrap; +} + +table.fullwidth_invisible { + color:#222222; + background-color:#FFFFFF; + width:100%; + border-spacing:0px; +} + +table.nobackground { + color: #000000; + background-color: inherit; + border-spacing:0px; + padding: 3px; +} + +td.nobackground { + color: #000000; + background-color: inherit; + border-spacing:0px; + border: none; + padding: 3px; + vertical-align: top; +} + +th +{ + text-align: left; + vertical-align: bottom; +} + +td.std, th.std { + padding:2px; + text-align: left; +} + +th.il_invisible, td.il_invisible { + background-color:#FFFFFF; + background-image: none; +} + +.tbltitle { + color:#222222; + font-weight:bold; + background-color: #EDEDED; + background-image: url(images/TableHeader.gif); + background-repeat:repeat-x; +} + +tr.tbltitle { + border-bottom-width:1px; + border-bottom-color:#9EADBA; + border-bottom-style:solid; +} + +.tblheader { + color: #000000; + font-weight:bold; +} + +tr.tblheader { + color:#000000; + font-weight:bold; + background-color: #E2EAF4; + background-image:url(images/TableHeaderBlue.gif); + background-repeat:repeat-x; + + border-top-width:1px; + border-top-color:#9EADBA; + border-top-style:solid; + +} + +.tblfooter { + color: #000000; + font-weight:normal; + border-bottom-width:1px; + border-bottom-color:#9EADBA; + border-bottom-style:solid; +} + +tr.tblfooter { + color:#000000; + font-weight:normal; + background-color:#EDEDED; + background-image:url(images/TableHeader.gif); + background-repeat:repeat-x; + border-bottom-width:1px; + border-bottom-color:#9EADBA; + border-bottom-style:solid; +} + +tr.std { + background-color:#FFFFFF; + color:#222222; + padding:3px; +} + +th.option, td.option { + background-color: #F5F5F5; + color:#222222; + padding:3px; + font-weight : bold; + vertical-align:top; + text-align:right; + border-top-width:1px; + border-top-color:#9EADBA; + border-top-style:solid; +} + +td.sub_option { + background-color:#FFFFFF; + color:#222222; + padding:3px; + font-weight : bold; + vertical-align:top; + text-align:right; + border-top-width:1px; + border-top-color:#9EADBA; + border-top-style:solid; +} + +td.option_subtitle { + background-color:#FFFFFF; + background-image: none; + width:100%; + color:#222222; + padding:13px 3px 3px 3px; + vertical-align:top; + text-align:left; + border-bottom-style:solid; + border-bottom-width:1px; + border-bottom-color:#9EADBA; +} + +td.option_value { + background-color:#FFFFFF; + background-image: none; + color:#222222; + padding:3px; + vertical-align:top; + text-align:left; + border-top-width:1px; + border-top-color:#9EADBA; + border-top-style:solid; +} + +td.option_value_center { + background-color:#FFFFFF; + background-image: none; + color:#222222; + padding:3px; + vertical-align:top; + text-align:center; + border-top-width:1px; + border-top-color:#9EADBA; + border-top-style:solid; +} + +td.option_value_details { + background-color:#FFE4E4; + background-image: none; + color:#222222; + padding:3px; + vertical-align:top; + text-align:left; +} +td.option_value_center_details { + background-color:#FFE4E4; + background-image: none; + color:#222222; + padding:3px; + vertical-align:top; + text-align:center; +} + +td.option_desc, p.option_desc { + background-color:#FFFFFF; + background-image: none; + color:#222222; + padding:3px; + font-style:italic; + font-weight:normal; + vertical-align:top; + text-align:left; +} + +td.option_info { + background-color:#FFFFFF; + background-image: none; + color:#222222; + padding:3px; + font-weight:bold; + vertical-align:top; + text-align:center; +} + +td.boxed { + border-style: solid; + border-width: thin; +} + +td.submit { + background-image: url(images/TableHeader.gif); + background-color:#EDEDED; + background-repeat: repeat-x; + color:#222222; + padding:3px; + vertical-align:top; + border-top-width:1px; + border-top-color:#9EADBA; + border-top-style:solid; + border-bottom-width:1px; + border-bottom-color:#9EADBA; + border-bottom-style:solid; + +} + +/*Link, Visited, Hover, Focus, Activ*/ +a.il_ContainerItemCommand:link, a.il_ContainerItemCommand:visited, a.il_ContainerItemCommand:hover +{ + padding: 1px 5px; + margin: 1px 0px; + border-width: 1px; + border-style: solid; + border-top-color: #BABABA; + border-left-color: #BABABA; + border-bottom-color: #808080; + border-right-color: #808080; + white-space: nowrap; + text-decoration:none; + font-weight: normal; + background-color: #FFFFFF; + background-image: url(images/ButtonsBack.gif); + background-position: bottom; + background-repeat:repeat-x; + font-size: 70%; +} + +/*Link, Visited, Hover, Focus, Activ*/ +a.il_ContainerItemCommand2:link, a.il_ContainerItemCommand2:visited +{ + font-size: 100%; + text-decoration: none; + border-bottom: 1px dotted #2020C0; + margin: 0px 0px 0px 3px; + white-space: nowrap; +} +a.il_ContainerItemCommand2:hover +{ + border-bottom: 1px solid #000000; +} + +div.il_ContainerItemCommands2 +{ + text-align: right; + font-size: 80%; + margin: 0px 3px 3px 3px; +} + +div.il_ContainerListItem +{ + margin: 2px 0px; +} + +div.il_ContainerItemCommands +{ + padding-bottom: 2px; + padding-top: 2px; +} + +/*Link, Visited, Hover, Focus, Activ*/ +a.il_ContainerItemTitle:link, a.il_ContainerItemTitle:visited, a.il_ContainerItemTitle:hover +{ + text-decoration: none; +} + +div.il_ItemProperties +{ + margin-top: 2px; + margin-bottom: 5px; + text-align:left; + font-weight: normal; + font-size: 90%; +} + +div.il_ItemNotice +{ + margin-top: 2px; + margin-bottom: 5px; + text-align:left; + font-weight: normal; + font-size: 90%; + color: green +} + +div.il_Preconditions +{ + margin-top: 3px; + text-align:left; + font-size: 90%; +} + +a.il_ItemProperty:link, a.il_ItemProperty:visited { + text-decoration:none; + font-weight: normal; +} + +a.il_ItemProperty:hover { + color:#000000; +} + + +span.il_ItemAlertProperty +{ + color: #C04000; +} + +span.il_ItemProperty +{ +} + +th.il_ContainerBlockHeader +{ + background-image: url(images/TableHeader.gif); + background-color:#EDEDED; + background-repeat: repeat-x; + font-weight: bold; + padding: 2px; + text-align:left; + vertical-align: middle; +} + +table.il_ContainerBlock +{ + color:#222222; + background-color:#bbbbbb; + width:100%; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; + clear:both; +} + +/* Personal Desktop Header*/ +div.il_PDTitle, span.il_PDTitle +{ + font-size: 140%; + line-height: 160%; + color: #404040; + letter-spacing: 0.05em; + word-spacing: -0.1em; + white-space: nowrap; + padding-top: 100px; +} + +table.il_PDBlock +{ + color:#222222; + background-color:#bbbbbb; + width:100%; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; + margin-bottom:25px; + clear:both; +} + +th.il_PDBlockHeader +{ + background-image: url(images/TableHeaderBlue.gif); + background-repeat:repeat-x; + font-weight: bold; + padding: 3px; + background-color: #E2EAF4; + text-align:left; + border-bottom-width:1px; + border-bottom-color:#9EADBA; + border-bottom-style:solid; +} + +th.il_PDBlockSubHeader +{ + background-image: url(images/TableHeader.gif); + background-repeat:repeat-x; + font-weight: bold; + text-align:left; + font-size: 100%; + padding: 2px; + background-color: #EDEDED; + border-top-width:1px; + border-top-color:#9EADBA; + border-top-style:solid; + vertical-align: middle; +} + +/* Blocks */ + +table.il_Block +{ + color:#222222; + background-color:#bbbbbb; + width:100%; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; + margin-bottom:25px; + clear:both; +} + +th.il_BlockHeader +{ + background-image: url(images/TableHeaderBlue.gif); + background-repeat:repeat-x; + font-weight: bold; + padding: 3px; + background-color: #E2EAF4; + text-align:left; + border-bottom-width:1px; + border-bottom-color:#9EADBA; + border-bottom-style:solid; + font-size: 90%; +} + +th.il_BlockHeaderBig +{ + background-image: url(images/TableHeaderBlue.gif); + background-repeat:repeat-x; + font-weight: bold; + padding: 3px; + background-color: #E2EAF4; + text-align:left; + border-bottom-width:1px; + border-bottom-color:#9EADBA; + border-bottom-style:solid; +} + +/* Repository Header */ +table.ilc_RepHeader { + border-width: 0px; + border-spacing: 0px; + margin: 0px; + padding: 0px; + background-color:#EEEEEE; + width:100%; +} + +td.il_RepHeader +{ + padding:0px; + border-style: solid; + border-color:#9EADBA; + border-width: 1px; + margin-bottom: 0px; +} + +div.il_RepHeader +{ + color:#222222; + background-color: #F0F0F0; +} + +/* SCORM styles */ + +table.il_ScormTable +{ + color:#222222; + background-color:#bbbbbb; + border-spacing:1px; + border-width:0px; +} + +td.il_ScormTableKey { + background-color:#e2e2e2; + color:#222222; + padding-left:3px; + padding-right:3px; + padding-top:1px; + padding-bottom:1px; + vertical-align:top; + text-align:right; +} + +td.il_ScormTableValue { + background-color:#f7f7f7; + background-image: none; + color:#222222; + padding-left:3px; + padding-right:3px; + padding-top:1px; + padding-bottom:1px; + vertical-align:top; + text-align:left; +} + +/* must reset all values of td style */ +td.il_no_style { + font-weight:normal; + background-image:none; + background-color:white; +} + +/* locator */ +table.il_Locator +{ + background-color: #FFFFFF; +} + +div.il_Locator { + padding: 2px 15px 0px 15px; + vertical-align:top; + font-size: 80%; + font-weight: normal; +} + +a.il_LocatorLink, a.il_LocatorLink:link, a.il_LocatorLink:visited, a.il_LocatorLink:hover +{ + color: #224499; + font-weight: normal; +} + +a.il_LocatorLink:hover +{ + color: #000000; +} + +span.il_LocatorTitle +{ + display: none; +} + +/* form */ +form.il_Form +{ + padding: 0px; + margin: 0px; + border: 0px; +} + +/* Navigation History */ +form.ilNavHistoryForm +{ + padding: 0px; + margin: 0px 15px 0px 10px ; + border: 0px; + float: right; +} + +/* MainMenu Tabs */ +div.il_MainMenu +{ + background-image: url(images/MainMenuBack.gif); + background-repeat: repeat-x; + background-position: bottom; + margin: 0px; + width: 100%; + padding:0px 0px 6px 0px; + line-height: normal; +} + +a.MMInactive:link, a.MMInactive:visited +{ + color:#FFFFFF; + padding: 0px 0px; + font-size: 80%; + text-decoration:none; + margin: 0px 0px 5px 15px; + font-weight: normal; + white-space: nowrap; +} + +a.MMInactive:hover +{ + color: #8CC6FF; + padding: 0px 0px; + font-size: 80%; + text-decoration:none; + margin: 0px 0px 5px 15px; + font-weight: normal; +} + +a.MMActive:link, a.MMActive:visited +{ + color: #8CC6FF; + padding: 0px 0px; + font-size: 80%; + text-decoration:none; + margin: 0px 0px 5px 15px; + font-weight: normal; + white-space: nowrap; +} + +a.MMActive:hover +{ + color: #8CC6FF; + padding: 0px 0px; + font-size: 80%; + text-decoration:none; + margin: 0px 0px 5px 15px; + font-weight: normal; +} + +/* Tabs */ + +div.il_Tab +{ + margin-top: 0px; + margin-bottom: 10px; + margin-left: 0px; + margin-right: 0px; + float:left; + width:100%; + padding-left:0px; + line-height:normal; + background:#FFFFFF url(images/TabBack.gif) repeat-x bottom; +} + +ul.il_Tab +{ + margin: 0px; + padding: 0px 15px; + list-style:none; +} + +li.tabinactive +{ + float:left; + background:url("images/TabInactiveRightWhite.gif") + no-repeat right top; + margin:0; + padding:0; + border-bottom-width: 1px; + border-bottom-style: solid; + border-bottom-color: #B0B0B0; +} + +a.tabinactive:link, a.tabinactive:visited, a.tabinactive:hover +{ + float: left; + display:block; + background:url("images/TabInactiveLeftWhite.gif") no-repeat left top; + padding: 3px 8px; + font-size: 80%; + text-decoration: none; +} + +li.tabactive +{ + float:left; + background:url("images/TabActiveRightWhite.gif") + no-repeat right top; + margin:0; + padding:0; + border-bottom-width: 1px; + border-bottom-style: solid; + border-bottom-color: #FFFFFF; +} + +a.tabactive:link, a.tabactive:visited, a.tabactive:hover +{ + float: left; + display:block; + background:url("images/TabActiveLeftWhite.gif") no-repeat left top; + padding: 3px 8px; + font-size: 80%; + text-decoration: none; +} + +li.backtab +{ + float:left; + margin:0; + padding:0; + border-bottom-width: 1px; + border-bottom-width: 1px; + border-bottom-style: solid; + border-bottom-color: #B0B0B0; +} + +a.backtab, a.backtab:hover +{ + float: left; + display:block; + background:url("images/BackTab.gif") no-repeat left top; + padding: 3px 8px 3px 12px; + font-size: 80%; +} + +li.back2tab +{ + float:left; + margin:0; + padding:0; + border-bottom-width: 1px; + border-bottom-width: 1px; + border-bottom-style: solid; + border-bottom-color: #B0B0B0; +} + +a.back2tab, a.back2tab:hover +{ + float: left; + display:block; + background:url("images/Back2Tab.gif") no-repeat left top; + padding: 3px 8px 3px 16px; + font-size: 80%; +} + +/* Commented Backslash Hack + hides rule from IE5-Mac, we do not want the left float for other browsers \*/ + a.tabinactive a.tabactive a.backtab {float:none;} +/* End IE5-Mac hack */ + + +/* Sub Tabs */ + +div.il_SubTab +{ + float:left; + width:100%; + padding-left:0px; + margin-bottom: 10px; + line-height:normal; +} + +ul.il_SubTab +{ + margin: 0px; + padding: 0px 0px; + list-style:none; +} + +li.subtabinactive +{ + float:left; + margin:0; + padding:0; +} + +a.subtabinactive, a.subtabinactive:hover +{ + float: left; + display:block; + background:url("images/SubTabInactiveLeft.gif") no-repeat left top; + padding: 3px 10px 3px 12px; + font-size: 80%; +} + +li.subtabactive +{ + float:left; + margin:0; + padding:0; +} + +a.subtabactive, a.subtabactive:hover +{ + float: left; + display:block; + background:url("images/SubTabActiveLeft.gif") no-repeat left top; + padding: 3px 10px 3px 12px; + font-size: 80%; +} + +/* Commented Backslash Hack + hides rule from IE5-Mac, we do not want the left float for other browsers \*/ + a.subtabinactive a.subtabactive {float:none;} +/* End IE5-Mac hack */ + + + +/* InfoScreen */ + +table.il_InfoScreen +{ + color:#222222; + background-color:#FFFFFF; + width:100%; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; +} + +th.il_InfoScreen +{ + text-align:left; +} + +div.il_InfoScreenSection,th.il_InfoScreenSection +{ + margin: 10px 4px 8px 4px; + border-bottom-width:1px; + border-bottom-style:solid; + border-bottom-color:#909090; + color:#909090; + font-weight:normal; + font-size:130%; +} + +td.il_InfoScreenProperty +{ + border-right-width:1px; + border-right-style:solid; + border-right-color:#909090; + text-align: right; + padding: 3px 10px 3px 4px; + vertical-align: top; + color:#909090; +} + +td.il_InfoScreenPropertyValue +{ + padding: 3px 4px 3px 10px; + vertical-align: top; +} + +/* Explorer */ + +div.il_Explorer +{ + margin:0px; + padding:3px; + background-color: #FFFFFF; +} + +div.il_ExplorerHeader +{ + padding: 1px 3px; + vertical-align:top; + text-align:left; + font-weight: bold; + background-color: #FFFFFF; + font-size: 90%; +} + +div.il_ExplorerTree +{ + font-size: 90%; +} + +ul.il_Explorer +{ + margin: 0px 0px 0px 10px; + padding: 0px 0px 0px 0px; + list-style:none; +} + +ul.il_ExplorerNoIndent +{ + margin: 0px; + padding: 0px 0px; + list-style:none; +} + +li.il_Explorer +{ + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + white-space: nowrap; + background-color: #FFFFFF; +} + +li.il_ExplorerInline +{ + margin:0; + padding:0; +} + +a.il_HighlightedNode +{ + border-width: 1px; + border-style: solid; + border-color: #FFDD77; + background-color: #FFFF99; + padding: 0px 5px; +} + +div.il_ExplorerItemDescription +{ + margin-left: 44px; +} + +/* Table Links */ +a.tblheader, a.tblheader:visited +{ + color:#3444aa; +} + +a.tblheader:hover +{ + color:#000000; +} + +/* --- description text ---*/ +div.il_Description, td.il_Description +{ + margin-top:2px; + margin-bottom:5px; + font-size: 90%; + font-weight:normal; + text-align:left; +} +div.il_Description_no_margin, td.il_Description_no_margin +{ + font-size: 90%; + font-style: italic; + text-align:left; +} +div.il_info +{ + font-size: 90%; + text-align:left; +} +div.il_PermDescription +{ + font-size: 60%; + font-style: italic; +} + +/* ---------------- headlines ------------------ */ + +div.il_HeaderOuter +{ + clear: both; +} + +div.il_Header +{ +} + +div.il_HeaderInner +{ + float:left; + margin: 0px; + padding: 0px 15px 0px 15px; + color:#222222; +} + +div.il_TreeIcons +{ + padding-right: 15px; + padding-top: 15px; + margin: 0px; +} + +div.ilMainHeader +{ + background-image: url(images/HeaderBackground3.gif); + background-repeat: repeat-x; + background-color: #FFFFFF; + right: 0px; +} + +a.ilMainHeader, a.ilMainHeader:hover +{ + padding-top:1px; + padding-left:5px; + padding-right:5px; + padding-bottom:1px; + margin-top:2px; + margin-bottom: 2px; + border-style: solid; + border-width: 1px; + border-color: #B0B0B0; + background-color: #E6ECF8; + font-size:90%; +} + +div.ilLogin +{ + padding:2px 20px 3px 10px; + margin-top:0px; + margin-bottom:0px; + white-space: nowrap; + float:right; + text-align:right; + font-size:90%; +} + +a.ilLogin, a.ilLogin:visited, input.ilLogin +{ + background-color : #ECFAFB; + border-width: 1px; + border-style: solid; + border-top-color: #BABABA; + border-left-color: #BABABA; + border-bottom-color: #808080; + border-right-color: #808080; + color:#0033AA; + padding: 1px 3px; + margin: 0px; + font-size:90%; + text-decoration:none; + font-weight:normal; + cursor:pointer; + background-color: #FFFFFF; + background-image: url(images/ButtonsBack.gif); + background-position: bottom; + background-repeat:repeat-x; +} + +span.il_menu +{ + line-height: 150%; +} + +.ilLanguageSelection +{ + font-size:80%; +} + +div.il_Footer +{ + margin-top:30px; + margin-bottom:10px; + font-size: 90%; + text-align:center; +} + + +/* ----------------- invisible border ------------- */ + +div.invisible_border { + margin-top:15px; + margin-bottom:15px; + margin-right:15px; + margin-left:15px; +} + +td.ilInvisibleBorder +{ + padding:15px; +} + +/* --- column table -- */ +table.il_ColumnLayout +{ + color:#222222; + background-color:#FFFFFF; + width:100%; + border-spacing:0px; +} + +td.il_LeftColumn +{ + padding-left:15px; + vertical-align:top; + width:20%; +} + +td.il_CenterColumn +{ + padding-right:15px; + padding-left:15px; + vertical-align:top; + +} + +td.il_RightColumn +{ + padding-right:15px; + vertical-align:top; + width:20%; +} + +/* ------- Helptext --------- */ +span.il_Helptext { + font-size: 90%; + font-weight: normal; +} + +/* ----------------- alternative text styles ------------- */ +.small { + text-decoration:none; + font-size: 90%; +} + +.smallgreen { + text-decoration:none; + font-size: 90%; + color:green; +} + +.smallred { + text-decoration:none; + font-size: 90%; + color:red; +} + +.obligatory { + font-weight: normal; + color: #800000; + font-variant: normal; +} + +.warning { + text-decoration:none; + font-weight:bold; + color:red; +} + +div.Warning { + text-decoration:none; + font-weight:bold; + color:red; +} + +div.Access { + text-decoration:none; + font-weight:bold; + text-decoration:underline; + color:red; +} + +.asterisk { + color:red; + font-size: 90%; +} + +.default { + text-decoration:none; + font-weight:normal; +} + +.inactivepage { + text-decoration:none; + font-weight: bold; + color: gray; +} + +.quote { + font-style:italic; + font-weight:normal; +} + +.subtitle { + font-style:italic; + font-weight:normal; + font-size: 90%; +} + +.questiontext { + font-weight:bold; +} + +.bold { + font-weight:bold; +} + +/* ----------------- alternative text styles ------------- */ +.il_BlockInfo +{ + font-size: 90%; + color: #909090; +} + +.light +{ + color: #909090; +} + +/* ----------------- normal links ------------- */ + +a:link, a:visited { + text-decoration: none; + color:#0033AA; +} + +a:hover { + color:#000000; +} + + +a.light:link, a.light:visited { + text-decoration: none; + color:#3355BB; +} + +a.light:hover { + color:#000000; +} + +/* ------------------- mail links ----------- */ +a.mailread, a.mailread:visited +{ + font-weight: normal; +} + +a.mailunread, a.mailunread:visited +{ + font-weight: bold; +} + +/* ------------------- forum links ----------- */ +a.postread, a.postread:visited +{ + font-weight: normal; +} + +a.postunread, a.postunread:visited +{ + font-weight: bold; +} + +a.postnew, a.postnew:visited +{ + font-style: italic; + font-weight: bold; +} + +blockquote.ilForumQuote +{ + margin: 0px 20px; + padding: 5px; + border-width:1px; + border-color:#B6B6B6; + border-style:solid; +} + +div.ilForumQuoteHead +{ + font-weight: bold; + font-size: 90%; + margin: 0px 0px 10px 0px; +} + +/* ------------------ buttons -------------- */ + +/* not used anymore (no extra table for buttons)*/ +td.btn { + background-color:#E6ECF8; + color:#BBBBBB; + border-width:1px; + border-color:#B6B6B6; + border-style:solid; + padding:2px; +} + +/* not used anymore (use submit style)*/ +a.btn:link, a.btn:visited { + text-decoration:none; + font-size: 90%; +} + +/* not used anymore (use submit style)*/ +a.btn:hover { + color:#000000; +} + +div.il_ButtonGroup +{ + margin: 3px 0px 3px 0px; + line-height: 150%; + white-space: nowrap; + display: block; +} + +input.submit, a.submit, a.submit:hover +{ + background-color: #FFFFFF; + background-image: url(images/ButtonsBack.gif); + background-position: bottom; + background-repeat:repeat-x; + color:#2255a0; + border-width:1px; + border-top-color: #BABABA; + border-left-color: #BABABA; + border-bottom-color: #808080; + border-right-color: #808080; + border-style:solid; + padding: 1px 5px; + text-decoration:none; + font-size: 80%; + cursor:pointer; + font-weight:normal; +} + +input.submit_disabled, a.submit_disabled, a.submit_disabled:hover { + background-color:#E6ECF8; + color:gray; + border-width:1px; + border-color:#B6B6B6; + border-style:solid; + padding:2px; + text-decoration:none; + font-size: 90%; + cursor:pointer; +} + +label, input[type=checkbox], input[type=radio], select +{ + cursor:pointer; +} + +input[type=text].numeric +{ + text-align: right; +} + +input[type=checkbox], input[type=radio] +{ + border-style: none; + background-color: transparent; +} + +a.ilEditSubmit { + background-color: #FFFFFF; + background-image: url(images/ButtonsBack.gif); + background-position: bottom; + background-repeat:repeat-x; + padding: 2px; + margin: 0px; + border-width:1px; + border-top-color: #BABABA; + border-left-color: #BABABA; + border-bottom-color: #808080; + border-right-color: #808080; + border-style:solid; + text-decoration: none; + font-size: 80%; + line-height: 14px; + cursor:pointer; +} + +input.ilEditSubmit { + color:#2255a0; + padding: 1px; + margin: 0px; + font-size: 80%; + line-height: 14px; + cursor:pointer; + + background-color: #FFFFFF; + background-image: url(images/ButtonsBack.gif); + background-position: bottom; + background-repeat:repeat-x; + border-width:1px; + border-top-color: #BABABA; + border-left-color: #BABABA; + border-bottom-color: #808080; + border-right-color: #808080; + border-style:solid; +} + +input.ilEditHelpline { + border-style:none; + background-image: none; + text-decoration:none; + margin: 2px 0px; + font-size: 80%; +} + +input.tblrow1, input.tblrow2 +{ + background-color:#ffffff; + color:#000000; + background-image: none; + padding:0px; +} + +textarea +{ + font-family:Verdana,Arial,Helvetica,sans-serif; + background-color:#ffffff; + color:#000000; + border-width:1px; + border-color:#9EADBA; + border-style:inset; + padding:3px; + text-decoration:none; + font-size: 100%; +} + +textarea.fullwidth +{ + width: 98%; +} + + +input.submit:hover, input.ilEditSubmit:hover, a.submit:hover { + color:#000000; +} + + +div.message { + color: #dd0000; + text-align:center; + background-color:#FFFFFF; + border-width:1px; + border-style:solid; + border-color:#9EADBA; + margin: 2px 0px 5px 0px; + clear:both; +} + +.alert { + color: #dd0000; +} + +select.ilEditSelect { + background-color:#ffffff; + border-width:1px; + border-color:#bbbbbb; + padding:1px; + background-image: none; + text-decoration:none; + font-size: 80%; +} + +img { + vertical-align: middle; + border: 0px; +} + +/* --- to prevent tab-images from spacing when using DOCTYPE xhtml --- */ +img.imgtab { + display:block; +} + +/* ------------------ content window body tag (not used yet) -------------- */ +.content { + margin:0px; +} + +/* --- Editor styles ---*/ + +div.il_droparea +{ + border-style: solid; + border-width: 1px; + border-color: #D0D0D0; + font-size: 1px; + background-image: url(images/drop_back.gif); + background-repeat: repeat; + padding: 0px 0px; + text-align: center; +} + +div.il_droparea_active +{ + padding: 0px 0px; + border-style: solid; + border-width: 1px; + border-color: #000000; + font-size: 1px; + background-image: url(images/drop_back_active.gif); + background-repeat: repeat; + text-align: center; +} + +div.il_droparea_valid_target +{ + padding: 0px 0px; + border-style: solid; + border-width: 1px; + border-color: #000000; + font-size: 1px; + background-image: url(images/drop_back.gif); + background-repeat: repeat; + text-align: center; +} + +div.il_editarea_nojs +{ + border-style: dotted; + border-width: 1px; + border-color: #999999; +} + +div.il_editarea +{ + border-style: solid; + border-width: 1px; + border-color: transparent !important; + border-color: #FFFFFF; /* IE6 does not understand the transparent border */ +} + +div.il_editarea_disabled +{ + border: 2px dotted red; +} + +div.il_editarea_active +{ + border-style: solid; + border-width: 1px; + border-color: #909090; +} + +div.il_editarea_selected +{ + border-style: solid; + border-width: 2px; + border-color: #A0A0A0; +} + +div.il_editarea_disabled_selected +{ + border: 2px solid red; +} + +div.il_editarea_active_selected +{ + border-style: solid; + border-width: 2px; + border-color: #000000; +} + +div.il_edit_pc_tab_head +{ + background-color: #F0F0F0; + border-style: solid; + border-width: 1px; + border-color: #909090; + border-bottom-width: 0px; + font-size: 90%; + margin-top: 5px; + padding: 2px; +} + +div.il_edit_pc_tab +{ + border-style: solid; + border-width: 1px; + border-color: #909090; + margin-bottom: 5px; + padding: 5px; +} + +table.il_editmenu +{ + border-style: solid; + border-width: 1px; + border-color: #909090; + background-color: #FFFFFF; + color: #000000; + font-weight: normal; + text-align: left; + font-style: normal; + font-size: 14px; +} + +a.il_PageDisabled +{ + border-bottom: 2px dotted red; +} + +a.il_PageDeactivatedElements +{ + border-right: 2px dotted red; +} + +/* ------------------ blind image - spacer gif -------------- + please use this style class always when using this blind image */ +img.spacer { + display:block; +} + +/* --- calendar styles -- */ +div.dp_Menu +{ + padding-top:1px; + padding-left:5px; + padding-right:5px; + padding-bottom:1px; + margin-top:2px; + margin-bottom:2px; + border-width: 1px; + border-style: solid; + border-color: #9EADBA; + background-color: #EBEBEB; + width: 152px; + font-size: 90%; +} + +td.even +{ + color:#222222; + background-color:#F7F7F7; + padding: 3px; +} + +td.uneven +{ + color:#222222; + background-color:#EEEEEE; + padding: 3px; +} + +td.today +{ + text-align: center; + font-size: 90%; + background-color: #E0E0FF; +} + +td.chosenDate +{ + text-align: center; + font-size: 90%; + background-color: #FFE4E4; +} + +td.date +{ + text-align: center; + font-size: 90%; + background-color: #F7F7F7; +} + +td.prevMonth +{ + text-align: center; + font-size: 90%; + background-color: #DFDFDF; +} + +td.todayMO +{ + height: 40px; + text-align: center; + vertical-align: top; + font-size: 90%; + background-color: #E0E0FF; +} + +td.chosenDateMO +{ + height: 40px; + text-align: center; + vertical-align: top; + font-size: 90%; + background-color: #FFE4E4; +} + +td.dateMO +{ + height: 40px; + text-align: center; + vertical-align: top; + font-size: 90%; + background-color: #F7F7F7; +} + +td.prevMonthMO +{ + height: 40px; + text-align: center; + vertical-align: top; + font-size: 90%; + background-color: #DFDFDF; +} + +td.evenMO +{ + color:#222222; + background-color:#F7F7F7; + font-size: 90%; + padding: 3px; +} + +td.unevenMO +{ + color:#222222; + background-color:#EEEEEE; + font-size: 90%; + padding: 3px; +} + +td.weeknumber +{ + color: #5F5F5F; + background-color: transparent; + font-size: 90%; +} + +a.weekLink +{ + font-size: 80%; +} + +td.appointmentConfTitle +{ + font-style: italic; +} + +td.doubleComment +{ + font-size: 80%; + color: #FF0000; + font-weight: bold; +} + +td.il_CalMonth +{ + font-size: 90%; +} + +td.il_CalNextMonth +{ + font-size: 90%; +} + +td.il_CalNextMonth +{ + font-size: 80%; +} + +td.il_CalShortMonth +{ + font-size: 80%; +} + +td.il_CalShortWeek +{ + font-size: 80%; +} + +td.il_CalShortDayOfWeek +{ + font-size: 80%; +} + +td.il_CalDay +{ + font-size: 80%; +} + +/* --- content styles (will move to content.css) --- */ +table.ilc_Page { + border-width: 1px; + border-spacing: 0px; + border-style: solid; + border-color: #9EADBA; + border-collapse:collapse; + margin: 0px; + padding: 0px; + width:100%; +} + +td.ilc_Page +{ + padding:20px; + border-left-style: solid; + border-right-style: solid; + border-color: #9EADBA; + border-left-width: 1px; + border-right-width: 1px; + border-top-width: 1px; + border-bottom-width: 1px; + margin-bottom: 0px; +} + +td.ilc_PageDisabled +{ + padding:20px; + border-right-style: solid; + border-color: #9EADBA; + border-right-width: 1px; + border-top-width: 1px; + border-bottom-width: 1px; + margin-bottom: 0px; + border-left: 3px dotted red; + +} + +table.ilc_LMNavigation { + border-width: 0px; + border-spacing: 0px; + margin: 0px; + padding: 0px; + background-image: url(images/TableHeader.gif); + background-repeat:repeat-x; + background-color: #EDEDED; + width:100%; +} + +td.ilc_LMNavigation +{ + padding: 3px; + border-style: solid; + border-color: #9EADBA; + border-left-width: 0px; + border-right-width: 0px; + border-top-width: 1px; + border-bottom-width: 1px; + background-image: url(images/TableHeader.gif); + background-color: #EDEDED; + margin-bottom: 0px; +} + +div.ilc_DefinitionHeader +{ + margin-top: 10px; + margin-bottom: 10px; + padding-bottom: 5px; + padding-top: 5px; + border-bottom-width: 1px; + border-bottom-style: solid; + border-top-width: 1px; + border-top-style: solid; + border-color: #000000; +} + +table.ilc_Fullscreen +{ + background-color: #FFFFFF; + position: absolute; + margin: 0; + padding: 0; + height: 100%; + width: 100%; +} + +html.ilc_Fullscreen, body.ilc_Fullscreen +{ + margin: 0; + padding: 0; + height: 100%; +} + +table.ilc_FileList +{ + width: 100%; + color:#222222; + background-color:#bbbbbb; + border-spacing:0px; + border-collapse:collapse; + border-width:1px; + border-style:solid; + border-color:#9EADBA; + margin: 10px 0px; +} + +th.ilc_FileList +{ + text-align: left; + padding: 3px; + background-image: url(images/TableHeader.gif); +} + +td.ilc_FileItem +{ + background-color: #FFFFFF; + padding: 3px; +} + +div.ilc_LMMenu +{ + line-height: 22px; +} + +a.ilc_LMMenu +{ + padding-top:1px; + padding-left:5px; + padding-right:5px; + padding-bottom:1px; + margin-top:2px; + margin-bottom:2px; + border-width: 1px; + border-style: solid; + border-color: #B0B0B0; + background-color: #E6ECF8; + white-space: nowrap; +} + +div.ilc_TableOfContents +{ + background-color:#FFFFFF; + padding:20px; + border-spacing: 1px; + border-style: solid; + border-color: #EEEEEE; + border-width: 1px; + margin-bottom: 0px; +} + +table.ilc_media +{ + background-color:white; +} + +h1.il_LMHead +{ + margin: 6px 15px 6px 15px; + font-size: 120%; + font-weight: normal; +} + +table.ilc_Table +{ + border-collapse: collapse; + background-color: #FFFFFF; + margin: 10px 0px; + border-color: #9EADBA; +} + +/* -- Members Gallery Styles -- */ +div.il_MembersGallery +{ + margin: 0 auto; + text-align:center; + width:95%; + padding: 8px; + line-height: 1.33; + display:block; + float:left; +} + +div.il_Member +{ + page-break-before: auto; + margin: 0px 5px 20px 5px; + background-color: #EEEEEE; + padding: 10px 15px; + font-size: 75%; + height:14em; + width:10em; + float:left; + text-align:center; + overflow: hidden; +} + +div.il_Tutor +{ + page-break-before: auto; + margin: 0px 5px 20px 5px; + padding: 10px 15px; + background-color: #BBBBBB; + font-size: 75%; + height:14em; + width:10em; + float:left; + text-align:center; + overflow: hidden; +} + +/* COPage Comparison */ + +div.ilEditModified +{ + border-left-width: 3px; + padding-left: 5px; + border-left-style: solid; + border-left-color: #8080FF; + border-bottom-width: 3px; + padding-bottom: 5px; + border-bottom-style: solid; + border-bottom-color: #8080FF; + margin-bottom: 2px; +} + +div.ilEditDeleted +{ + border-left-width: 3px; + padding-left: 5px; + border-left-style: solid; + border-left-color: #FF8080; + border-bottom-width: 3px; + padding-bottom: 5px; + border-bottom-style: solid; + border-bottom-color: #FF8080; + margin-bottom: 2px; +} + +div.ilEditNew +{ + border-left-width: 3px; + padding-left: 5px; + border-left-style: solid; + border-left-color: #80FF80; + border-bottom-width: 3px; + padding-bottom: 5px; + border-bottom-style: solid; + border-bottom-color: #80FF80; + margin-bottom: 2px; +} + +span.ilDiffDel +{ + background-color: #FFC0C0; +} + +span.ilDiffIns +{ + background-color: #C0FFC0; +} + +a.ilWikiPageMissing:link, a.ilWikiPageMissing:visited +{ + color: red; +} + +a.ilWikiPageMissing:hover +{ + color: black; +} diff --git a/Projects/WebGIM/GIM_site/help/frame_10_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_10_maincontent.html new file mode 100644 index 0000000..b6339f6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_10_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousRegistrazione utenti + + + + + Utilizzo Gestione Anagrafiche (2/8)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (1/8)
La prima parte del menu utente a sinistra è dedicata alla gestione delle anagrafiche.
Cliccando su una delle voci disponbili è possibile creare, modificare e cancellare le voci presenti in anagrafica in base ai propri
privilegi utente.
E' possibile gestire ambiti, tipo e piorità per i guasti, reparti e macchine, assegnare le macchine ai differenti reparti e definire i tipi di guasto.
Utilizzo generale
fig. 1 - Modifica voci anagrafica
fig. 2 - Creazione nuove voci
fig. 3 - Cancellazione voce


Per modificare in anagrafica voci già esistenti (fig. 1)
  • cliccare sul pulsante con l'icona della matita gialla in corrispondenza della voce desiderata (1)
  • modificare i dati nei diversi campi (modifica libera, selezione da tendina etc..)
  • confermare la modifica cliccando sul segno di spunta verde - o annullarla cliccando sulla x rossa (2)








Per inserire nuove voci (fig. 2) selezionare la voce nel menu a sinistra e
  • cliccare sul pulsante nuovo (verrà creata una voce nuova non definita)
  • cliccare sull'icona matita gialla per modificare la voce creata
  • modificare i dati
  • confermare la modifica cliccando sul segno di spunta verde - annullarla cliccando sulla x rossa






Per cancellare una voce definitivamente (fig. 3)
  • cliccare sull'icona del cestino
  • rispondere alla richiesta di conferma presentata




In ogni caso è possibile ricercare tra le diverse voci utilizzando il campo ricerca presente in alto sopra l'elenco anagrafiche (fig. 4).
fig. 4 - Ricerca voci
fig. 5 - Selettore a comparsa
In caso vi siano selettori a comparsa (fig. 5) per attivarli è necessario cliccare sul campo o riquadro relativo per farli comparire, selezionare i valori tra quelli proposti e/o utilizzare il box di ricerca se presente. Il selettore a comparsa viene chiuso al click di selezione o al successivo click in un'altra parte della pagina.
+ + +
+ + + PreviousRegistrazione utenti + + + + + Utilizzo Gestione Anagrafiche (2/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_11_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_11_maincontent.html new file mode 100644 index 0000000..18e0ccd --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_11_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (1/8) + + + + + Utilizzo Gestione Anagrafiche (3/8)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (2/8)
Elenco ambiti del guasto
La sezione ambiti del guasto consente di definire e/o modificare l'anagrafica per gli ambiti dei guasti possibili
come usura,accidentale, manutenzione programmata o altro.
Elenco priorità
fig. 1 - Gestione priorità
La sezione elenco priorità permette la modifica e l'inserimento delle priorità,
contraddistinte da un id di priorità e da uno stile associato (semaforo rosso, giallo e verde) che permette di distinguere rapidamente nell'utilizzo dell'applicativo la priorità di un elemento (fig. 1).




Gestione tipo guasto
Da questa sezione è possibile gestire l'anagrafica del tipo di guasto in modo analogo alle altre anagrafiche.
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (1/8) + + + + + Utilizzo Gestione Anagrafiche (3/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_14_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_14_maincontent.html new file mode 100644 index 0000000..e2e705a --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_14_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (3/8) + + + + + Utilizzo Gestione Anagrafiche (5/8)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (4/8)
Macchine-reparti
Tramite la gestione macchine-reparti è possibile gestire l'associazione tra macchine e reparti (fig. 1).
Per assegnare le macchine ai reparti
  • selezionare con i due menu a tendina in alto i reparti desiderati
  • cliccare sull'icona "lente di ingradimento" per selezionare una voce
  • spostare la macchina selezionata nel reparto desiderato cliccando su una delle frecce centrali (da reparto di sinistra a destra o viceversa)
fig. 1 - Gestione macchine-reparti
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (3/8) + + + + + Utilizzo Gestione Anagrafiche (5/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_15_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_15_maincontent.html new file mode 100644 index 0000000..266f385 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_15_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (2/8) + + + + + Utilizzo Gestione Anagrafiche (4/8)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (3/8)
Gestione reparti
fig. 1 - Gestione reparti
Per modificare le voci presenti in anagrafica reparti procedere come per la modifica generale anagrafiche (ovvero icona matita gialla per modificare la voce e segno di spunta verde per confermare/x rossa per annullare) (fig. 1); è inoltre possibile
  • cliccare sull'icona bacchetta magica per clonare il record corrente
  • utilizzare i selettori calendario per selezionare una data




Gestione macchine
fig. 2 - Gestione macchine
L'utilizzo dell'anagrafica gestione macchine è analogo alle altre anagrafiche e comprende la funzionalità di "clona record" e la possiblità di selezionare l'impianto di appartenenza da un selettore a comparsa attivabile cliccando sul campo "Impianto" in modalità modifica di una voce (fig. 2).

Tramite il selettore a comparsa scegliere una voce o cercarla utilizzando il box di ricerca.
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (2/8) + + + + + Utilizzo Gestione Anagrafiche (4/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_17_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_17_maincontent.html new file mode 100644 index 0000000..901815c --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_17_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (8/8) + + + + + Interventi Manutenzione (2/4)Next + +
+ + + +
Interventi Manutenzione (1/4)
Inserimento richiesta di manutenzione
Cliccando sulla voce di menu relativa è possibile inserire una richiesta di manutenzione o visualizzare le richieste presenti.
Scegliere "Inserisci nuova richiesta" per inserire o "Vai ad elenco richieste" per vedere le richieste già inserite.

Per inserire una richiesta (fig. 1)
  • selezionare il reparto desiderato (1)
  • selezionare la macchina relativa al reparto per cui inserire la richiesta (2)
  • compilare i dettagli relativi al guasto (matricola, priorità, data/ora, ambito e tipo guasto e se impianto fermo) (3)
  • indicare la causale della richiesta (4)
  • inserire la descrizione del problema (5)
  • confermare l'inserimento della richiesta cliccando sul pulsante "Invia richiesta" (6)
Fig. 1 - Inserimento nuova richiesta
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (8/8) + + + + + Interventi Manutenzione (2/4)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_18_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_18_maincontent.html new file mode 100644 index 0000000..6f3f9f0 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_18_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousInterventi Manutenzione (1/4) + + + + + Interventi Manutenzione (3/4)Next + +
+ + + +
Interventi Manutenzione (2/4)
Elenco richieste
Cliccando sulla voce di menu "Elenco richieste" o scegliendo "Vai ad elenco richieste" dal menu "Inserimento richiesta" è possibile visualizzare e gestire le richieste inserite (fig. 1).
fig. 1 - Elenco richieste
fig. 2 - Report richiesta intervento
In generale
  • il colore dello stato associato alle richieste individua con rapidità lo stato, rosso per gli interventi in stato "richiesto", arancio per "in corso" e verde per "concluso"
  • è possibile esportare in pdf la richiesta cliccando il simbolo del documento pdf (fig. 2)

Per navigare tra le richieste
  • selezionare il periodo di riferimento tramite il selettore a comparsa in alto a destra della tabella richieste
  • per impostazione predefinita l'elenco visualizza gli interventi richiesti e in corso
  • se si desidera visualizzare anche le richieste concluse cliccare su "Mostra interventi già chiusi" in alto a sinistra sopra la tabella interventi

Per prendere in carico una richiesta
  • cliccare sul simbolo della stampante a fianco della richiesta desiderata, la richiesta viene presa in carico e stampata sulla stampante predefinita
  • lo stato passa a "In corso" di colore arancione ed è possibile quindi cliccare sull'icona "lente di ingrandimento" per modificare i dettagli della richiesta (vedi sezione relativa alla pagina successiva della guida)
+ + +
+ + + PreviousInterventi Manutenzione (1/4) + + + + + Interventi Manutenzione (3/4)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_19_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_19_maincontent.html new file mode 100644 index 0000000..81aa012 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_19_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousInterventi Manutenzione (2/4) + + + + + Interventi Manutenzione (4/4)Next + +
+ + + +
Interventi Manutenzione (3/4)
Dettaglio intervento
fig. 1 - Modalità sola lettura
fig. 2 - Selezione modalità di edit
fig. 3 - Update e annulla
fig. 4 - dettaglio interventi
Cliccando sulla lente di ingradimento a fianco di ogni richiesta nell'elenco richieste è possibile visualizzare e modificare il dettaglio richieste.

Al caricamento di un dettaglio richiesta la pagina mostra il dettaglio in modalità sola lettura (fig.1).
E' possibile modificare il dettaglio in due modalità cliccando su uno dei pulsanti presenti in alto (fig. 2),
modificare i campi desiderati e premere il pulsante update per aggiornare la richiesta o annulla per annullare le modifiche e tornare automaticamente in modalità sola lettura (fig. 3).

Compila intervento MTZ - modifica base
  • i campi non modificabili sono visualizzati in azzurro
  • i campi modificabili dall'utente sono visualizzati in verde

Modifica dettaglio completa
  • i campi modificabili in modalità completa sono visualizzati in verde scuro
  • sono ancora modificabili i campi della modalità base

In ogni caso è possibile indicare i dettagli per i singoli interventi (con matricola operatore e durata intervento) utilizzando il modulo "Dett. Interventi" in basso a destra della scheda dettaglio (fig. 4).
La modifica avviene come per le anagrafiche: il simbolo matita gialla consente la modifica del record, il segno di spunta verde la conferma e la x rossa l'annullamento delle modifiche inserite.
+ + +
+ + + PreviousInterventi Manutenzione (2/4) + + + + + Interventi Manutenzione (4/4)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_23_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_23_maincontent.html new file mode 100644 index 0000000..21f7e60 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_23_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + +
+ + + Learning Module ILIAS Manuale WebGIM + + + + > + + Reportistica
+ + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousInterventi Manutenzione (4/4) + + + + + Manutenzione programmataNext + +
+ + + +
Reportistica
fig. 1 - Esempio di report elenco macchine
fig. 2 - Esempio di report MTBF - MTTR
Report reparti e interventi
Report impianti

Cliccando sulla voce di menu relativa e successivamente sul pulsante con icona pdf verrà visualizzato un report riassuntivo delle macchine presenti e dei reparti relativi in formato pdf stampabile (fig. 1)
Report interventi

La sezione report interventi permette di visualizzare e stampare un report riassuntivo degli interventi in qualunque stato (richiesto, in corso o concluso) e un report MTBF MTTR (un esempio in fig. 2).
Il report interventi mostra un resoconto delle ore di fermata suddivise per
  • OFFICINA: dal momento del guasto a fine intervento
  • INTERVENTO: da inizio fine intervento manutenzione
  • OPERATORE: totale tempo erogato da tutti gli operatori di manutenzionecoinvolti

Il report MTBF MTTR calcola il livello di affidabilità di macchine e reparti (MTBF, mean time before failure), ovvero divide le ore totali di apertura (al netto di ferie, feste, fermo macchina programmato) per il numero degli interventi effettuati;
calcola inoltre i tempi medi di riparazione (MTTR, mean time to repair) visti dall'officina (da guasto a fine intervento) e dalla manutenzione (da inizio a fine intervento).


In entrambi i casi la selezione delle macchine e del periodo di riferimento avviene nel seguente modo:
  • selezionare i reparti e le macchine per cui si desidera venga generato il report
    • la selezione dei reparti e delle macchine è multipla, ovvero è possibile selezionare più reparti e più macchine e il report genererà un resoconto di tutti gli elementi selezionati. Per ricercare tra le macchine o reparti inserire nome o parte del nome nel box di ricerca libera presente sopra i due elenchi e premere invio, cancellare la ricerca e premere invio per cercare tra tutti gli elementi e selezionare elementi multipli cliccandoli tenendo premuto il tasto ctrl sulla tastiera.
  • selezionare lo stato delle macchine per cui si chiede il resoconto (anche in questo caso è possibile la selezione multipla con l'utilizzo del tasto ctrl mentre vengono cliccati gli stati)
  • selezionare il periodo di riferimento tramite i selettori a comparsa calendario o utilizzare un periodo di selezione predefinito
  • cliccare sul pulsante pdf del report desiderato

Il report è in formato pdf stampabile.
+ + +
+ + + PreviousInterventi Manutenzione (4/4) + + + + + Manutenzione programmataNext + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_25_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_25_maincontent.html new file mode 100644 index 0000000..6f49452 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_25_maincontent.html @@ -0,0 +1,104 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + +
+ + + Learning Module ILIAS Manuale WebGIM + + + + > + + Moduli Opzionali + + + + > + + Manutenzione programmata
+ + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousReportistica + + + + + FAQ - Domande frequentiNext + +
+ + + +
Manutenzione programmata
Modulo aggiuntivo - Manutenzione programmata
Il modulo aggiuntivo di manutenzione programmata consente di visualizzare e inserire interventi di manutenzione programmati per le singole macchine, indicando la data di inizio intervento, la frequenza e ulteriori dettagli.

Per visualizzare gli interventi programmati (fig. 1)
  • è sufficiente cliccare sulla voce di menu "Manutenzione programmata" e consultare l'elenco mostrato
  • se desiderato filtrare per tipo (cliccando sul filtro in alto "Filtra per tipo") e/o per macchina (cliccando su "Filtra per macchina" e successivamente impostando i filtri per reparto e macchina)
fig. 1 - Ricerca manutenzione programmata
fig. 2 - Cestino
E' sempre possibile cancellare una richiesta di intervento utilizzando l'icona "cestino" a fianco di ogni record (fig. 2).
Per inserire gli interventi programmati (fig. 3)
  • cliccare sul pulsante "mostra crea nuovo": verrà visualizzata la maschera di inserimento (fig.1)
  • indicare la descrizione dell'intervento programmato (1)
  • selezionare le macchine interessate tramite il selettore a lato
    • è possibile ricercare le macchine inserendo il nome o parte del nome nel box ricerca sopra il selettore e premendo invio - svuotare e premere invio per tornare alla visualizzazione di tutte le macchine (2)
    • selezionare tra le macchine presenti nel selettore quelle desiderate (per selezionarne più di una contemporaneamente cliccare sui nomi macchina tenendo premuto il tasto ctrl della tastiera) (3)
  • selezionare i dettagli dell'intervento (4)
  • confermare l'inserimento con il pulsante "Crea interventi di manutenzione programmata" (5)
fig. 3 - Inserimento manutenzione programmata
+ + +
+ + + PreviousReportistica + + + + + FAQ - Domande frequentiNext + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_26_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_26_maincontent.html new file mode 100644 index 0000000..0f2fa22 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_26_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (4/8) + + + + + Utilizzo Gestione Anagrafiche (6/8)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (5/8)
fig. 1 - Gestione apertura impianti
Gestione aperture impianti
Tramite la gestione aperture impianti si possono definire le ore di apertura giornaliere degli impianti per la corretta definizione dei report. La modifica avviene come per le altre anagrafiche cliccando sul simbolo della matita gialla, confermando le modifiche con il segno di spunta verde o annullandole con la x rossa (fig. 1).
Calendario chiusura
fig. 2 - Gestione chiusura
Con la funzionalità di gestione calendario chiusura è possibile inserire i giorni festivi/non lavorativi dell'anno al fine di ottenere una reportistica corretta che escluda i giorni non lavorativi (fig. 2).

Tramite l'elenco dei giorni di chiusura inserire come per le altre anagrafiche i giorni desiderati
  • cliccare su nuovo - verrà inserito un record con il giorno corrente
  • modificare il record appena inserito cliccando sulla matita gialla
  • selezionare dal selettore calendario la data desiderata e inserire una descrizione relativa
  • conferma la scelta con il segno di spunta verde o annullarla con la x rossa

Per inserire un intervallo di date
  • cliccare sul pulsante "Mostra inserimento periodo fermata" presente nella pagina
  • inserire le due date cliccando sui riquadri di testo per far comparire il selettore a comparsa del calendario
  • inserire una descrizione
  • confermare l'inserimento cliccando sul pulsante "Inserisci fermate per il periodo indicato"
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (4/8) + + + + + Utilizzo Gestione Anagrafiche (6/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_30_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_30_maincontent.html new file mode 100644 index 0000000..b3efc24 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_30_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousManutenzione programmata + + + + + Contatti e supportoNext + +
+ + + +
FAQ - Domande frequenti
Risposte alle domande più frequenti
  • Come posso modificare i record presenti nelle tabelle anagrafiche?
    • Per modificare i record cliccare sull'icona della matita gialla per entrare in modalità "modifica"; apportare le modifiche desiderate (compilare i campi, selezionare date etc...) e quindi confermare cliccando sul segno di spunta verde o annullare cliccando sulla x rossa. Per inserire nuovi recordo cliccare innanzitutto il pulsante "nuovo" e poi procedere come per la modifica.
    • Per dettagli vedere Utilizzo gestione anagrafiche
  • Come usare il selettore a comparsa per le date?
    • Cliccando sul riquadro in cui inserire la data apparirà un selettore calendario con cui selezionare mese e giorno desiderato. Cliccare sul giorno scelto e l'applicativo inserirà nel riquadro al data selezionata. Proseguire poi con la modifica dei successivi campi.
  • Come prendere in carico una richiesta di manutenzione?
    • Per prendere in carico una richiesta cliccare sul simbolo della stampante presente in Elenco richieste per le richieste non ancora prese in carico. La richiesta di manutenzione verrà stampata sulla stampante predefinita e presa contestualmente in carico.
  • Come stampare le richieste di intervento e la reportistica?
    • Quando presente l'icona pdf accanto a una voce è possibile cliccarla per generare un pdf stampabile della richiesta o del report. Quando viene presa in carico una richiesta viene automaticamente stampata la richiesta sulla stampante predefinita.
    • Per dettagli vedere Reportistica impianti e interventi
  • Come cambiare un'etichetta di testo descrittiva?
    • Per modificare un'etichetta di testo utilizzare la funzione vocabolario presente nel menu a sinistra. Tramite l'interfaccia vocabolario ricercare la voce da modificare e modificare come per un normale record la voce, se desiderato oltre alla traduzione italiana (contraddistinta da IT) modificare anche la traduzione inglese (EN).
+ + +
+ + + PreviousManutenzione programmata + + + + + Contatti e supportoNext + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_31_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_31_maincontent.html new file mode 100644 index 0000000..94583ed --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_31_maincontent.html @@ -0,0 +1,92 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + +
+ + + Learning Module ILIAS Manuale WebGIM + + + + > + + Contatti e supporto
+ + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousFAQ - Domande frequenti + + + +
+ + + +
Contatti e supporto
Per ottenere supporto relativo all'applicativo contattate
+ + +
+ + + PreviousFAQ - Domande frequenti + + + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_33_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_33_maincontent.html new file mode 100644 index 0000000..7a81630 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_33_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousIntroduzione + + + + + Utilizzo Gestione Anagrafiche (1/8)Next + +
+ + + +
Registrazione utenti
L'accesso all'applicativo è possibile tramite autenticazione dell'utente.

Se l'utente non è stato ancora abilitato all'utilizzo dell'applicazione verrà mostrata al primo accesso la schermata di "Registrazione nuovo utente" (fig.1). Inserire i propri dati e cliccare sul pulsante "Salva" per registrarsi all'applicativo.
E' necessario effettuare questa operazione soltanto al primo accesso, successivamente l'utente verrà riconosciuto in automatico dall'applicazione.
fig. 1 - Registrazione nuovo utente
Gli utenti autorizzati possono inoltre gestire i livelli di autorizzazione degli utenti (base o avanzato) tramite il pannello raggiungibile cliccando sulla voce "Gestione utenti" del menu anagrafiche di base.

Tramite questo pannello (fig.2) è possibile promuovere gli utenti base (ai nuovi utenti registrati tramite "Registrazione nuovo utente" vengono assegnati i permessi di base) o rimuovere gli utenti avanzati assegnando permessi base.
Per farlo cliccare sulla lente di ingradimento a fianco del nome utente desiderato e cliccare "promuovi" per spostare l'utente dalla tabella base azzurra alla tabella avanzata rossa assegnando diritti avanzati oppure "rimuovi" per spostare l'utente dalla tabella avanzata alla tabella base assegnando i diritti base.
fig. 2 - Gestione utenti
+ + +
+ + + PreviousIntroduzione + + + + + Utilizzo Gestione Anagrafiche (1/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_34_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_34_maincontent.html new file mode 100644 index 0000000..8d7e6fb --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_34_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (5/8) + + + + + Utilizzo Gestione Anagrafiche (7/8)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (6/8)
Tramite la sezione "Gestione famiglie macchine" a cui si accede cliccando la voce di menu "Fam.macchine" nel menu anagrafiche di base è possibile creare e gestire famiglie di macchine e assegnare a ciascuna famiglia le macchine relative.
In particolare (fig. 1)
  • la sezione 1 permette la modifica e l'inserimento delle famiglie come per tutte le anagrafiche
  • selezionando una famiglia cliccando sulla lente di ingradimento a fianco del nome apparirà la sezione 2 che mostra e consente di visualizzare o cancellare le macchine associate
  • per associare macchine alle famiglie selezionarle dalla sezione 3 (a comparsa, cliccando sul pulsante mostra selettore macchine da aggiungere) e cliccare su aggiungi macchine. L'utilizzo è del tutto simile a quello degli altri selettori di questo tipo, che permettono ricerca tramite il box in alto e selezione multipla tramite l'utilizzo del tasto ctrl associato al click del mouse
fig.1 - Gestione famiglie macchine
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (5/8) + + + + + Utilizzo Gestione Anagrafiche (7/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_35_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_35_maincontent.html new file mode 100644 index 0000000..78f079a --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_35_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (6/8) + + + + + Utilizzo Gestione Anagrafiche (8/8)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (7/8)
Tramite la funzione "Gestione causali" (fig. 1) è possibile gestire le causali per famiglie macchine, aggiungendo, modificando o eliminando le causali in modo del tutto simile alle altre anagrafiche.
fig. 1 - Gestione causali
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (6/8) + + + + + Utilizzo Gestione Anagrafiche (8/8)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_69_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_69_maincontent.html new file mode 100644 index 0000000..29c0aa7 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_69_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousUtilizzo Gestione Anagrafiche (7/8) + + + + + Interventi Manutenzione (1/4)Next + +
+ + + +
Utilizzo Gestione Anagrafiche (8/8)
Tramite la funzione "Operatori Mtz" è possibile definire matricola e nome degli operatori manutenzione, che saranno disponibili nella scheda di dettaglio dell'intervento tramite un menu a tendina. Compilare come per le altre anagrafiche i campi "Matricola op.", "Cognome" e "Nome".

La matricola 0000 non è eliminabile e rappresenta l'utente di default sempre esistente.
fig. 1 - Operatori Mtz
+ + +
+ + + PreviousUtilizzo Gestione Anagrafiche (7/8) + + + + + Interventi Manutenzione (1/4)Next + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_70_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_70_maincontent.html new file mode 100644 index 0000000..b72fa76 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_70_maincontent.html @@ -0,0 +1,98 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + + + + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + PreviousInterventi Manutenzione (3/4) + + + + + ReportisticaNext + +
+ + + +
Interventi Manutenzione (4/4)
Cliccando sulla voce di menu "Manutenzione programmata" (fig. 1) è possibile inserire e/o visualizzare gli interventi di manutenzione programmata. Questa sezione permette di inserire manutenzioni programmate a scadenza prestabilita e di impostarle per i periodi di riferimento così che vengano registrate automaticamente e presentate nell'elenco richieste.
fig. 1 - Manutenzione programmata
Utilizzando la prima scheda "Programmazione interventi" e cliccando su "Mostra crea nuovo" è possibile inserire un intervento programmato: definire in fase di inserimento i dettagli relativi all'intervento in modo simile all'inserimento richiesta di intervento e cliccare il pulsante "Crea interventi di manutenzione programmata" una volta terminato.
fig. 2 - Inserimento intervento programmato
Cliccando sulla seconda scheda "Elenco interventi in scadenza" vengono visualizzati i prossimi interventi in scadenza, che comunque verranno automaticamente inseriti negli interventi manutenzione alla data prestabilita.
fig. 3 - Interventi in scadenza
+ + +
+ + + PreviousInterventi Manutenzione (3/4) + + + + + ReportisticaNext + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_8_maincontent.html b/Projects/WebGIM/GIM_site/help/frame_8_maincontent.html new file mode 100644 index 0000000..ed29547 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_8_maincontent.html @@ -0,0 +1,92 @@ + + + + + ILIAS 3 + + + + + + + + + + + + + + + +
+ + + Learning Module ILIAS Manuale WebGIM + + + + > + + Introduzione
+ + + +

  + Manuale WebGIM

+ + +
+ + + + + + + + + + + + + + + + + +
+ + + + + Registrazione utentiNext + +
+ + + +
Introduzione
L'applicazione base WebGIM permette una gestione integrata della manutenzione tramite l'inserimento delle richieste di manutenzione, la consultazione dell'elenco richieste aperte, in corso e concluse, e la gestione di anagrafiche e reportistiche tramite interfaccia web.
Il modulo aggiuntivo implementato permette di inserire interventi di manutenzione programmata.
La guida consente di utilizzare al meglio le funzionalità dell'applicazione illustrandone punto per punto il funzionamento.
Per utilizzare l'applicazione è necessario collegarsi con un browser web all'indirizzo relativo all'installazione ed effettuare il login con le proprie credenziali.
La schermata iniziale (vedi fig. 1) presenta il menu laterale a sinistra che contiene tutte le funzionalità accessibili dall'utente corrente.
fig. 1 - Schermata Iniziale
Le schermate e i relativi menu mostrati sono puramente indicativi in quanto l'applicativo mostra voci di menu e funzionalità in base ai permessi assegnati all'utente che utilizza l'applicazione.
+ + +
+ + + + + Registrazione utentiNext + +
+ +
+ +
+ +
+ + diff --git a/Projects/WebGIM/GIM_site/help/frame_toc.html b/Projects/WebGIM/GIM_site/help/frame_toc.html new file mode 100644 index 0000000..502261c --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/frame_toc.html @@ -0,0 +1,1018 @@ + + + + + ILIAS 3 + + + + + + + + +
+Table of Contents +
+
+
+
+ + + + + + + + + + + + + +
+
+ +
+ + + diff --git a/Projects/WebGIM/GIM_site/help/fullscreen_205.html b/Projects/WebGIM/GIM_site/help/fullscreen_205.html new file mode 100644 index 0000000..684773e --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/fullscreen_205.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Fig. 1 - Inserimento nuova richiesta
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/fullscreen_251.html b/Projects/WebGIM/GIM_site/help/fullscreen_251.html new file mode 100644 index 0000000..b80070d --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/fullscreen_251.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 1 - Manutenzione programmata
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/fullscreen_253.html b/Projects/WebGIM/GIM_site/help/fullscreen_253.html new file mode 100644 index 0000000..3ed62bf --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/fullscreen_253.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/fullscreen_254.html b/Projects/WebGIM/GIM_site/help/fullscreen_254.html new file mode 100644 index 0000000..e4c2943 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/fullscreen_254.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/fullscreen_255.html b/Projects/WebGIM/GIM_site/help/fullscreen_255.html new file mode 100644 index 0000000..221d21d --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/fullscreen_255.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 4 - dettaglio interventi
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/images/._browser b/Projects/WebGIM/GIM_site/help/images/._browser new file mode 100644 index 0000000..a3e4988 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._browser differ diff --git a/Projects/WebGIM/GIM_site/help/images/._download.gif b/Projects/WebGIM/GIM_site/help/images/._download.gif new file mode 100644 index 0000000..fe1757d Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._download.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._enlarge.gif b/Projects/WebGIM/GIM_site/help/images/._enlarge.gif new file mode 100644 index 0000000..fa9c9a8 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._enlarge.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._icon_lm.gif b/Projects/WebGIM/GIM_site/help/images/._icon_lm.gif new file mode 100644 index 0000000..5f5feec Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._icon_lm.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._icon_lm_s.gif b/Projects/WebGIM/GIM_site/help/images/._icon_lm_s.gif new file mode 100644 index 0000000..21422be Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._icon_lm_s.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._icon_pg.gif b/Projects/WebGIM/GIM_site/help/images/._icon_pg.gif new file mode 100644 index 0000000..03fdd23 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._icon_pg.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._icon_pg_s.gif b/Projects/WebGIM/GIM_site/help/images/._icon_pg_s.gif new file mode 100644 index 0000000..0b033bd Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._icon_pg_s.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._icon_st.gif b/Projects/WebGIM/GIM_site/help/images/._icon_st.gif new file mode 100644 index 0000000..c2b9492 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._icon_st.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._icon_st_s.gif b/Projects/WebGIM/GIM_site/help/images/._icon_st_s.gif new file mode 100644 index 0000000..16ee7f2 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._icon_st_s.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._nav_arr_L.gif b/Projects/WebGIM/GIM_site/help/images/._nav_arr_L.gif new file mode 100644 index 0000000..66c3aac Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._nav_arr_L.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/._nav_arr_R.gif b/Projects/WebGIM/GIM_site/help/images/._nav_arr_R.gif new file mode 100644 index 0000000..f3979f6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/._nav_arr_R.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/browser/._blank.gif b/Projects/WebGIM/GIM_site/help/images/browser/._blank.gif new file mode 100644 index 0000000..0869ebc Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/browser/._blank.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/browser/._minus.gif b/Projects/WebGIM/GIM_site/help/images/browser/._minus.gif new file mode 100644 index 0000000..ba447b8 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/browser/._minus.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/browser/._plus.gif b/Projects/WebGIM/GIM_site/help/images/browser/._plus.gif new file mode 100644 index 0000000..b846f35 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/browser/._plus.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/browser/blank.gif b/Projects/WebGIM/GIM_site/help/images/browser/blank.gif new file mode 100644 index 0000000..4421225 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/browser/blank.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/browser/minus.gif b/Projects/WebGIM/GIM_site/help/images/browser/minus.gif new file mode 100644 index 0000000..4421225 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/browser/minus.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/browser/plus.gif b/Projects/WebGIM/GIM_site/help/images/browser/plus.gif new file mode 100644 index 0000000..4421225 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/browser/plus.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/download.gif b/Projects/WebGIM/GIM_site/help/images/download.gif new file mode 100644 index 0000000..becbcce Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/download.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/enlarge.gif b/Projects/WebGIM/GIM_site/help/images/enlarge.gif new file mode 100644 index 0000000..c60056d Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/enlarge.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/icon_lm.gif b/Projects/WebGIM/GIM_site/help/images/icon_lm.gif new file mode 100644 index 0000000..5eb1bb4 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/icon_lm.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/icon_lm_s.gif b/Projects/WebGIM/GIM_site/help/images/icon_lm_s.gif new file mode 100644 index 0000000..c341385 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/icon_lm_s.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/icon_pg.gif b/Projects/WebGIM/GIM_site/help/images/icon_pg.gif new file mode 100644 index 0000000..f6e59cd Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/icon_pg.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/icon_pg_s.gif b/Projects/WebGIM/GIM_site/help/images/icon_pg_s.gif new file mode 100644 index 0000000..6270a5b Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/icon_pg_s.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/icon_st.gif b/Projects/WebGIM/GIM_site/help/images/icon_st.gif new file mode 100644 index 0000000..a2d14f3 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/icon_st.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/icon_st_s.gif b/Projects/WebGIM/GIM_site/help/images/icon_st_s.gif new file mode 100644 index 0000000..0ee8f70 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/icon_st_s.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/nav_arr_L.gif b/Projects/WebGIM/GIM_site/help/images/nav_arr_L.gif new file mode 100644 index 0000000..3e1b23a Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/nav_arr_L.gif differ diff --git a/Projects/WebGIM/GIM_site/help/images/nav_arr_R.gif b/Projects/WebGIM/GIM_site/help/images/nav_arr_R.gif new file mode 100644 index 0000000..70702dd Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/images/nav_arr_R.gif differ diff --git a/Projects/WebGIM/GIM_site/help/index.html b/Projects/WebGIM/GIM_site/help/index.html new file mode 100644 index 0000000..adec63b --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/index.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_10.html b/Projects/WebGIM/GIM_site/help/lm_pg_10.html new file mode 100644 index 0000000..a15f925 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_10.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_11.html b/Projects/WebGIM/GIM_site/help/lm_pg_11.html new file mode 100644 index 0000000..24affa6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_11.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_14.html b/Projects/WebGIM/GIM_site/help/lm_pg_14.html new file mode 100644 index 0000000..fc2938f --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_14.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_15.html b/Projects/WebGIM/GIM_site/help/lm_pg_15.html new file mode 100644 index 0000000..626f593 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_15.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_17.html b/Projects/WebGIM/GIM_site/help/lm_pg_17.html new file mode 100644 index 0000000..ee075ab --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_17.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_18.html b/Projects/WebGIM/GIM_site/help/lm_pg_18.html new file mode 100644 index 0000000..f258f20 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_18.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_19.html b/Projects/WebGIM/GIM_site/help/lm_pg_19.html new file mode 100644 index 0000000..b2c9531 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_19.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_23.html b/Projects/WebGIM/GIM_site/help/lm_pg_23.html new file mode 100644 index 0000000..37a9aeb --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_23.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_25.html b/Projects/WebGIM/GIM_site/help/lm_pg_25.html new file mode 100644 index 0000000..1908d57 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_25.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_26.html b/Projects/WebGIM/GIM_site/help/lm_pg_26.html new file mode 100644 index 0000000..db7e266 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_26.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_30.html b/Projects/WebGIM/GIM_site/help/lm_pg_30.html new file mode 100644 index 0000000..b6c3e0f --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_30.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_31.html b/Projects/WebGIM/GIM_site/help/lm_pg_31.html new file mode 100644 index 0000000..570b412 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_31.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_33.html b/Projects/WebGIM/GIM_site/help/lm_pg_33.html new file mode 100644 index 0000000..0a3d2fb --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_33.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_34.html b/Projects/WebGIM/GIM_site/help/lm_pg_34.html new file mode 100644 index 0000000..3d5baf9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_34.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_35.html b/Projects/WebGIM/GIM_site/help/lm_pg_35.html new file mode 100644 index 0000000..a11c1f1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_35.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_69.html b/Projects/WebGIM/GIM_site/help/lm_pg_69.html new file mode 100644 index 0000000..0193eb0 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_69.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_70.html b/Projects/WebGIM/GIM_site/help/lm_pg_70.html new file mode 100644 index 0000000..a9ca4fb --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_70.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/lm_pg_8.html b/Projects/WebGIM/GIM_site/help/lm_pg_8.html new file mode 100644 index 0000000..adec63b --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/lm_pg_8.html @@ -0,0 +1,14 @@ + + + + ILIAS - Manuale WebGIM + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/help/media_169.html b/Projects/WebGIM/GIM_site/help/media_169.html new file mode 100644 index 0000000..932919b --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_169.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_172.html b/Projects/WebGIM/GIM_site/help/media_172.html new file mode 100644 index 0000000..e60ffcf --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_172.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
modifica voci anagrafica
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_174.html b/Projects/WebGIM/GIM_site/help/media_174.html new file mode 100644 index 0000000..380ca66 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_174.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
creazione nuove voci
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_175.html b/Projects/WebGIM/GIM_site/help/media_175.html new file mode 100644 index 0000000..de81da9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_175.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
gestione priorità
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_176.html b/Projects/WebGIM/GIM_site/help/media_176.html new file mode 100644 index 0000000..8c8a87e --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_176.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Gestione reparti
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_177.html b/Projects/WebGIM/GIM_site/help/media_177.html new file mode 100644 index 0000000..4948fdf --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_177.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Gestione macchine
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_178.html b/Projects/WebGIM/GIM_site/help/media_178.html new file mode 100644 index 0000000..e026c8d --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_178.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Cancellazione voce
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_179.html b/Projects/WebGIM/GIM_site/help/media_179.html new file mode 100644 index 0000000..b625784 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_179.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Ricerca voci
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_180.html b/Projects/WebGIM/GIM_site/help/media_180.html new file mode 100644 index 0000000..abd8cc7 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_180.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Gestione macchine-reparti
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_181.html b/Projects/WebGIM/GIM_site/help/media_181.html new file mode 100644 index 0000000..beba7ee --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_181.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Inserimento nuova richiesta
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_182.html b/Projects/WebGIM/GIM_site/help/media_182.html new file mode 100644 index 0000000..0ab8dac --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_182.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Elenco richieste
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_183.html b/Projects/WebGIM/GIM_site/help/media_183.html new file mode 100644 index 0000000..845fdb2 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_183.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Ricerca manutenzione programmata
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_184.html b/Projects/WebGIM/GIM_site/help/media_184.html new file mode 100644 index 0000000..341b62a --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_184.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Inserimento richiesta programmata
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_185.html b/Projects/WebGIM/GIM_site/help/media_185.html new file mode 100644 index 0000000..b346a20 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_185.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
icona cestino
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_186.html b/Projects/WebGIM/GIM_site/help/media_186.html new file mode 100644 index 0000000..0474a5d --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_186.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
modalità sola lettura
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_187.html b/Projects/WebGIM/GIM_site/help/media_187.html new file mode 100644 index 0000000..5a14f8a --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_187.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 2 - modalità di edit
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_188.html b/Projects/WebGIM/GIM_site/help/media_188.html new file mode 100644 index 0000000..b7538aa --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_188.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 3 - update e annulla
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_189.html b/Projects/WebGIM/GIM_site/help/media_189.html new file mode 100644 index 0000000..522b69d --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_189.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 4 - dettaglio interventi
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_190.html b/Projects/WebGIM/GIM_site/help/media_190.html new file mode 100644 index 0000000..e9ddfc4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_190.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Gestione apertura impianti
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_191.html b/Projects/WebGIM/GIM_site/help/media_191.html new file mode 100644 index 0000000..b5047a8 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_191.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Gestione chiusura
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_192.html b/Projects/WebGIM/GIM_site/help/media_192.html new file mode 100644 index 0000000..d84a65f --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_192.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Elenco macchine
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_194.html b/Projects/WebGIM/GIM_site/help/media_194.html new file mode 100644 index 0000000..17e2bde --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_194.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Report MTBF - MTTR
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_195.html b/Projects/WebGIM/GIM_site/help/media_195.html new file mode 100644 index 0000000..3c331fb --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_195.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 1- Report richiesta intervento
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_196.html b/Projects/WebGIM/GIM_site/help/media_196.html new file mode 100644 index 0000000..ed43f80 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_196.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 5 - Selettore a comparsa
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_197.html b/Projects/WebGIM/GIM_site/help/media_197.html new file mode 100644 index 0000000..f583391 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_197.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 2 - Inserimento manutenzione programmata
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_198.html b/Projects/WebGIM/GIM_site/help/media_198.html new file mode 100644 index 0000000..67066ae --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_198.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_201.html b/Projects/WebGIM/GIM_site/help/media_201.html new file mode 100644 index 0000000..1113fa9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_201.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 1 - Registrazione nuovo utente
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_202.html b/Projects/WebGIM/GIM_site/help/media_202.html new file mode 100644 index 0000000..ca485d4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_202.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 2 - Gestione utenti
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_203.html b/Projects/WebGIM/GIM_site/help/media_203.html new file mode 100644 index 0000000..c4c7705 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_203.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig.1 - Gestione famiglie macchine
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_204.html b/Projects/WebGIM/GIM_site/help/media_204.html new file mode 100644 index 0000000..1d8ae73 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_204.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 1 - Gestione causali
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_205.html b/Projects/WebGIM/GIM_site/help/media_205.html new file mode 100644 index 0000000..88c86af --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_205.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
Fig. 1 - Inserimento nuova richiesta
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_206.html b/Projects/WebGIM/GIM_site/help/media_206.html new file mode 100644 index 0000000..d58269f --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_206.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 1 - Modalità sola lettura
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_208.html b/Projects/WebGIM/GIM_site/help/media_208.html new file mode 100644 index 0000000..6008397 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_208.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_250.html b/Projects/WebGIM/GIM_site/help/media_250.html new file mode 100644 index 0000000..6f457b3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_250.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 1 - Operatori Mtz
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_251.html b/Projects/WebGIM/GIM_site/help/media_251.html new file mode 100644 index 0000000..499e489 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_251.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 1 - Manutenzione programmata
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_253.html b/Projects/WebGIM/GIM_site/help/media_253.html new file mode 100644 index 0000000..e21d6a5 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_253.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_254.html b/Projects/WebGIM/GIM_site/help/media_254.html new file mode 100644 index 0000000..e6ce168 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_254.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 2 - Inserimento intervento programmato
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/media_255.html b/Projects/WebGIM/GIM_site/help/media_255.html new file mode 100644 index 0000000..954c17b --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/media_255.html @@ -0,0 +1,22 @@ + + + + + ILIAS 3 + + + + + + + + +
+ +
fig. 4 - dettaglio interventi
+ + +
+ + diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_169/._home.png b/Projects/WebGIM/GIM_site/help/mobs/mm_169/._home.png new file mode 100644 index 0000000..5a526e9 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_169/._home.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_169/home.png b/Projects/WebGIM/GIM_site/help/mobs/mm_169/home.png new file mode 100644 index 0000000..f66cd27 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_169/home.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_172/._ambiti3.png b/Projects/WebGIM/GIM_site/help/mobs/mm_172/._ambiti3.png new file mode 100644 index 0000000..f1a89ad Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_172/._ambiti3.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_172/ambiti3.png b/Projects/WebGIM/GIM_site/help/mobs/mm_172/ambiti3.png new file mode 100644 index 0000000..cd456fe Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_172/ambiti3.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_174/._ambiti2.png b/Projects/WebGIM/GIM_site/help/mobs/mm_174/._ambiti2.png new file mode 100644 index 0000000..d50bbe2 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_174/._ambiti2.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_174/ambiti2.png b/Projects/WebGIM/GIM_site/help/mobs/mm_174/ambiti2.png new file mode 100644 index 0000000..c08e753 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_174/ambiti2.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_175/._priorita.png b/Projects/WebGIM/GIM_site/help/mobs/mm_175/._priorita.png new file mode 100644 index 0000000..05a7755 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_175/._priorita.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_175/priorita.png b/Projects/WebGIM/GIM_site/help/mobs/mm_175/priorita.png new file mode 100644 index 0000000..142654b Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_175/priorita.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_176/._reparti.png b/Projects/WebGIM/GIM_site/help/mobs/mm_176/._reparti.png new file mode 100644 index 0000000..a4c8e51 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_176/._reparti.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_176/reparti.png b/Projects/WebGIM/GIM_site/help/mobs/mm_176/reparti.png new file mode 100644 index 0000000..31e2bfe Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_176/reparti.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_177/._macchine.png b/Projects/WebGIM/GIM_site/help/mobs/mm_177/._macchine.png new file mode 100644 index 0000000..a25da0f Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_177/._macchine.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_177/macchine.png b/Projects/WebGIM/GIM_site/help/mobs/mm_177/macchine.png new file mode 100644 index 0000000..a212a46 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_177/macchine.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_178/._cancellazione.png b/Projects/WebGIM/GIM_site/help/mobs/mm_178/._cancellazione.png new file mode 100644 index 0000000..859d21b Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_178/._cancellazione.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_178/cancellazione.png b/Projects/WebGIM/GIM_site/help/mobs/mm_178/cancellazione.png new file mode 100644 index 0000000..11b6866 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_178/cancellazione.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_179/._ricerca.png b/Projects/WebGIM/GIM_site/help/mobs/mm_179/._ricerca.png new file mode 100644 index 0000000..310134b Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_179/._ricerca.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_179/ricerca.png b/Projects/WebGIM/GIM_site/help/mobs/mm_179/ricerca.png new file mode 100644 index 0000000..04ea8f0 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_179/ricerca.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_180/._macchine_reparti.png b/Projects/WebGIM/GIM_site/help/mobs/mm_180/._macchine_reparti.png new file mode 100644 index 0000000..66d6034 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_180/._macchine_reparti.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_180/macchine_reparti.png b/Projects/WebGIM/GIM_site/help/mobs/mm_180/macchine_reparti.png new file mode 100644 index 0000000..f5ebfbc Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_180/macchine_reparti.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_181/._richiesta.png b/Projects/WebGIM/GIM_site/help/mobs/mm_181/._richiesta.png new file mode 100644 index 0000000..ea476b9 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_181/._richiesta.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_181/richiesta.png b/Projects/WebGIM/GIM_site/help/mobs/mm_181/richiesta.png new file mode 100644 index 0000000..3834bc2 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_181/richiesta.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_182/._elencoRichieste.png b/Projects/WebGIM/GIM_site/help/mobs/mm_182/._elencoRichieste.png new file mode 100644 index 0000000..42bfdb1 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_182/._elencoRichieste.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_182/elencoRichieste.png b/Projects/WebGIM/GIM_site/help/mobs/mm_182/elencoRichieste.png new file mode 100644 index 0000000..c4a2efa Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_182/elencoRichieste.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_183/._mtzGenerale.png b/Projects/WebGIM/GIM_site/help/mobs/mm_183/._mtzGenerale.png new file mode 100644 index 0000000..00ff512 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_183/._mtzGenerale.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_183/mtzGenerale.png b/Projects/WebGIM/GIM_site/help/mobs/mm_183/mtzGenerale.png new file mode 100644 index 0000000..cfb0f28 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_183/mtzGenerale.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_184/._mtzProgrammata.png b/Projects/WebGIM/GIM_site/help/mobs/mm_184/._mtzProgrammata.png new file mode 100644 index 0000000..a25f103 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_184/._mtzProgrammata.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_184/mtzProgrammata.png b/Projects/WebGIM/GIM_site/help/mobs/mm_184/mtzProgrammata.png new file mode 100644 index 0000000..809378d Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_184/mtzProgrammata.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_185/._iconaCestino.png b/Projects/WebGIM/GIM_site/help/mobs/mm_185/._iconaCestino.png new file mode 100644 index 0000000..44cfefe Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_185/._iconaCestino.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_185/iconaCestino.png b/Projects/WebGIM/GIM_site/help/mobs/mm_185/iconaCestino.png new file mode 100644 index 0000000..ac7fcab Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_185/iconaCestino.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_186/._mtz1Read.png b/Projects/WebGIM/GIM_site/help/mobs/mm_186/._mtz1Read.png new file mode 100644 index 0000000..ce77690 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_186/._mtz1Read.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_186/mtz1Read.png b/Projects/WebGIM/GIM_site/help/mobs/mm_186/mtz1Read.png new file mode 100644 index 0000000..e1ced69 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_186/mtz1Read.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_187/._pulsantiEditMtz.png b/Projects/WebGIM/GIM_site/help/mobs/mm_187/._pulsantiEditMtz.png new file mode 100644 index 0000000..b4d5438 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_187/._pulsantiEditMtz.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_187/pulsantiEditMtz.png b/Projects/WebGIM/GIM_site/help/mobs/mm_187/pulsantiEditMtz.png new file mode 100644 index 0000000..6dbc115 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_187/pulsantiEditMtz.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_188/._pulsantiEditMtz2.png b/Projects/WebGIM/GIM_site/help/mobs/mm_188/._pulsantiEditMtz2.png new file mode 100644 index 0000000..1991f94 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_188/._pulsantiEditMtz2.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_188/pulsantiEditMtz2.png b/Projects/WebGIM/GIM_site/help/mobs/mm_188/pulsantiEditMtz2.png new file mode 100644 index 0000000..d8ae168 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_188/pulsantiEditMtz2.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_189/._dettInterventi.png b/Projects/WebGIM/GIM_site/help/mobs/mm_189/._dettInterventi.png new file mode 100644 index 0000000..5348e62 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_189/._dettInterventi.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_189/dettInterventi.png b/Projects/WebGIM/GIM_site/help/mobs/mm_189/dettInterventi.png new file mode 100644 index 0000000..e240dae Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_189/dettInterventi.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_190/._aperturaImpianti.png b/Projects/WebGIM/GIM_site/help/mobs/mm_190/._aperturaImpianti.png new file mode 100644 index 0000000..2f92fe7 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_190/._aperturaImpianti.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_190/aperturaImpianti.png b/Projects/WebGIM/GIM_site/help/mobs/mm_190/aperturaImpianti.png new file mode 100644 index 0000000..c2039a1 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_190/aperturaImpianti.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_191/._festivita.png b/Projects/WebGIM/GIM_site/help/mobs/mm_191/._festivita.png new file mode 100644 index 0000000..3c238e0 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_191/._festivita.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_191/festivita.png b/Projects/WebGIM/GIM_site/help/mobs/mm_191/festivita.png new file mode 100644 index 0000000..0fa7091 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_191/festivita.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_192/._elencoMacchine.png b/Projects/WebGIM/GIM_site/help/mobs/mm_192/._elencoMacchine.png new file mode 100644 index 0000000..e6bd19e Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_192/._elencoMacchine.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_192/elencoMacchine.png b/Projects/WebGIM/GIM_site/help/mobs/mm_192/elencoMacchine.png new file mode 100644 index 0000000..519aed6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_192/elencoMacchine.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_194/._mtbfmttr.png b/Projects/WebGIM/GIM_site/help/mobs/mm_194/._mtbfmttr.png new file mode 100644 index 0000000..951a476 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_194/._mtbfmttr.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_194/mtbfmttr.png b/Projects/WebGIM/GIM_site/help/mobs/mm_194/mtbfmttr.png new file mode 100644 index 0000000..fd7f132 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_194/mtbfmttr.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_195/._richiestaItervento.png b/Projects/WebGIM/GIM_site/help/mobs/mm_195/._richiestaItervento.png new file mode 100644 index 0000000..67b895f Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_195/._richiestaItervento.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_195/richiestaItervento.png b/Projects/WebGIM/GIM_site/help/mobs/mm_195/richiestaItervento.png new file mode 100644 index 0000000..b336812 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_195/richiestaItervento.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_196/._selettore.png b/Projects/WebGIM/GIM_site/help/mobs/mm_196/._selettore.png new file mode 100644 index 0000000..a95df54 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_196/._selettore.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_196/selettore.png b/Projects/WebGIM/GIM_site/help/mobs/mm_196/selettore.png new file mode 100644 index 0000000..e86fcb7 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_196/selettore.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_197/._mtzProgrammata.png b/Projects/WebGIM/GIM_site/help/mobs/mm_197/._mtzProgrammata.png new file mode 100644 index 0000000..9e32196 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_197/._mtzProgrammata.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_197/mtzProgrammata.png b/Projects/WebGIM/GIM_site/help/mobs/mm_197/mtzProgrammata.png new file mode 100644 index 0000000..b790453 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_197/mtzProgrammata.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_198/logosw.png b/Projects/WebGIM/GIM_site/help/mobs/mm_198/logosw.png new file mode 100644 index 0000000..1ccd4af Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_198/logosw.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_201/Immagine 1.png b/Projects/WebGIM/GIM_site/help/mobs/mm_201/Immagine 1.png new file mode 100644 index 0000000..47bf5e4 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_201/Immagine 1.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_202/Immagine 2.png b/Projects/WebGIM/GIM_site/help/mobs/mm_202/Immagine 2.png new file mode 100644 index 0000000..1ca8b86 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_202/Immagine 2.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_203/Immagine 11.png b/Projects/WebGIM/GIM_site/help/mobs/mm_203/Immagine 11.png new file mode 100644 index 0000000..22fd71c Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_203/Immagine 11.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_204/Immagine 12.png b/Projects/WebGIM/GIM_site/help/mobs/mm_204/Immagine 12.png new file mode 100644 index 0000000..3ff0eaf Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_204/Immagine 12.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_205/Immagine 13.png b/Projects/WebGIM/GIM_site/help/mobs/mm_205/Immagine 13.png new file mode 100644 index 0000000..6da95b3 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_205/Immagine 13.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_206/Immagine 14.jpg b/Projects/WebGIM/GIM_site/help/mobs/mm_206/Immagine 14.jpg new file mode 100644 index 0000000..10ed1ad Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_206/Immagine 14.jpg differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_208/logoIliasSW.png b/Projects/WebGIM/GIM_site/help/mobs/mm_208/logoIliasSW.png new file mode 100644 index 0000000..0dfcd32 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_208/logoIliasSW.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_250/operatoriMtz.png b/Projects/WebGIM/GIM_site/help/mobs/mm_250/operatoriMtz.png new file mode 100644 index 0000000..ca90619 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_250/operatoriMtz.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_251/ProgrammazioneInterventi.png b/Projects/WebGIM/GIM_site/help/mobs/mm_251/ProgrammazioneInterventi.png new file mode 100644 index 0000000..f28a090 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_251/ProgrammazioneInterventi.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_253/interventiScadenza.png b/Projects/WebGIM/GIM_site/help/mobs/mm_253/interventiScadenza.png new file mode 100644 index 0000000..de86021 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_253/interventiScadenza.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_254/inserimentoINterventiProg.png b/Projects/WebGIM/GIM_site/help/mobs/mm_254/inserimentoINterventiProg.png new file mode 100644 index 0000000..2e9b7f6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_254/inserimentoINterventiProg.png differ diff --git a/Projects/WebGIM/GIM_site/help/mobs/mm_255/dettOp.png b/Projects/WebGIM/GIM_site/help/mobs/mm_255/dettOp.png new file mode 100644 index 0000000..4b9bb57 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/mobs/mm_255/dettOp.png differ diff --git a/Projects/WebGIM/GIM_site/help/syntaxhighlight.css b/Projects/WebGIM/GIM_site/help/syntaxhighlight.css new file mode 100644 index 0000000..e8e786e --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/syntaxhighlight.css @@ -0,0 +1,70 @@ +p.ilc_Code { + +} + +table.ilc_Sourcecode { + border: 1px solid black; + background: white; + padding: 5px; + margin: 10px 0px; +} + +td.ilc_LineNumbers { + background: #ffffff; + padding-left: 10px; + text-align: right; +} + +td.ilc_Sourcecode { + background: white; + padding-left: 10px; + +} + +span.ilc_CodeCategory_1 { + text-decoration: underline; + color: navy; +} + +span.ilc_CodeCategory_2 { + color: navy; + +} + +span.ilc_CodeCategory_3 { + color: #555555; + +} + +span.ilc_CodeQuote { + color: green; + +} + +span.ilc_CodeLinecomment { + color: gray; + +} + +span.ilc_CodeBlockcomment { + color: gray; + +} + +span.ilc_CodePrepro { + color: black; + +} + +span.ilc_CodeSelect { + color: black; + +} + +pre.ilc_Code { + font-size: 1em; +} + +span.ilc_LineNumber { + font-size: 1em; +} diff --git a/Projects/WebGIM/GIM_site/help/table_of_contents.html b/Projects/WebGIM/GIM_site/help/table_of_contents.html new file mode 100644 index 0000000..7c5a90c --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/table_of_contents.html @@ -0,0 +1,1059 @@ + + + + + - Manuale WebGIM + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

+

+ +
+ +
+
+
+ + + + + + + + +
+ + + + +
+

Table of Contents

+
+
+
+ + + + + + + + + + + + + +
+
+ +
+
+ + + + +
+ + + + + diff --git a/Projects/WebGIM/GIM_site/images/ModLang.png b/Projects/WebGIM/GIM_site/images/ModLang.png new file mode 100644 index 0000000..af77440 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/ModLang.png differ diff --git a/Projects/WebGIM/GIM_site/images/ModPassw.png b/Projects/WebGIM/GIM_site/images/ModPassw.png new file mode 100644 index 0000000..df6278c Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/ModPassw.png differ diff --git a/Projects/WebGIM/GIM_site/images/NodeResults.gif b/Projects/WebGIM/GIM_site/images/NodeResults.gif new file mode 100644 index 0000000..47274d0 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/NodeResults.gif differ diff --git a/Projects/WebGIM/GIM_site/images/ProgressBar.gif b/Projects/WebGIM/GIM_site/images/ProgressBar.gif new file mode 100644 index 0000000..7f93a9f Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/ProgressBar.gif differ diff --git a/Projects/WebGIM/GIM_site/images/Thumbs.db b/Projects/WebGIM/GIM_site/images/Thumbs.db new file mode 100644 index 0000000..8131063 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/Thumbs.db differ diff --git a/Projects/WebGIM/GIM_site/images/apply.png b/Projects/WebGIM/GIM_site/images/apply.png new file mode 100644 index 0000000..5790017 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/apply.png differ diff --git a/Projects/WebGIM/GIM_site/images/apply_l.png b/Projects/WebGIM/GIM_site/images/apply_l.png new file mode 100644 index 0000000..592ce6f Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/apply_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/apply_m.png b/Projects/WebGIM/GIM_site/images/apply_m.png new file mode 100644 index 0000000..2166fdf Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/apply_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/apply_s.gif b/Projects/WebGIM/GIM_site/images/apply_s.gif new file mode 100644 index 0000000..2692888 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/apply_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/apply_s.png b/Projects/WebGIM/GIM_site/images/apply_s.png new file mode 100644 index 0000000..5790017 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/apply_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/barcode_orange_l.png b/Projects/WebGIM/GIM_site/images/barcode_orange_l.png new file mode 100644 index 0000000..9f0b1da Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/barcode_orange_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/barcode_orange_m.png b/Projects/WebGIM/GIM_site/images/barcode_orange_m.png new file mode 100644 index 0000000..19ec258 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/barcode_orange_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/barcode_orange_s.png b/Projects/WebGIM/GIM_site/images/barcode_orange_s.png new file mode 100644 index 0000000..49c8492 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/barcode_orange_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/barcode_white_l.png b/Projects/WebGIM/GIM_site/images/barcode_white_l.png new file mode 100644 index 0000000..74193b7 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/barcode_white_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/barcode_white_m.png b/Projects/WebGIM/GIM_site/images/barcode_white_m.png new file mode 100644 index 0000000..5caf557 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/barcode_white_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/barcode_white_s.png b/Projects/WebGIM/GIM_site/images/barcode_white_s.png new file mode 100644 index 0000000..61eaa76 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/barcode_white_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/bg-menu-main.png b/Projects/WebGIM/GIM_site/images/bg-menu-main.png new file mode 100644 index 0000000..5ff3c91 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/bg-menu-main.png differ diff --git a/Projects/WebGIM/GIM_site/images/bg_bright.jpg b/Projects/WebGIM/GIM_site/images/bg_bright.jpg new file mode 100644 index 0000000..e472ee3 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/bg_bright.jpg differ diff --git a/Projects/WebGIM/GIM_site/images/bg_dark.jpg b/Projects/WebGIM/GIM_site/images/bg_dark.jpg new file mode 100644 index 0000000..8f2f235 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/bg_dark.jpg differ diff --git a/Projects/WebGIM/GIM_site/images/bluGrad32.png b/Projects/WebGIM/GIM_site/images/bluGrad32.png new file mode 100644 index 0000000..e6afd89 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/bluGrad32.png differ diff --git a/Projects/WebGIM/GIM_site/images/cancel.png b/Projects/WebGIM/GIM_site/images/cancel.png new file mode 100644 index 0000000..a730733 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/cancel.png differ diff --git a/Projects/WebGIM/GIM_site/images/cancel_l.png b/Projects/WebGIM/GIM_site/images/cancel_l.png new file mode 100644 index 0000000..2d5e260 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/cancel_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/cancel_m.png b/Projects/WebGIM/GIM_site/images/cancel_m.png new file mode 100644 index 0000000..816e06a Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/cancel_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/cancel_s.gif b/Projects/WebGIM/GIM_site/images/cancel_s.gif new file mode 100644 index 0000000..49f3630 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/cancel_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/cancel_s.png b/Projects/WebGIM/GIM_site/images/cancel_s.png new file mode 100644 index 0000000..d933394 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/cancel_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/clonaObj.png b/Projects/WebGIM/GIM_site/images/clonaObj.png new file mode 100644 index 0000000..3107990 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/clonaObj.png differ diff --git a/Projects/WebGIM/GIM_site/images/clonaObj_l.png b/Projects/WebGIM/GIM_site/images/clonaObj_l.png new file mode 100644 index 0000000..2104f28 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/clonaObj_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/clonaObj_m.png b/Projects/WebGIM/GIM_site/images/clonaObj_m.png new file mode 100644 index 0000000..c382a8d Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/clonaObj_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/clonaObj_s.png b/Projects/WebGIM/GIM_site/images/clonaObj_s.png new file mode 100644 index 0000000..c95f6b1 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/clonaObj_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/clonaobj_s.gif b/Projects/WebGIM/GIM_site/images/clonaobj_s.gif new file mode 100644 index 0000000..f189a2e Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/clonaobj_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/collapse.jpg b/Projects/WebGIM/GIM_site/images/collapse.jpg new file mode 100644 index 0000000..d0cf806 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/collapse.jpg differ diff --git a/Projects/WebGIM/GIM_site/images/delete.gif b/Projects/WebGIM/GIM_site/images/delete.gif new file mode 100644 index 0000000..65435dd Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/delete.gif differ diff --git a/Projects/WebGIM/GIM_site/images/delete.png b/Projects/WebGIM/GIM_site/images/delete.png new file mode 100644 index 0000000..346193c Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/delete.png differ diff --git a/Projects/WebGIM/GIM_site/images/delete_disabled.gif b/Projects/WebGIM/GIM_site/images/delete_disabled.gif new file mode 100644 index 0000000..2b73684 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/delete_disabled.gif differ diff --git a/Projects/WebGIM/GIM_site/images/deleteold.gif b/Projects/WebGIM/GIM_site/images/deleteold.gif new file mode 100644 index 0000000..65435dd Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/deleteold.gif differ diff --git a/Projects/WebGIM/GIM_site/images/detail.png b/Projects/WebGIM/GIM_site/images/detail.png new file mode 100644 index 0000000..364ae30 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/detail.png differ diff --git a/Projects/WebGIM/GIM_site/images/divietoaccesso.gif b/Projects/WebGIM/GIM_site/images/divietoaccesso.gif new file mode 100644 index 0000000..2af2475 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/divietoaccesso.gif differ diff --git a/Projects/WebGIM/GIM_site/images/downLvl.png b/Projects/WebGIM/GIM_site/images/downLvl.png new file mode 100644 index 0000000..a966b09 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/downLvl.png differ diff --git a/Projects/WebGIM/GIM_site/images/edit.gif b/Projects/WebGIM/GIM_site/images/edit.gif new file mode 100644 index 0000000..7422b25 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/edit.gif differ diff --git a/Projects/WebGIM/GIM_site/images/edit.png b/Projects/WebGIM/GIM_site/images/edit.png new file mode 100644 index 0000000..52c00c5 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/edit.png differ diff --git a/Projects/WebGIM/GIM_site/images/edit_disabled.gif b/Projects/WebGIM/GIM_site/images/edit_disabled.gif new file mode 100644 index 0000000..b9d6934 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/edit_disabled.gif differ diff --git a/Projects/WebGIM/GIM_site/images/edit_l.png b/Projects/WebGIM/GIM_site/images/edit_l.png new file mode 100644 index 0000000..e596348 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/edit_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/edit_m.png b/Projects/WebGIM/GIM_site/images/edit_m.png new file mode 100644 index 0000000..62f280e Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/edit_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/edit_s.gif b/Projects/WebGIM/GIM_site/images/edit_s.gif new file mode 100644 index 0000000..4bee2cd Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/edit_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/edit_s.png b/Projects/WebGIM/GIM_site/images/edit_s.png new file mode 100644 index 0000000..b66d7ed Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/edit_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/elimina.png b/Projects/WebGIM/GIM_site/images/elimina.png new file mode 100644 index 0000000..0e0953c Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/elimina.png differ diff --git a/Projects/WebGIM/GIM_site/images/elimina_l.png b/Projects/WebGIM/GIM_site/images/elimina_l.png new file mode 100644 index 0000000..9b7a462 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/elimina_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/elimina_m.png b/Projects/WebGIM/GIM_site/images/elimina_m.png new file mode 100644 index 0000000..05ff036 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/elimina_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/elimina_s.gif b/Projects/WebGIM/GIM_site/images/elimina_s.gif new file mode 100644 index 0000000..f084154 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/elimina_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/elimina_s.png b/Projects/WebGIM/GIM_site/images/elimina_s.png new file mode 100644 index 0000000..0e0953c Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/elimina_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/expand.jpg b/Projects/WebGIM/GIM_site/images/expand.jpg new file mode 100644 index 0000000..4e0c867 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/expand.jpg differ diff --git a/Projects/WebGIM/GIM_site/images/expand_blue.jpg b/Projects/WebGIM/GIM_site/images/expand_blue.jpg new file mode 100644 index 0000000..1592847 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/expand_blue.jpg differ diff --git a/Projects/WebGIM/GIM_site/images/favicon.png b/Projects/WebGIM/GIM_site/images/favicon.png new file mode 100644 index 0000000..3044bfc Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/favicon.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-de.png b/Projects/WebGIM/GIM_site/images/flag-de.png new file mode 100644 index 0000000..d087ae4 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-de.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-en.png b/Projects/WebGIM/GIM_site/images/flag-en.png new file mode 100644 index 0000000..0c4f4fe Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-en.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-fi.png b/Projects/WebGIM/GIM_site/images/flag-fi.png new file mode 100644 index 0000000..9f333f1 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-fi.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-it.png b/Projects/WebGIM/GIM_site/images/flag-it.png new file mode 100644 index 0000000..0767830 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-it.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-nl.png b/Projects/WebGIM/GIM_site/images/flag-nl.png new file mode 100644 index 0000000..a9440bb Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-nl.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-pl.png b/Projects/WebGIM/GIM_site/images/flag-pl.png new file mode 100644 index 0000000..a8f7609 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-pl.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-ru.png b/Projects/WebGIM/GIM_site/images/flag-ru.png new file mode 100644 index 0000000..c20c449 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-ru.png differ diff --git a/Projects/WebGIM/GIM_site/images/flag-xb.png b/Projects/WebGIM/GIM_site/images/flag-xb.png new file mode 100644 index 0000000..0c4f4fe Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/flag-xb.png differ diff --git a/Projects/WebGIM/GIM_site/images/header-opened.png b/Projects/WebGIM/GIM_site/images/header-opened.png new file mode 100644 index 0000000..4da7a84 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/header-opened.png differ diff --git a/Projects/WebGIM/GIM_site/images/installWindows.png b/Projects/WebGIM/GIM_site/images/installWindows.png new file mode 100644 index 0000000..5e21686 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/installWindows.png differ diff --git a/Projects/WebGIM/GIM_site/images/logo_sw.png b/Projects/WebGIM/GIM_site/images/logo_sw.png new file mode 100644 index 0000000..98ec964 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/logo_sw.png differ diff --git a/Projects/WebGIM/GIM_site/images/new.gif b/Projects/WebGIM/GIM_site/images/new.gif new file mode 100644 index 0000000..7b89f3f Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/new.gif differ diff --git a/Projects/WebGIM/GIM_site/images/new_disabled.gif b/Projects/WebGIM/GIM_site/images/new_disabled.gif new file mode 100644 index 0000000..fe6f99c Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/new_disabled.gif differ diff --git a/Projects/WebGIM/GIM_site/images/new_l.png b/Projects/WebGIM/GIM_site/images/new_l.png new file mode 100644 index 0000000..90fec1d Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/new_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/new_m.png b/Projects/WebGIM/GIM_site/images/new_m.png new file mode 100644 index 0000000..e2823ba Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/new_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/new_s.png b/Projects/WebGIM/GIM_site/images/new_s.png new file mode 100644 index 0000000..e948508 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/new_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/notepad_l.png b/Projects/WebGIM/GIM_site/images/notepad_l.png new file mode 100644 index 0000000..ff82029 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/notepad_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/notepad_m.png b/Projects/WebGIM/GIM_site/images/notepad_m.png new file mode 100644 index 0000000..4759626 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/notepad_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/notepad_s.png b/Projects/WebGIM/GIM_site/images/notepad_s.png new file mode 100644 index 0000000..205216d Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/notepad_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/orangeGrad32.png b/Projects/WebGIM/GIM_site/images/orangeGrad32.png new file mode 100644 index 0000000..f97e309 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/orangeGrad32.png differ diff --git a/Projects/WebGIM/GIM_site/images/page_pdf.png b/Projects/WebGIM/GIM_site/images/page_pdf.png new file mode 100644 index 0000000..8f8095e Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/page_pdf.png differ diff --git a/Projects/WebGIM/GIM_site/images/pdfExport.png b/Projects/WebGIM/GIM_site/images/pdfExport.png new file mode 100644 index 0000000..eed02a5 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/pdfExport.png differ diff --git a/Projects/WebGIM/GIM_site/images/pdfExportSmall.png b/Projects/WebGIM/GIM_site/images/pdfExportSmall.png new file mode 100644 index 0000000..01f08bb Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/pdfExportSmall.png differ diff --git a/Projects/WebGIM/GIM_site/images/print_l.png b/Projects/WebGIM/GIM_site/images/print_l.png new file mode 100644 index 0000000..0a23e51 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/print_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/print_m.png b/Projects/WebGIM/GIM_site/images/print_m.png new file mode 100644 index 0000000..bd3db56 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/print_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/print_s.png b/Projects/WebGIM/GIM_site/images/print_s.png new file mode 100644 index 0000000..6cb10b0 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/print_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/red32.png b/Projects/WebGIM/GIM_site/images/red32.png new file mode 100644 index 0000000..ef56f8d Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/red32.png differ diff --git a/Projects/WebGIM/GIM_site/images/select.gif b/Projects/WebGIM/GIM_site/images/select.gif new file mode 100644 index 0000000..7b89f3f Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/select.gif differ diff --git a/Projects/WebGIM/GIM_site/images/select.png b/Projects/WebGIM/GIM_site/images/select.png new file mode 100644 index 0000000..bb07c04 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/select.png differ diff --git a/Projects/WebGIM/GIM_site/images/semaGiallo_l.gif b/Projects/WebGIM/GIM_site/images/semaGiallo_l.gif new file mode 100644 index 0000000..6b3a4db Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaGiallo_l.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaGiallo_m.gif b/Projects/WebGIM/GIM_site/images/semaGiallo_m.gif new file mode 100644 index 0000000..9fb553b Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaGiallo_m.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaGiallo_s.gif b/Projects/WebGIM/GIM_site/images/semaGiallo_s.gif new file mode 100644 index 0000000..50f620e Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaGiallo_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaRosso_l.gif b/Projects/WebGIM/GIM_site/images/semaRosso_l.gif new file mode 100644 index 0000000..cf47b40 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaRosso_l.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaRosso_m.gif b/Projects/WebGIM/GIM_site/images/semaRosso_m.gif new file mode 100644 index 0000000..113f78b Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaRosso_m.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaRosso_s.gif b/Projects/WebGIM/GIM_site/images/semaRosso_s.gif new file mode 100644 index 0000000..93f1e67 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaRosso_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaVerde_l.gif b/Projects/WebGIM/GIM_site/images/semaVerde_l.gif new file mode 100644 index 0000000..3e1cf8f Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaVerde_l.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaVerde_m.gif b/Projects/WebGIM/GIM_site/images/semaVerde_m.gif new file mode 100644 index 0000000..829c0fa Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaVerde_m.gif differ diff --git a/Projects/WebGIM/GIM_site/images/semaVerde_s.gif b/Projects/WebGIM/GIM_site/images/semaVerde_s.gif new file mode 100644 index 0000000..ee9be66 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/semaVerde_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/sfondo.jpg b/Projects/WebGIM/GIM_site/images/sfondo.jpg new file mode 100644 index 0000000..479246c Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/sfondo.jpg differ diff --git a/Projects/WebGIM/GIM_site/images/sfondo.png b/Projects/WebGIM/GIM_site/images/sfondo.png new file mode 100644 index 0000000..5fcffdd Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/sfondo.png differ diff --git a/Projects/WebGIM/GIM_site/images/sfondoBody.jpg b/Projects/WebGIM/GIM_site/images/sfondoBody.jpg new file mode 100644 index 0000000..e19ffe2 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/sfondoBody.jpg differ diff --git a/Projects/WebGIM/GIM_site/images/table.png b/Projects/WebGIM/GIM_site/images/table.png new file mode 100644 index 0000000..abcd936 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/table.png differ diff --git a/Projects/WebGIM/GIM_site/images/unknown_l.png b/Projects/WebGIM/GIM_site/images/unknown_l.png new file mode 100644 index 0000000..704cf4b Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/unknown_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/unknown_m.png b/Projects/WebGIM/GIM_site/images/unknown_m.png new file mode 100644 index 0000000..01354c3 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/unknown_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/unknown_s.png b/Projects/WebGIM/GIM_site/images/unknown_s.png new file mode 100644 index 0000000..4d158de Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/unknown_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/upLvl.png b/Projects/WebGIM/GIM_site/images/upLvl.png new file mode 100644 index 0000000..fe5cc3d Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/upLvl.png differ diff --git a/Projects/WebGIM/GIM_site/images/view.gif b/Projects/WebGIM/GIM_site/images/view.gif new file mode 100644 index 0000000..8f5d1e6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/view.gif differ diff --git a/Projects/WebGIM/GIM_site/images/view.png b/Projects/WebGIM/GIM_site/images/view.png new file mode 100644 index 0000000..2833b7a Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/view.png differ diff --git a/Projects/WebGIM/GIM_site/images/view_disabled.gif b/Projects/WebGIM/GIM_site/images/view_disabled.gif new file mode 100644 index 0000000..fb38c44 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/view_disabled.gif differ diff --git a/Projects/WebGIM/GIM_site/images/view_l.png b/Projects/WebGIM/GIM_site/images/view_l.png new file mode 100644 index 0000000..de5ef3a Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/view_l.png differ diff --git a/Projects/WebGIM/GIM_site/images/view_m.png b/Projects/WebGIM/GIM_site/images/view_m.png new file mode 100644 index 0000000..e845f6d Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/view_m.png differ diff --git a/Projects/WebGIM/GIM_site/images/view_s.gif b/Projects/WebGIM/GIM_site/images/view_s.gif new file mode 100644 index 0000000..df6ffba Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/view_s.gif differ diff --git a/Projects/WebGIM/GIM_site/images/view_s.png b/Projects/WebGIM/GIM_site/images/view_s.png new file mode 100644 index 0000000..2833b7a Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/view_s.png differ diff --git a/Projects/WebGIM/GIM_site/images/wizard.png b/Projects/WebGIM/GIM_site/images/wizard.png new file mode 100644 index 0000000..b36973c Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/wizard.png differ diff --git a/Projects/WebGIM/GIM_site/images/wt_delete.gif b/Projects/WebGIM/GIM_site/images/wt_delete.gif new file mode 100644 index 0000000..e290099 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/wt_delete.gif differ diff --git a/Projects/WebGIM/GIM_site/images/wt_ko.gif b/Projects/WebGIM/GIM_site/images/wt_ko.gif new file mode 100644 index 0000000..e290099 Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/wt_ko.gif differ diff --git a/Projects/WebGIM/GIM_site/images/wt_ok.gif b/Projects/WebGIM/GIM_site/images/wt_ok.gif new file mode 100644 index 0000000..f59979e Binary files /dev/null and b/Projects/WebGIM/GIM_site/images/wt_ok.gif differ diff --git a/Projects/WebGIM/GIM_site/impianti.aspx b/Projects/WebGIM/GIM_site/impianti.aspx new file mode 100644 index 0000000..ba86c19 --- /dev/null +++ b/Projects/WebGIM/GIM_site/impianti.aspx @@ -0,0 +1,10 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="impianti" Codebehind="impianti.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_impianti.ascx" TagName="mod_impianti" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_macchine.ascx" TagName="mod_macchine" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_fixCal.ascx" TagName="mod_fixCal" TagPrefix="uc3" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/impianti.aspx.cs b/Projects/WebGIM/GIM_site/impianti.aspx.cs new file mode 100644 index 0000000..bf9733e --- /dev/null +++ b/Projects/WebGIM/GIM_site/impianti.aspx.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class impianti : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + mod_impianti1.eh_selValore += new EventHandler(Mod_macchine1_eh_selValore); + mod_impianti1.eh_resetSelezione += new EventHandler(Mod_macchine1_eh_resetSelezione); + // abilito solo alla vista.. + mod_macchine1.vistaModulo = SteamWare.tipoVistaMod.selezione; + } + + void Mod_macchine1_eh_resetSelezione(object sender, EventArgs e) + { + mod_macchine1.Visible = false; + } + + void Mod_macchine1_eh_selValore(object sender, EventArgs e) + { + mod_macchine1.Visible = true; + mod_macchine1.idxImpiantoSel = memLayer.ML.IntSessionObj("idxImpianto_sel"); + mod_macchine1.doUpdate(); + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + mod_impianti1.eh_selValore -= new EventHandler(Mod_macchine1_eh_selValore); + mod_impianti1.eh_resetSelezione -= new EventHandler(Mod_macchine1_eh_resetSelezione); + } + +} diff --git a/Projects/WebGIM/GIM_site/impianti.aspx.designer.cs b/Projects/WebGIM/GIM_site/impianti.aspx.designer.cs new file mode 100644 index 0000000..a221f39 --- /dev/null +++ b/Projects/WebGIM/GIM_site/impianti.aspx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class impianti { + + /// + /// mod_impianti1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_impianti mod_impianti1; + + /// + /// mod_macchine1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_macchine mod_macchine1; + + /// + /// mod_fixCal1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_fixCal mod_fixCal1; +} diff --git a/Projects/WebGIM/GIM_site/insertRichiesta.aspx b/Projects/WebGIM/GIM_site/insertRichiesta.aspx new file mode 100644 index 0000000..c7a804e --- /dev/null +++ b/Projects/WebGIM/GIM_site/insertRichiesta.aspx @@ -0,0 +1,11 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/Ajax.master" AutoEventWireup="true" Inherits="insertRichiesta" Codebehind="insertRichiesta.aspx.cs" %> +<%@ MasterType virtualPath="~/Ajax.master"%> +<%@ Register Src="~/WebUserControls/mod_insertRichiesta.ascx" tagname="mod_insertRichiesta" tagprefix="uc1" %> + +<%@ Register Src="~/WebUserControls/mod_fixCal.ascx" tagname="mod_fixCal" tagprefix="uc2" %> + + + + + + diff --git a/Projects/WebGIM/GIM_site/insertRichiesta.aspx.cs b/Projects/WebGIM/GIM_site/insertRichiesta.aspx.cs new file mode 100644 index 0000000..6c04dc0 --- /dev/null +++ b/Projects/WebGIM/GIM_site/insertRichiesta.aspx.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class insertRichiesta : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + mod_insertRichiesta1.eh_newReq += new EventHandler(mod_insertRichiesta1_eh_newReq); + mod_insertRichiesta1.eh_done += new EventHandler(mod_insertRichiesta1_eh_done); + if (!Page.IsPostBack) + { + Master.sxMenuVisible = true; + } + } + /// + /// metto visibilità pannello laterale + /// + /// + /// + void mod_insertRichiesta1_eh_done(object sender, EventArgs e) + { + Master.sxMenuVisible = true; + } + /// + /// tolgo visibilità menù sx + /// + /// + /// + void mod_insertRichiesta1_eh_newReq(object sender, EventArgs e) + { + Master.sxMenuVisible = false; + } +} diff --git a/Projects/WebGIM/GIM_site/insertRichiesta.aspx.designer.cs b/Projects/WebGIM/GIM_site/insertRichiesta.aspx.designer.cs new file mode 100644 index 0000000..05dadcc --- /dev/null +++ b/Projects/WebGIM/GIM_site/insertRichiesta.aspx.designer.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class insertRichiesta { + + /// + /// mod_insertRichiesta1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_insertRichiesta mod_insertRichiesta1; + + /// + /// mod_fixCal1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_fixCal mod_fixCal1; + + /// + /// Master property. + /// + /// + /// Auto-generated property. + /// + public new Ajax Master { + get { + return ((Ajax)(base.Master)); + } + } +} diff --git a/Projects/WebGIM/GIM_site/login.aspx b/Projects/WebGIM/GIM_site/login.aspx new file mode 100644 index 0000000..366ed62 --- /dev/null +++ b/Projects/WebGIM/GIM_site/login.aspx @@ -0,0 +1,9 @@ +<%@ Page Language="C#" MasterPageFile="~/MasterAjax.master" AutoEventWireup="true" + Inherits="login" Title="Login" Codebehind="login.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_login.ascx" TagName="mod_login" TagPrefix="uc1" %> + +
+ +
+
diff --git a/Projects/WebGIM/GIM_site/login.aspx.cs b/Projects/WebGIM/GIM_site/login.aspx.cs new file mode 100644 index 0000000..77a56da --- /dev/null +++ b/Projects/WebGIM/GIM_site/login.aspx.cs @@ -0,0 +1,63 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class login : System.Web.UI.Page +{ + protected string _nextPage + { + get + { + string pagina = SteamWare.memLayer.ML.StringSessionObj("nextPage"); + if (pagina == "") + { + pagina = "menu.aspx"; + } + return pagina; + } + } + + protected void Page_Load(object sender, EventArgs e) + { + Mod_login1.modoLogin = SteamWare.loginMode.normale; + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_login1.Login_ok += new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error += new EventHandler(Mod_login1_Login_Error); + } + + void Mod_login1_Login_Error(object sender, EventArgs e) + { + Response.Redirect("./unauthorized.aspx"); + } + + void Mod_login1_Login_ok(object sender, EventArgs e) + { + // verifico se devo generare degli interventi di MTZ programmata.. + try + { + mtzProgr.obj.processaCodaMtzPro(); + } + catch(Exception errore) + { + SteamWare.logger.lg.scriviLog(string.Format("Non sono riuscito ad accodare gli interventi di mtz preventiva pending, errore:\r\n {0}", errore), SteamWare.tipoLog.EXCEPTION); + } + Response.Redirect(_nextPage); + } + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + Mod_login1.Login_ok -= new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error -= new EventHandler(Mod_login1_Login_Error); + } +} diff --git a/Projects/WebGIM/GIM_site/login.aspx.designer.cs b/Projects/WebGIM/GIM_site/login.aspx.designer.cs new file mode 100644 index 0000000..d4aa961 --- /dev/null +++ b/Projects/WebGIM/GIM_site/login.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class login { + + /// + /// Mod_login1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_login Mod_login1; +} diff --git a/Projects/WebGIM/GIM_site/logs/20100121.txt b/Projects/WebGIM/GIM_site/logs/20100121.txt new file mode 100644 index 0000000..f613e84 --- /dev/null +++ b/Projects/WebGIM/GIM_site/logs/20100121.txt @@ -0,0 +1,19 @@ +21/01/2010 17:37:19 [INFO] - L'utente Locatelli Samuele (VOSTRO410\samuele) ha effettuato il login correttamente +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 364 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 365 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 366 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 367 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 368 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 369 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 370 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 371 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 372 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 373 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 374 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 375 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 376 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 377 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 378 +21/01/2010 17:37:19 [INFO] - Accodata la richiesta di manutenzione (programmata) num 379 +21/01/2010 17:38:28 [INFO] - L'utente Locatelli Samuele (VOSTRO410\samuele) ha effettuato il login correttamente +21/01/2010 17:38:44 [INFO] - L'utente Locatelli Samuele (VOSTRO410\samuele) ha effettuato il login correttamente diff --git a/Projects/WebGIM/GIM_site/macchine.aspx b/Projects/WebGIM/GIM_site/macchine.aspx new file mode 100644 index 0000000..29675f1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/macchine.aspx @@ -0,0 +1,10 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="macchine" Codebehind="macchine.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_macchine.ascx" tagname="mod_macchine" tagprefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_fixCal.ascx" TagName="mod_fixCal" TagPrefix="uc3" %> + + + + + + diff --git a/Projects/WebGIM/GIM_site/macchine.aspx.cs b/Projects/WebGIM/GIM_site/macchine.aspx.cs new file mode 100644 index 0000000..5004cf6 --- /dev/null +++ b/Projects/WebGIM/GIM_site/macchine.aspx.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class macchine : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + // abilitato editing + mod_macchine1.vistaModulo = SteamWare.tipoVistaMod.editing; + } +} diff --git a/Projects/WebGIM/GIM_site/macchine.aspx.designer.cs b/Projects/WebGIM/GIM_site/macchine.aspx.designer.cs new file mode 100644 index 0000000..c34f47b --- /dev/null +++ b/Projects/WebGIM/GIM_site/macchine.aspx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class macchine { + + /// + /// mod_macchine1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_macchine mod_macchine1; + + /// + /// mod_fixCal1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_fixCal mod_fixCal1; +} diff --git a/Projects/WebGIM/GIM_site/menu.aspx b/Projects/WebGIM/GIM_site/menu.aspx new file mode 100644 index 0000000..b0746f9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/menu.aspx @@ -0,0 +1,8 @@ +<%@ Page Language="C#" MasterPageFile="~/MasterAjax.master" AutoEventWireup="true" Inherits="menu" Title="Untitled Page" Codebehind="menu.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_main_help.ascx" TagName="mod_main_help" TagPrefix="uc2" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/menu.aspx.cs b/Projects/WebGIM/GIM_site/menu.aspx.cs new file mode 100644 index 0000000..bca3d27 --- /dev/null +++ b/Projects/WebGIM/GIM_site/menu.aspx.cs @@ -0,0 +1,14 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class menu : System.Web.UI.Page +{ +} diff --git a/Projects/WebGIM/GIM_site/menu.aspx.designer.cs b/Projects/WebGIM/GIM_site/menu.aspx.designer.cs new file mode 100644 index 0000000..8099289 --- /dev/null +++ b/Projects/WebGIM/GIM_site/menu.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class menu { + + /// + /// Mod_main_help1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_main_help Mod_main_help1; +} diff --git a/Projects/WebGIM/GIM_site/mtzProg.aspx b/Projects/WebGIM/GIM_site/mtzProg.aspx new file mode 100644 index 0000000..afa6617 --- /dev/null +++ b/Projects/WebGIM/GIM_site/mtzProg.aspx @@ -0,0 +1,23 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="mtzProg" Codebehind="mtzProg.aspx.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="~/WebUserControls/mod_elencoMtzProg.ascx" TagName="mod_elencoMtzProg" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_dettMtzProg.ascx" TagName="mod_dettMtzProg" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_fixCal.ascx" TagName="mod_fixCal" TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_mtzPrevPending.ascx" tagname="mod_mtzPrevPending" tagprefix="uc4" %> + + + + + + + + + + + + + + + + diff --git a/Projects/WebGIM/GIM_site/mtzProg.aspx.cs b/Projects/WebGIM/GIM_site/mtzProg.aspx.cs new file mode 100644 index 0000000..9f14e5e --- /dev/null +++ b/Projects/WebGIM/GIM_site/mtzProg.aspx.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mtzProg : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + mod_elencoMtzProg1.eh_newReq += new EventHandler(mod_elencoMtzProg1_eh_newReq); + mod_dettMtzProg1.eh_newInserted += new EventHandler(mod_dettMtzProg1_eh_newInserted); + traduciObj(); + } + + private void traduciObj() + { + ((AjaxControlToolkit.TabPanel)TabContainer1.FindControl("TabProgrammaMtz")).HeaderText = traduci("TabProgrammaMtz"); + ((AjaxControlToolkit.TabPanel)TabContainer1.FindControl("TabScadenzeMtz")).HeaderText = traduci("TabScadenzeMtz"); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + + void mod_dettMtzProg1_eh_newInserted(object sender, EventArgs e) + { + // nascondo dettaglio inserimento nuovi e aggiorno tabella elenco... + mod_dettMtzProg1.Visible = false; + mod_elencoMtzProg1.doUpdate(); + } + + void mod_elencoMtzProg1_eh_newReq(object sender, EventArgs e) + { + mod_dettMtzProg1.Visible = !mod_dettMtzProg1.Visible; + } +} diff --git a/Projects/WebGIM/GIM_site/mtzProg.aspx.designer.cs b/Projects/WebGIM/GIM_site/mtzProg.aspx.designer.cs new file mode 100644 index 0000000..4212c7a --- /dev/null +++ b/Projects/WebGIM/GIM_site/mtzProg.aspx.designer.cs @@ -0,0 +1,77 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mtzProg { + + /// + /// TabContainer1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.TabContainer TabContainer1; + + /// + /// TabProgrammaMtz control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.TabPanel TabProgrammaMtz; + + /// + /// mod_dettMtzProg1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_dettMtzProg mod_dettMtzProg1; + + /// + /// mod_elencoMtzProg1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_elencoMtzProg mod_elencoMtzProg1; + + /// + /// mod_fixCal1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_fixCal mod_fixCal1; + + /// + /// TabScadenzeMtz control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.TabPanel TabScadenzeMtz; + + /// + /// mod_mtzPrevPending1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_mtzPrevPending mod_mtzPrevPending1; +} diff --git a/Projects/WebGIM/GIM_site/obj/Debug/GIM_site.csproj.FileListAbsolute.txt b/Projects/WebGIM/GIM_site/obj/Debug/GIM_site.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..2694835 --- /dev/null +++ b/Projects/WebGIM/GIM_site/obj/Debug/GIM_site.csproj.FileListAbsolute.txt @@ -0,0 +1,33 @@ +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\ResolveAssemblyReference.cache +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.cache +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.compiled +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.pdb +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ICSharpCode.SharpZipLib.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.pdb +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.pdb +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.pdb +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.xml +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.pdb +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ar\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\cs\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\de\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\es\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\fr\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\he\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\hi\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\it\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ja\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ko\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\nl\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\pt\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ru\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.dll +C:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.pdb diff --git a/Projects/WebGIM/GIM_site/obj/Debug/GIM_site.dll b/Projects/WebGIM/GIM_site/obj/Debug/GIM_site.dll new file mode 100644 index 0000000..69c86ff Binary files /dev/null and b/Projects/WebGIM/GIM_site/obj/Debug/GIM_site.dll differ diff --git a/Projects/WebGIM/GIM_site/obj/Debug/RdlCompile.cache b/Projects/WebGIM/GIM_site/obj/Debug/RdlCompile.cache new file mode 100644 index 0000000..4798a12 Binary files /dev/null and b/Projects/WebGIM/GIM_site/obj/Debug/RdlCompile.cache differ diff --git a/Projects/WebGIM/GIM_site/obj/Debug/RdlCompile.compiled b/Projects/WebGIM/GIM_site/obj/Debug/RdlCompile.compiled new file mode 100644 index 0000000..e69de29 diff --git a/Projects/WebGIM/GIM_site/obj/Debug/ResolveAssemblyReference.cache b/Projects/WebGIM/GIM_site/obj/Debug/ResolveAssemblyReference.cache new file mode 100644 index 0000000..b9b4045 Binary files /dev/null and b/Projects/WebGIM/GIM_site/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/Projects/WebGIM/GIM_site/priorita.aspx b/Projects/WebGIM/GIM_site/priorita.aspx new file mode 100644 index 0000000..8424486 --- /dev/null +++ b/Projects/WebGIM/GIM_site/priorita.aspx @@ -0,0 +1,8 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="priorita" Codebehind="priorita.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_priorita.ascx" tagname="mod_priorita" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/priorita.aspx.cs b/Projects/WebGIM/GIM_site/priorita.aspx.cs new file mode 100644 index 0000000..ef6d632 --- /dev/null +++ b/Projects/WebGIM/GIM_site/priorita.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class priorita : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/priorita.aspx.designer.cs b/Projects/WebGIM/GIM_site/priorita.aspx.designer.cs new file mode 100644 index 0000000..467d0a9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/priorita.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class priorita { + + /// + /// mod_priorita1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_priorita mod_priorita1; +} diff --git a/Projects/WebGIM/GIM_site/report_analisi.aspx b/Projects/WebGIM/GIM_site/report_analisi.aspx new file mode 100644 index 0000000..2cbd24d --- /dev/null +++ b/Projects/WebGIM/GIM_site/report_analisi.aspx @@ -0,0 +1,6 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="report_analisi" Codebehind="report_analisi.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_reportInterventi.ascx" TagName="mod_reportInterventi" TagPrefix="uc1" %> + + + diff --git a/Projects/WebGIM/GIM_site/report_analisi.aspx.cs b/Projects/WebGIM/GIM_site/report_analisi.aspx.cs new file mode 100644 index 0000000..3ecb0da --- /dev/null +++ b/Projects/WebGIM/GIM_site/report_analisi.aspx.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class report_analisi : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + } +} diff --git a/Projects/WebGIM/GIM_site/report_analisi.aspx.designer.cs b/Projects/WebGIM/GIM_site/report_analisi.aspx.designer.cs new file mode 100644 index 0000000..956664b --- /dev/null +++ b/Projects/WebGIM/GIM_site/report_analisi.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class report_analisi { + + /// + /// mod_reportInterventi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_reportInterventi mod_reportInterventi1; +} diff --git a/Projects/WebGIM/GIM_site/report_impianti.aspx b/Projects/WebGIM/GIM_site/report_impianti.aspx new file mode 100644 index 0000000..59727b3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/report_impianti.aspx @@ -0,0 +1,28 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" Inherits="report_impianti" Codebehind="report_impianti.aspx.cs" %> + + +
+ + + + + + + + + + +
+

+

+ +
+ + +
+ +
+
+
diff --git a/Projects/WebGIM/GIM_site/report_impianti.aspx.cs b/Projects/WebGIM/GIM_site/report_impianti.aspx.cs new file mode 100644 index 0000000..012a5ad --- /dev/null +++ b/Projects/WebGIM/GIM_site/report_impianti.aspx.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class report_impianti : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + // traduzioni + traduciObj(); + // popolo valori default + setDefaultValues(); + } + + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + + private void traduciObj() + { + lblPrintReportImpianti.Text = traduci("lblPrintReportImpianti"); + lblIntestazioneReportImpianti.Text = traduci("lblIntestazioneReportImpianti"); + lnkGuidaPerReport.Text = traduci("lnkGuidaPerReport"); + } + private void setDefaultValues() + { + hlExportPdf.NavigateUrl = formattaUrl(); + } + + private string formattaUrl() + { + return String.Format("~/ExportPdf.aspx?tipo={0}", Convert.ToInt32(reportRichiesto.ElencoMacchine)); + } + + protected void btnPrint_Click(object sender, EventArgs e) + { + reportPrinter.obj.printReport(reportRichiesto.ElencoMacchine, memLayer.ML.confReadString("stampanteRichiesteMtz"), ""); + } +} diff --git a/Projects/WebGIM/GIM_site/report_impianti.aspx.designer.cs b/Projects/WebGIM/GIM_site/report_impianti.aspx.designer.cs new file mode 100644 index 0000000..886d67f --- /dev/null +++ b/Projects/WebGIM/GIM_site/report_impianti.aspx.designer.cs @@ -0,0 +1,59 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class report_impianti { + + /// + /// lblIntestazioneReportImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblIntestazioneReportImpianti; + + /// + /// lblPrintReportImpianti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrintReportImpianti; + + /// + /// hlExportPdf control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlExportPdf; + + /// + /// btnPrint control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnPrint; + + /// + /// lnkGuidaPerReport control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink lnkGuidaPerReport; +} diff --git a/Projects/WebGIM/GIM_site/sql/GIM_0000.sql b/Projects/WebGIM/GIM_site/sql/GIM_0000.sql new file mode 100644 index 0000000..b71c759 --- /dev/null +++ b/Projects/WebGIM/GIM_site/sql/GIM_0000.sql @@ -0,0 +1,420 @@ +/**************************************************************** +* SteamWare s.r.l. +* +* Setup iniziale DB applicazione WebGIM con eliminazione oggetti +* +* modificato: 2009-01-23 S.E.L. +* +****************************************************************/ + +/* elimino funzioni */ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +IF NOT object_id('f_padLeft') IS NULL +DROP FUNCTION f_padLeft +GO + +IF NOT object_id('rightDivision') IS NULL +DROP FUNCTION rightDivision +GO + +COMMIT +GO + + + + + +/* elimino stored */ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +IF NOT object_id('sp_clonaImpianto') IS NULL +DROP PROCEDURE sp_clonaImpianto +GO + +IF NOT object_id('sp_clonaMacchina') IS NULL +DROP PROCEDURE sp_clonaMacchina +GO + +IF NOT object_id('sp_elencoIntMTBF_MTTR') IS NULL +DROP PROCEDURE sp_elencoIntMTBF_MTTR +GO + +IF NOT object_id('sp_insRichiesta') IS NULL +DROP PROCEDURE sp_insRichiesta +GO + +IF NOT object_id('sp_procStatEv') IS NULL +DROP PROCEDURE sp_procStatEv +GO + +IF NOT object_id('sp_setPresaInCarico') IS NULL +DROP PROCEDURE sp_setPresaInCarico +GO + +IF NOT object_id('sp_spostaMacchina') IS NULL +DROP PROCEDURE sp_spostaMacchina +GO + +IF NOT object_id('sp_updateIntervento') IS NULL +DROP PROCEDURE sp_updateIntervento +GO + +IF NOT object_id('sp_updateInterventoFull') IS NULL +DROP PROCEDURE sp_updateInterventoFull +GO + +COMMIT +GO + + + + + + + +/* elimino le viste... */ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +IF NOT object_id('v_datiMTBFMTTR') IS NULL +DROP VIEW v_datiMTBFMTTR +GO + +IF NOT object_id('v_elencoImpiantiMacchine') IS NULL +DROP VIEW v_elencoImpiantiMacchine +GO + +IF NOT object_id('v_elencoIntervFilt') IS NULL +DROP VIEW v_elencoIntervFilt +GO + +IF NOT object_id('v_interventiErogati') IS NULL +DROP VIEW v_interventiErogati +GO + +IF NOT object_id('v_intervExp') IS NULL +DROP VIEW v_intervExp +GO + +IF NOT object_id('v_macchine') IS NULL +DROP VIEW v_macchine +GO + +IF NOT object_id('v_mtzProgExp') IS NULL +DROP VIEW v_mtzProgExp +GO + +IF NOT object_id('v_selAmbiti') IS NULL +DROP VIEW v_selAmbiti +GO + +IF NOT object_id('v_selCausaliMacchine') IS NULL +DROP VIEW v_selCausaliMacchine +GO + +IF NOT object_id('v_selFamMacc') IS NULL +DROP VIEW v_selFamMacc +GO + +IF NOT object_id('v_selFreq') IS NULL +DROP VIEW v_selFreq +GO + +IF NOT object_id('v_selImpianti') IS NULL +DROP VIEW v_selImpianti +GO + +IF NOT object_id('v_selMacchine') IS NULL +DROP VIEW v_selMacchine +GO + +IF NOT object_id('v_selPeriodiTrad') IS NULL +DROP VIEW v_selPeriodiTrad +GO + +IF NOT object_id('v_selPrior') IS NULL +DROP VIEW v_selPrior +GO + +IF NOT object_id('v_selSemafori') IS NULL +DROP VIEW v_selSemafori +GO + +IF NOT object_id('v_selStato') IS NULL +DROP VIEW v_selStato +GO + +IF NOT object_id('v_selTipoGuasto') IS NULL +DROP VIEW v_selTipoGuasto +GO + +IF NOT object_id('v_vocabolario') IS NULL +DROP VIEW v_vocabolario +GO + +COMMIT +GO + + + + + + + + + +/*Svuoto eventuali tabelle già presenti...*/ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +IF NOT object_id('FK_InterventiMtz_AnagAmbitoGuasto') IS NULL + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagAmbitoGuasto +GO + +IF NOT object_id('AnagAmbitoGuasto') IS NULL +DROP TABLE AnagAmbitoGuasto +GO + +IF NOT object_id('FK_Causali2FamMacchine_AnagCausali') IS NULL + +ALTER TABLE Causali2FamMacchine DROP + CONSTRAINT FK_Causali2FamMacchine_AnagCausali +GO + +IF NOT object_id('FK_InterventiMtz_AnagCausali') IS NULL + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagCausali +GO + +IF NOT object_id('AnagCausali') IS NULL +DROP TABLE AnagCausali +GO + +IF NOT object_id('FK_Tra_Ev2Stati_AnagEventi') IS NULL + +ALTER TABLE Tra_Ev2Stati DROP + CONSTRAINT FK_Tra_Ev2Stati_AnagEventi +GO + +IF NOT object_id('AnagEventi') IS NULL +DROP TABLE AnagEventi +GO + +IF NOT object_id('FK_Causali2FamMacchine_AnagFamMacchine') IS NULL + +ALTER TABLE Causali2FamMacchine DROP + CONSTRAINT FK_Causali2FamMacchine_AnagFamMacchine +GO + +IF NOT object_id('FK_Macchine2FamMacchine_AnagFamMacchine') IS NULL + +ALTER TABLE Macchine2FamMacchine DROP + CONSTRAINT FK_Macchine2FamMacchine_AnagFamMacchine +GO + +IF NOT object_id('AnagFamMacchine') IS NULL +DROP TABLE AnagFamMacchine +GO + +IF NOT object_id('FK_MtzProgrammata_AnagFrequenze') IS NULL + +ALTER TABLE MtzProgrammata DROP + CONSTRAINT FK_MtzProgrammata_AnagFrequenze +GO + +IF NOT object_id('AnagFrequenze') IS NULL +DROP TABLE AnagFrequenze +GO + +IF NOT object_id('FK_FiltroImpianti_AnagImpianti') IS NULL + +ALTER TABLE FiltroImpianti DROP + CONSTRAINT FK_FiltroImpianti_AnagImpianti +GO + +IF NOT object_id('FK_InterventiMtz_AnagImpianti') IS NULL + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagImpianti +GO + +IF NOT object_id('FK_AnagMacchine_AnagImpianti') IS NULL + +ALTER TABLE AnagMacchine DROP + CONSTRAINT FK_AnagMacchine_AnagImpianti +GO + +IF NOT object_id('AnagImpianti') IS NULL +DROP TABLE AnagImpianti +GO + +IF NOT object_id('FK_MtzProgrammata_AnagMacchine') IS NULL + +ALTER TABLE MtzProgrammata DROP + CONSTRAINT FK_MtzProgrammata_AnagMacchine +GO + +IF NOT object_id('FK_FiltroMacchine_AnagMacchine') IS NULL + +ALTER TABLE FiltroMacchine DROP + CONSTRAINT FK_FiltroMacchine_AnagMacchine +GO + +IF NOT object_id('FK_InterventiMtz_AnagMacchine') IS NULL + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagMacchine +GO + +IF NOT object_id('FK_Macchine2FamMacchine_AnagMacchine') IS NULL + +ALTER TABLE Macchine2FamMacchine DROP + CONSTRAINT FK_Macchine2FamMacchine_AnagMacchine +GO + +IF NOT object_id('AnagMacchine') IS NULL +DROP TABLE AnagMacchine +GO + +IF NOT object_id('AnagPeriodi') IS NULL +DROP TABLE AnagPeriodi +GO + +IF NOT object_id('FK_InterventiMtz_AnagPriorita') IS NULL + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagPriorita +GO + +IF NOT object_id('AnagPriorita') IS NULL +DROP TABLE AnagPriorita +GO + +IF NOT object_id('AnagSemafori') IS NULL +DROP TABLE AnagSemafori +GO + +IF NOT object_id('FK_Tra_Ev2Stati_AnagStati') IS NULL + +ALTER TABLE Tra_Ev2Stati DROP + CONSTRAINT FK_Tra_Ev2Stati_AnagStati +GO + +IF NOT object_id('FK_FiltroStati_AnagStati') IS NULL + +ALTER TABLE FiltroStati DROP + CONSTRAINT FK_FiltroStati_AnagStati +GO + +IF NOT object_id('FK_InterventiMtz_AnagStati') IS NULL + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagStati +GO + +IF NOT object_id('AnagStati') IS NULL +DROP TABLE AnagStati +GO + +IF NOT object_id('FK_InterventiMtz_AnagTipoGuasto') IS NULL + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagTipoGuasto +GO + +IF NOT object_id('AnagTipoGuasto') IS NULL +DROP TABLE AnagTipoGuasto +GO + +IF NOT object_id('CalendFesteFerie') IS NULL +DROP TABLE CalendFesteFerie +GO + +IF NOT object_id('Causali2FamMacchine') IS NULL +DROP TABLE Causali2FamMacchine +GO + +IF NOT object_id('FiltroImpianti') IS NULL +DROP TABLE FiltroImpianti +GO + +IF NOT object_id('FiltroMacchine') IS NULL +DROP TABLE FiltroMacchine +GO + +IF NOT object_id('FiltroStati') IS NULL +DROP TABLE FiltroStati +GO + +IF NOT object_id('FK_InterventoOpMtz_InterventiMtz') IS NULL + +ALTER TABLE InterventoOpMtz DROP + CONSTRAINT FK_InterventoOpMtz_InterventiMtz +GO + +IF NOT object_id('InterventiMtz') IS NULL +DROP TABLE InterventiMtz +GO + +IF NOT object_id('InterventoOpMtz') IS NULL +DROP TABLE InterventoOpMtz +GO + +IF NOT object_id('LogUpdateDb') IS NULL +DROP TABLE LogUpdateDb +GO + +IF NOT object_id('Macchine2FamMacchine') IS NULL +DROP TABLE Macchine2FamMacchine +GO + +IF NOT object_id('MtzProgPending') IS NULL +DROP TABLE MtzProgPending +GO + +IF NOT object_id('MtzProgrammata') IS NULL +DROP TABLE MtzProgrammata +GO + +IF NOT object_id('OreAperturaSett') IS NULL +DROP TABLE OreAperturaSett +GO + +IF NOT object_id('FK_Permessi2Funzione_Permessi') IS NULL + +ALTER TABLE Permessi2Funzione DROP + CONSTRAINT FK_Permessi2Funzione_Permessi +GO + +IF NOT object_id('Permessi') IS NULL +DROP TABLE Permessi +GO + +IF NOT object_id('Permessi2Funzione') IS NULL +DROP TABLE Permessi2Funzione +GO + +IF NOT object_id('Tra_Ev2Stati') IS NULL +DROP TABLE Tra_Ev2Stati +GO + +COMMIT +GO diff --git a/Projects/WebGIM/GIM_site/sql/GIM_0001.sql b/Projects/WebGIM/GIM_site/sql/GIM_0001.sql new file mode 100644 index 0000000..2d31df8 --- /dev/null +++ b/Projects/WebGIM/GIM_site/sql/GIM_0001.sql @@ -0,0 +1,2908 @@ +/**************************************************************** +* SteamWare s.r.l. +* +* Setup iniziale DB applicazione WebGIM con creazione tabelle +* +* modificato: 2009-01-23 S.E.L. +* +****************************************************************/ + +/* creo tabelle */ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +CREATE TABLE AnagAmbitoGuasto( + idxAmbito INT NOT NULL IDENTITY CONSTRAINT PK_AnagAmbitoGuasto PRIMARY KEY, + descrAmbitoGuasto NVARCHAR(50) +) +GO + +CREATE TABLE AnagCausali( + idxCausale INT NOT NULL IDENTITY CONSTRAINT PK_AnagCausali PRIMARY KEY, + descrCausale NVARCHAR(50) +) +GO + +CREATE TABLE AnagEventi( + idxEvento INT NOT NULL CONSTRAINT PK_AnagEventi PRIMARY KEY, + DescrEvento NVARCHAR(50) +) +GO + +CREATE TABLE AnagFamMacchine( + idxFamMacchine INT NOT NULL IDENTITY CONSTRAINT PK_AnagFamMacchine PRIMARY KEY, + nomeFamMacch NVARCHAR(50) +) +GO + +CREATE TABLE AnagFrequenze( + codFrequenza NCHAR(2) NOT NULL CONSTRAINT PK_AnagFrequenze PRIMARY KEY, + frequenza NVARCHAR(50) +) +GO + +CREATE TABLE AnagImpianti( + idxImpianto INT NOT NULL IDENTITY CONSTRAINT PK_AnagImpianti PRIMARY KEY, + codImpianto NVARCHAR(50), + nomeImpianto NVARCHAR(50), + tipoImpianto NVARCHAR(50), + funzDal DATETIME, + funzAl DATETIME +) +GO + +CREATE TABLE AnagMacchine( + idxMacchina INT NOT NULL IDENTITY CONSTRAINT PK_AnagMacchine PRIMARY KEY, + idxImpianto INT, + codMacchina NVARCHAR(50), + nomeMacchina NVARCHAR(50), + modello NVARCHAR(50), + matricola NVARCHAR(50), + anno INT, + kgPeso FLOAT NOT NULL CONSTRAINT DF_AnagMacchine_kgPeso DEFAULT (0), + kwConsumo FLOAT NOT NULL CONSTRAINT DF_AnagMacchine_kwConsumo DEFAULT (0), + funzDal DATETIME, + funzAl DATETIME +) +GO + +ALTER TABLE AnagMacchine ADD + CONSTRAINT FK_AnagMacchine_AnagImpianti FOREIGN KEY(idxImpianto) REFERENCES AnagImpianti(idxImpianto) ON UPDATE CASCADE +GO + +CREATE TABLE AnagPeriodi( + codPeriodo NVARCHAR(20) NOT NULL CONSTRAINT PK_AnagPeriodi PRIMARY KEY, + lemmaPeriodo NVARCHAR(50) +) +GO + +CREATE TABLE AnagPriorita( + idxPriorita INT NOT NULL CONSTRAINT PK_AnagPriorita PRIMARY KEY, + descrPriorita NVARCHAR(50), + stile NVARCHAR(50) +) +GO + +CREATE TABLE AnagSemafori( + codSemaforo NVARCHAR(50) NOT NULL CONSTRAINT PK_AnagSemafori PRIMARY KEY, + descrSemaforo NVARCHAR(50) +) +GO + +CREATE TABLE AnagStati( + idxStato INT NOT NULL CONSTRAINT PK_AnagStati PRIMARY KEY, + DescrStato NVARCHAR(50), + stile NVARCHAR(50) +) +GO + +CREATE TABLE AnagTipoGuasto( + idxTipo INT NOT NULL IDENTITY CONSTRAINT PK_AnagTipoGuasto PRIMARY KEY, + descrTipo NVARCHAR(50) +) +GO + +CREATE TABLE CalendFesteFerie( + data DATETIME NOT NULL CONSTRAINT PK_CalendFesteFerie PRIMARY KEY, + descrizione NVARCHAR(50) +) +GO + +CREATE TABLE Causali2FamMacchine( + idxCausale INT NOT NULL, + idxFamMacchine INT NOT NULL, + + CONSTRAINT PK_Causali2FamMacchine PRIMARY KEY(idxCausale,idxFamMacchine) +) +GO + +ALTER TABLE Causali2FamMacchine ADD + CONSTRAINT FK_Causali2FamMacchine_AnagCausali FOREIGN KEY(idxCausale) REFERENCES AnagCausali(idxCausale) ON UPDATE CASCADE, + CONSTRAINT FK_Causali2FamMacchine_AnagFamMacchine FOREIGN KEY(idxFamMacchine) REFERENCES AnagFamMacchine(idxFamMacchine) ON UPDATE CASCADE +GO + +CREATE TABLE FiltroImpianti( + username NVARCHAR(50) NOT NULL, + idxImpianto INT NOT NULL, + + CONSTRAINT PK_FiltroImpianti PRIMARY KEY(username,idxImpianto) +) +GO + +ALTER TABLE FiltroImpianti ADD + CONSTRAINT FK_FiltroImpianti_AnagImpianti FOREIGN KEY(idxImpianto) REFERENCES AnagImpianti(idxImpianto) ON UPDATE CASCADE ON DELETE CASCADE +GO + +CREATE TABLE FiltroMacchine( + username NVARCHAR(50) NOT NULL, + idxMacchina INT NOT NULL, + + CONSTRAINT PK_FiltroMacchine PRIMARY KEY(username,idxMacchina) +) +GO + +ALTER TABLE FiltroMacchine ADD + CONSTRAINT FK_FiltroMacchine_AnagMacchine FOREIGN KEY(idxMacchina) REFERENCES AnagMacchine(idxMacchina) ON UPDATE CASCADE ON DELETE CASCADE +GO + +CREATE TABLE FiltroStati( + username NVARCHAR(50) NOT NULL, + idxStato INT NOT NULL, + + CONSTRAINT PK_FiltroStati PRIMARY KEY(username,idxStato) +) +GO + +ALTER TABLE FiltroStati ADD + CONSTRAINT FK_FiltroStati_AnagStati FOREIGN KEY(idxStato) REFERENCES AnagStati(idxStato) ON UPDATE CASCADE ON DELETE CASCADE +GO + +CREATE TABLE InterventiMtz( + numIntMtz INT NOT NULL IDENTITY CONSTRAINT PK_InterventiMtz PRIMARY KEY, + richiesta DATETIME NOT NULL, + dataLav DATETIME NOT NULL, + turnoLav INT NOT NULL, + matr NVARCHAR(10) NOT NULL, + guasto DATETIME NOT NULL, + idxAmbito INT NOT NULL, + idxPriorita INT NOT NULL, + isFermo BIT NOT NULL CONSTRAINT DF_InterventiMtz_isFermo DEFAULT (1), + idxTipo INT NOT NULL, + idxImpianto INT NOT NULL, + idxMacchina INT NOT NULL, + descrizione NVARCHAR(500) NOT NULL, + idxStato INT NOT NULL, + presaInCarico DATETIME, + inizioIntervento DATETIME, + fineIntervento DATETIME, + descrizioneIntervento NVARCHAR(500), + isPreventivabile BIT NOT NULL CONSTRAINT DF_InterventiMtz_isPreventivabile DEFAULT (0), + idxCausale INT +) +GO + +ALTER TABLE InterventiMtz ADD + CONSTRAINT FK_InterventiMtz_AnagPriorita FOREIGN KEY(idxPriorita) REFERENCES AnagPriorita(idxPriorita) ON UPDATE CASCADE, + CONSTRAINT FK_InterventiMtz_AnagStati FOREIGN KEY(idxStato) REFERENCES AnagStati(idxStato) ON UPDATE CASCADE, + CONSTRAINT FK_InterventiMtz_AnagImpianti FOREIGN KEY(idxImpianto) REFERENCES AnagImpianti(idxImpianto), + CONSTRAINT FK_InterventiMtz_AnagTipoGuasto FOREIGN KEY(idxTipo) REFERENCES AnagTipoGuasto(idxTipo) ON UPDATE CASCADE, + CONSTRAINT FK_InterventiMtz_AnagAmbitoGuasto FOREIGN KEY(idxAmbito) REFERENCES AnagAmbitoGuasto(idxAmbito) ON UPDATE CASCADE, + CONSTRAINT FK_InterventiMtz_AnagCausali FOREIGN KEY(idxCausale) REFERENCES AnagCausali(idxCausale) ON UPDATE CASCADE, + CONSTRAINT FK_InterventiMtz_AnagMacchine FOREIGN KEY(idxMacchina) REFERENCES AnagMacchine(idxMacchina) ON UPDATE CASCADE +GO + +CREATE TABLE InterventoOpMtz( + numIntMtz INT NOT NULL, + matrOp NVARCHAR(10) NOT NULL, + durataMinuti INT, + + CONSTRAINT PK_InterventoOpMtz PRIMARY KEY(numIntMtz,matrOp) +) +GO + +ALTER TABLE InterventoOpMtz ADD + CONSTRAINT FK_InterventoOpMtz_InterventiMtz FOREIGN KEY(numIntMtz) REFERENCES InterventiMtz(numIntMtz) ON UPDATE CASCADE +GO + +CREATE TABLE LogUpdateDb( + Versione INT NOT NULL CONSTRAINT PK_LogUpdateDb PRIMARY KEY, + Data DATETIME +) +GO + +CREATE TABLE Macchine2FamMacchine( + idxMacchina INT NOT NULL, + idxFamMacchine INT NOT NULL, + + CONSTRAINT PK_Macchine2FamMacchine PRIMARY KEY(idxMacchina,idxFamMacchine) +) +GO + +ALTER TABLE Macchine2FamMacchine ADD + CONSTRAINT FK_Macchine2FamMacchine_AnagMacchine FOREIGN KEY(idxMacchina) REFERENCES AnagMacchine(idxMacchina) ON UPDATE CASCADE, + CONSTRAINT FK_Macchine2FamMacchine_AnagFamMacchine FOREIGN KEY(idxFamMacchine) REFERENCES AnagFamMacchine(idxFamMacchine) ON UPDATE CASCADE +GO + +CREATE TABLE MtzProgPending( + idxPending INT NOT NULL IDENTITY CONSTRAINT PK_MtzProgPending PRIMARY KEY, + idxIntPro INT NOT NULL, + idxMacchina INT, + data DATETIME, + descrizione NVARCHAR(500), + idxPriorita INT, + isFermo BIT CONSTRAINT DF_MtzProgPending_isFermo DEFAULT (1), + idxTipo INT +) +GO + +CREATE TABLE MtzProgrammata( + idxIntPro INT NOT NULL IDENTITY CONSTRAINT PK_MtzProgrammata PRIMARY KEY, + idxMacchina INT, + inizio DATETIME, + codFrequenza NCHAR(2), + cadenza INT, + descrizione NVARCHAR(500), + idxPriorita INT, + isFermo BIT CONSTRAINT DF_MtzProgrammata_isFermo DEFAULT (1), + idxTipo INT +) +GO + +ALTER TABLE MtzProgrammata ADD + CONSTRAINT FK_MtzProgrammata_AnagFrequenze FOREIGN KEY(codFrequenza) REFERENCES AnagFrequenze(codFrequenza) ON UPDATE CASCADE, + CONSTRAINT FK_MtzProgrammata_AnagMacchine FOREIGN KEY(idxMacchina) REFERENCES AnagMacchine(idxMacchina) ON UPDATE CASCADE +GO + +CREATE TABLE OreAperturaSett( + giorno INT NOT NULL CONSTRAINT PK_OreAperturaSett PRIMARY KEY, + descrGiorno NVARCHAR(50), + apertura DECIMAL(4,2) +) +GO + +CREATE TABLE Permessi( + COD_PERMESSO VARCHAR(50) NOT NULL CONSTRAINT PK_Permessi PRIMARY KEY, + URL VARCHAR(250) NOT NULL, + GRUPPO INT, + NUMERO INT, + NOME VARCHAR(50), + DESCRIZIONE VARCHAR(50) +) +GO + +CREATE TABLE Permessi2Funzione( + COD_PERMESSO VARCHAR(50) NOT NULL, + COD_FUNZIONE NVARCHAR(31) NOT NULL, + READWRITE CHAR(1), + + CONSTRAINT PK_Permessi2Funzione PRIMARY KEY(COD_PERMESSO,COD_FUNZIONE) +) +GO + +ALTER TABLE Permessi2Funzione ADD + CONSTRAINT FK_Permessi2Funzione_Permessi FOREIGN KEY(COD_PERMESSO) REFERENCES Permessi(COD_PERMESSO) ON UPDATE CASCADE +GO + +CREATE TABLE Tra_Ev2Stati( + idxStato INT NOT NULL, + idxEvento INT NOT NULL, + nextIdxStato INT NOT NULL, + + CONSTRAINT PK_Tra_Ev2Stati PRIMARY KEY(idxStato,idxEvento) +) +GO + +ALTER TABLE Tra_Ev2Stati ADD + CONSTRAINT FK_Tra_Ev2Stati_AnagStati FOREIGN KEY(idxStato) REFERENCES AnagStati(idxStato) ON UPDATE CASCADE, + CONSTRAINT FK_Tra_Ev2Stati_AnagEventi FOREIGN KEY(idxEvento) REFERENCES AnagEventi(idxEvento) ON UPDATE CASCADE +GO + +ALTER TABLE MtzProgPending ADD + CONSTRAINT FK_MtzProgPending_MtzProgrammata FOREIGN KEY(idxIntPro) REFERENCES MtzProgrammata(idxIntPro) ON UPDATE CASCADE ON DELETE CASCADE +GO + +COMMIT +GO + + + + + + + + +/* creo funzioni */ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE FUNCTION f_padLeft (@string VARCHAR(255), @desired_length INTEGER, @pad_character CHAR(1)) +RETURNS VARCHAR(255) AS +BEGIN + + -- Prefix the required number of spaces to bulk up the string and then replace the spaces with the desired character + RETURN CASE + WHEN LEN(@string) < @desired_length + THEN REPLACE(SPACE(@desired_length - LEN(@string)), ' ', @pad_character) + @string + ELSE @string + END + +END +GO + +CREATE FUNCTION rightDivision +( + @dividendo FLOAT, + @divisore FLOAT +) +RETURNS FLOAT +AS + BEGIN + + DECLARE @errore AS INT + DECLARE @risultato AS FLOAT + + SET @errore =0 + + SET @errore = CASE WHEN (isnull(@dividendo,0))<=0 THEN 1 END + + SET @errore = CASE WHEN (isnull(@divisore,0)) <=0 THEN 1 END + + SET @risultato= CASE WHEN (@errore=1) THEN -1 ELSE @dividendo/@divisore END + + RETURN @risultato + + END +GO + +COMMIT +GO + + +/* creo stored e funzioni */ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +/************************************* +* STORED PROCEDURE sp_clonaImpianto +* Clona i dati dell'impianto indicato +* +* modif.: S.E.L. - 2009.01.14 +**************************************/ +CREATE PROCEDURE sp_clonaImpianto +( + @idxImpianto INT +) +AS + +BEGIN TRAN + + INSERT INTO AnagImpianti + (codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + SELECT codImpianto + '-clone' AS Expr1, nomeImpianto + '-clone' AS Expr2, tipoImpianto, funzDal, funzAl + FROM AnagImpianti AS AnagImpianti_1 + WHERE (idxImpianto = @idxImpianto) + +COMMIT TRAN + +RETURN +GO + +/************************************* +* STORED PROCEDURE sp_clonaMacchina +* Clona i dati della macchina indicata +* +* modif.: S.E.L. - 2009.01.14 +**************************************/ +CREATE PROCEDURE sp_clonaMacchina +( + @idxMacchina INT +) +AS + +BEGIN TRAN + + INSERT INTO AnagMacchine + (idxImpianto, codMacchina, nomeMacchina, modello, anno, kgPeso, kwConsumo, funzDal, funzAl) + SELECT idxImpianto, codMacchina + '-clone' AS Expr1, nomeMacchina + '-clone' AS Expr2, modello, anno, kgPeso, kwConsumo, funzDal, funzAl + FROM AnagMacchine AS AnagMacchine_1 + WHERE (idxMacchina = @idxMacchina) + +COMMIT TRAN + +RETURN +GO + +/************************************* +* STORED PROCEDURE sp_elencoIntMTBF_MTTR +* Restituisce elenco degli interventi x fare il calcolo MTBF/MTTR FILTRANDO per: +* - idxStati +* - idxImpianto +* - idxMacchina +* +* modif.: S.E.L. - 2009.02.11 +**************************************/ +CREATE PROCEDURE sp_elencoIntMTBF_MTTR +( + @inizio DATETIME, + @fine DATETIME, + @username VARCHAR(100) +) +AS + + SELECT COUNT(v_elencoIntervFilt.numIntMtz) AS numInterventi, SUM(v_elencoIntervFilt.durataMtz) AS totOreMtz, SUM(v_elencoIntervFilt.durataOff) AS totOreOfficina, + v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina + FROM FiltroImpianti INNER JOIN + FiltroMacchine INNER JOIN + v_elencoIntervFilt INNER JOIN + FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato ON FiltroMacchine.idxMacchina = v_elencoIntervFilt.idxMacchina ON + FiltroImpianti.idxImpianto = v_elencoIntervFilt.idxImpianto + WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username) AND (FiltroMacchine.username = @username) AND + (FiltroImpianti.username = @username) + GROUP BY v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina + +RETURN +GO + +/************************************* +* STORED PROCEDURE sp_insRichiesta +* Inserisce nuova richiesta di intervento +* +* modif.: S.E.L. - 2009.01.22 +**************************************/ +CREATE PROCEDURE sp_insRichiesta +( + @richiesta DATETIME, + @dataLav DATETIME, + @turnoLav INT, + @matr VARCHAR(10), + @guasto DATETIME, + @idxAmbito INT, + @idxPriorita INT, + @isFermo BIT, + @idxTipo INT, + @idxImpianto INT, + @idxMacchina INT, + @descrizione VARCHAR(500), + @numIntMtz INT output +) +AS + +BEGIN TRAN + + INSERT INTO InterventiMtz + (richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, idxPriorita, isFermo, idxTipo, idxImpianto, idxMacchina, descrizione, idxStato) + VALUES (@richiesta,@dataLav,@turnoLav,@matr,@guasto,@idxAmbito,@idxPriorita,@isFermo,@idxTipo,@idxImpianto,@idxMacchina,@descrizione, 1) + + /************************************* + * salvo idx del nuovo record + **************************************/ + SET @numIntMtz = SCOPE_IDENTITY() + +COMMIT TRAN + +RETURN (@numIntMtz) +GO + +/************************************* +* STORED PROCEDURE sp_procStatEv +* esegue la chiamata d processing x stati in base all'attuale stato ed all'evento associato +* +* modif.: S.E.L. +* il: 2009.01.22 +**************************************/ +CREATE PROCEDURE sp_procStatEv +( + @numIntMtz INT, + @idxEvento INT, + @idxStatoNew INT OUTPUT +) + +AS + -- chiamo la query di update, che cerca una riga nella tab transizioni x lo stato e l'evento richiesti e se li trova esegue update del ciclo... + + DECLARE @currIdxStato AS INT + DECLARE @procedere AS INT + +BEGIN TRAN + -- calcolo stato corrente del ciclo... + SET @currIdxStato = ISNULL((SELECT idxStato + FROM InterventiMtz + WHERE (numIntMtz = @numIntMtz)),0) + + -- cerco transizione da stato ed evento associati... + SET @procedere = ISNULL((SELECT COUNT(*) FROM Tra_Ev2Stati WHERE idxEvento=@idxEvento AND idxStato=@currIdxStato),0) + + -- se trovo eseguo transizione... + IF(@procedere >0) + BEGIN + UPDATE InterventiMtz + SET idxStato = Tra_Ev2Stati.nextIdxStato + FROM InterventiMtz INNER JOIN + Tra_Ev2Stati ON InterventiMtz.idxStato = Tra_Ev2Stati.idxStato + WHERE (InterventiMtz.numIntMtz = @numIntMtz) AND (Tra_Ev2Stati.idxEvento = @idxEvento) + END + +COMMIT TRAN + + -- calcolo lo stato nuovo... + SET @idxStatoNew = ISNULL((SELECT idxStato + FROM InterventiMtz + WHERE (numIntMtz = @numIntMtz)),0) + +RETURN (@idxStatoNew) +GO + +/************************************* +* STORED PROCEDURE sp_setPresaInCarico +* indica la richiesta come presa in carico con data/ora attuale del server +* +* modif.: S.E.L. - 2009.01.22 +**************************************/ +CREATE PROCEDURE sp_setPresaInCarico +( + @numIntMtz INT, + @idxStatoNew INT OUTPUT +) +AS + +BEGIN TRAN + -- inserisco data presa in carico + UPDATE InterventiMtz + SET presaInCarico = GETDATE() + WHERE (numIntMtz = @numIntMtz) + + -- aggiorno da machcian a stati... + EXEC sp_procStatEv @numIntMtz, 1, @idxStatoNew +COMMIT TRAN + +RETURN (@idxStatoNew) +GO + +/************************************* +* STORED PROCEDURE sp_spostaMacchina +* Sposta la macchina all'impianto indicato +* +* modif.: S.E.L. - 2009.01.14 +**************************************/ +CREATE PROCEDURE sp_spostaMacchina +( + @idxMacchina INT, + @idxImpiantoTo INT +) +AS + +UPDATE AnagMacchine +SET idxImpianto = @idxImpiantoTo +WHERE (idxMacchina = @idxMacchina) + +RETURN +GO + +/************************************* +* STORED PROCEDURE sp_updateIntervento +* aggiorna i dati dell'intervento compilati dalla manutenzione +* +* modif.: S.E.L. - 2009.01.28 +**************************************/ +CREATE PROCEDURE sp_updateIntervento +( + @Original_numIntMtz INT, + @idxStato INT, + @inizioIntervento DATETIME, + @fineIntervento DATETIME, + @isPreventivabile BIT, + @descrizioneIntervento VARCHAR(500) +) +AS + +UPDATE InterventiMtz +SET inizioIntervento = @inizioIntervento, fineIntervento = @fineIntervento, descrizioneIntervento = @descrizioneIntervento, isPreventivabile = @isPreventivabile, idxStato = @idxStato +WHERE (numIntMtz = @Original_numIntMtz) + +RETURN +GO + +/************************************* +* STORED PROCEDURE sp_updateInterventoFull +* aggiorna TUTTI i dati dell'intervento +* +* modif.: S.E.L. - 2009.02.02 +**************************************/ +CREATE PROCEDURE sp_updateInterventoFull +( + @Original_numIntMtz INT, + @idxStato INT, + @inizioIntervento DATETIME, + @fineIntervento DATETIME, + @isPreventivabile BIT, + @descrizioneIntervento VARCHAR(500), + @matr VARCHAR(50), + @guasto DATETIME, + @isFermo BIT, + @idxImpianto INT, + @idxMacchina INT, + @idxAmbito INT, + @idxPriorita INT, + @descrizione VARCHAR(500), + @idxTipo INT, + @presaInCarico DATETIME +) +AS + +UPDATE InterventiMtz +SET inizioIntervento = @inizioIntervento, fineIntervento = @fineIntervento, descrizioneIntervento = @descrizioneIntervento, isPreventivabile = @isPreventivabile, + idxStato = @idxStato, matr = @matr, guasto = @guasto, idxAmbito = @idxAmbito, idxPriorita = @idxPriorita, isFermo = @isFermo, idxTipo = @idxTipo, + idxImpianto = @idxImpianto, idxMacchina = @idxMacchina, descrizione = @descrizione, presaInCarico = @presaInCarico +WHERE (numIntMtz = @Original_numIntMtz) + +RETURN +GO + +COMMIT +GO + + + + + + + + +/* creo viste */ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_vocabolario +AS +SELECT Lingua, Lemma, Traduzione +FROM SteamWare_Vocabolario.dbo.Vocabolario +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Vocabolario (SteamWare_Vocabolario.dbo)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 99 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_vocabolario' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_vocabolario' +GO + +COMMIT +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_selAmbiti +AS +SELECT TOP (100) PERCENT idxAmbito AS value, descrAmbitoGuasto AS label +FROM dbo.AnagAmbitoGuasto +ORDER BY label +GO + +CREATE VIEW v_selCausaliMacchine +AS +SELECT dbo.AnagCausali.idxCausale AS value, dbo.AnagCausali.descrCausale AS label, dbo.Macchine2FamMacchine.idxMacchina AS conditio +FROM dbo.Causali2FamMacchine INNER JOIN + dbo.Macchine2FamMacchine ON dbo.Causali2FamMacchine.idxFamMacchine = dbo.Macchine2FamMacchine.idxFamMacchine INNER JOIN + dbo.AnagCausali ON dbo.Causali2FamMacchine.idxCausale = dbo.AnagCausali.idxCausale +GO + +CREATE VIEW v_selFamMacc +AS +SELECT dbo.Macchine2FamMacchine.idxFamMacchine, dbo.AnagMacchine.idxMacchina, dbo.AnagFamMacchine.nomeFamMacch AS famiglia, + ISNULL(dbo.AnagMacchine.codMacchina, 'n.d.') + ' - ' + dbo.AnagMacchine.nomeMacchina + ', mod. ' + ISNULL(dbo.AnagMacchine.modello, 'n.d.') + + ' (' + ISNULL(dbo.AnagMacchine.matricola, 'n.d.') + ')' AS macchina +FROM dbo.Macchine2FamMacchine INNER JOIN + dbo.AnagFamMacchine ON dbo.Macchine2FamMacchine.idxFamMacchine = dbo.AnagFamMacchine.idxFamMacchine INNER JOIN + dbo.AnagMacchine ON dbo.Macchine2FamMacchine.idxMacchina = dbo.AnagMacchine.idxMacchina +GO + +CREATE VIEW v_selFreq +AS +SELECT codFrequenza AS value, frequenza AS label +FROM dbo.AnagFrequenze +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagFrequenze" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 84 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selFreq' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selFreq' +GO + +CREATE VIEW v_selImpianti +AS +SELECT TOP (100) PERCENT idxImpianto AS value, nomeImpianto + ' - ' + ISNULL(tipoImpianto, 'n.d.') + ' (' + ISNULL(codImpianto, 'n.d.') + ')' AS label +FROM dbo.AnagImpianti +ORDER BY label +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagImpianti" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 114 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 4185 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selImpianti' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selImpianti' +GO + +CREATE VIEW v_selMacchine +AS +SELECT TOP (100) PERCENT idxMacchina AS value, LTRIM(RTRIM(nomeMacchina)) + ' (' + ISNULL(codMacchina, 'n.d.') + ') ' + ', mod. ' + ISNULL(modello, 'n.d.') + + ' (' + ISNULL(matricola, 'n.d.') + ')' AS label, idxImpianto AS conditio +FROM dbo.AnagMacchine +ORDER BY label +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = -384 + Left = 0 + End + Begin Tables = + Begin Table = "AnagMacchine" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 114 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 6795 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selMacchine' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selMacchine' +GO + +CREATE VIEW v_selPeriodiTrad +AS +SELECT TOP (100) PERCENT dbo.AnagPeriodi.codPeriodo AS value, dbo.v_vocabolario.Traduzione AS label, dbo.v_vocabolario.Lingua AS conditio +FROM dbo.AnagPeriodi INNER JOIN + dbo.v_vocabolario ON dbo.AnagPeriodi.lemmaPeriodo = dbo.v_vocabolario.Lemma +ORDER BY label +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagPeriodi" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 84 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "v_vocabolario" + Begin Extent = + Top = 6 + Left = 227 + Bottom = 99 + Right = 378 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selPeriodiTrad' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selPeriodiTrad' +GO + +CREATE VIEW v_selPrior +AS +SELECT TOP (100) PERCENT idxPriorita AS value, CAST(idxPriorita AS VARCHAR(4)) + ' - ' + descrPriorita AS label +FROM dbo.AnagPriorita +ORDER BY label +GO + +CREATE VIEW v_selSemafori +AS +SELECT TOP (100) PERCENT codSemaforo AS value, descrSemaforo AS label +FROM dbo.AnagSemafori +ORDER BY label +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagSemafori" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 84 + Right = 190 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selSemafori' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selSemafori' +GO + +CREATE VIEW v_selStato +AS +SELECT idxStato AS value, DescrStato AS label +FROM dbo.AnagStati +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStati" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 99 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selStato' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selStato' +GO + +CREATE VIEW v_selTipoGuasto +AS +SELECT TOP (100) PERCENT idxTipo AS value, descrTipo AS label +FROM dbo.AnagTipoGuasto +ORDER BY label +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagTipoGuasto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 84 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selTipoGuasto' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selTipoGuasto' +GO + +COMMIT +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_interventiErogati +AS +SELECT numIntMtz, SUM(durataMinuti) AS totMinErogati +FROM dbo.InterventoOpMtz +GROUP BY numIntMtz +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "InterventoOpMtz" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 99 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_interventiErogati' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_interventiErogati' +GO + +CREATE VIEW v_intervExp +AS +SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.InterventiMtz.dataLav, dbo.InterventiMtz.turnoLav, dbo.InterventiMtz.matr, + dbo.InterventiMtz.guasto, dbo.InterventiMtz.idxAmbito, dbo.AnagAmbitoGuasto.descrAmbitoGuasto, dbo.InterventiMtz.idxPriorita, + dbo.AnagPriorita.descrPriorita, dbo.InterventiMtz.isFermo, dbo.InterventiMtz.idxTipo, dbo.AnagTipoGuasto.descrTipo, dbo.InterventiMtz.idxImpianto, + dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto, dbo.InterventiMtz.idxMacchina, dbo.AnagMacchine.codMacchina, + dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.idxStato, dbo.AnagStati.DescrStato, + ISNULL(dbo.InterventiMtz.presaInCarico, dbo.InterventiMtz.richiesta) AS presaInCarico, ISNULL(dbo.InterventiMtz.inizioIntervento, + ISNULL(dbo.InterventiMtz.presaInCarico, dbo.InterventiMtz.richiesta)) AS inizioIntervento, ISNULL(dbo.InterventiMtz.fineIntervento, GETDATE()) + AS fineIntervento, dbo.InterventiMtz.descrizioneIntervento, dbo.InterventiMtz.isPreventivabile, dbo.InterventiMtz.idxCausale, + ISNULL(dbo.AnagCausali.descrCausale, 'N.D.') AS descrCausale +FROM dbo.InterventiMtz INNER JOIN + dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN + dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN + dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN + dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN + dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN + dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN + dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale +ORDER BY dbo.InterventiMtz.numIntMtz DESC +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "InterventiMtz" + Begin Extent = + Top = 5 + Left = 576 + Bottom = 360 + Right = 761 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagAmbitoGuasto" + Begin Extent = + Top = 4 + Left = 213 + Bottom = 82 + Right = 386 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagImpianti" + Begin Extent = + Top = 113 + Left = 834 + Bottom = 221 + Right = 985 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMacchine" + Begin Extent = + Top = 181 + Left = 227 + Bottom = 289 + Right = 378 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagTipoGuasto" + Begin Extent = + Top = 91 + Left = 228 + Bottom = 169 + Right = 379 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagPriorita" + Begin Extent = + Top = 19 + Left = 834 + Bottom = 97 + Right = 985 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagStati" + Begin Extent = + Top = 237 + Left = 834 + Bottom = 315 + Right = 985 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_intervExp' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane2', ' End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagCausali" + Begin Extent = + Top = 295 + Left = 235 + Bottom = 373 + Right = 386 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 30 + Width = 284 + Width = 1500 + Width = 1665 + Width = 1185 + Width = 1500 + Width = 1500 + Width = 1830 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_intervExp' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_intervExp' +GO + +CREATE VIEW v_macchine +AS +SELECT dbo.AnagMacchine.idxMacchina, dbo.AnagMacchine.idxImpianto, dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.AnagMacchine.modello, + dbo.AnagMacchine.matricola, dbo.AnagMacchine.anno, dbo.AnagMacchine.kgPeso, dbo.AnagMacchine.kwConsumo, dbo.AnagMacchine.funzDal, + dbo.AnagMacchine.funzAl, dbo.AnagImpianti.codImpianto + ' - ' + dbo.AnagImpianti.nomeImpianto AS descrImpianto +FROM dbo.AnagMacchine INNER JOIN + dbo.AnagImpianti ON dbo.AnagMacchine.idxImpianto = dbo.AnagImpianti.idxImpianto +GO + +CREATE VIEW v_mtzProgExp +AS +SELECT dbo.MtzProgrammata.idxIntPro, dbo.MtzProgrammata.idxMacchina, dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.MtzProgrammata.inizio, + dbo.MtzProgrammata.codFrequenza, dbo.AnagFrequenze.frequenza, dbo.MtzProgrammata.cadenza, dbo.MtzProgrammata.descrizione, + dbo.MtzProgrammata.idxPriorita, dbo.AnagPriorita.descrPriorita, dbo.MtzProgrammata.isFermo, dbo.MtzProgrammata.idxTipo, dbo.AnagTipoGuasto.descrTipo +FROM dbo.MtzProgrammata INNER JOIN + dbo.AnagMacchine ON dbo.MtzProgrammata.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN + dbo.AnagFrequenze ON dbo.MtzProgrammata.codFrequenza = dbo.AnagFrequenze.codFrequenza INNER JOIN + dbo.AnagPriorita ON dbo.MtzProgrammata.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN + dbo.AnagTipoGuasto ON dbo.MtzProgrammata.idxTipo = dbo.AnagTipoGuasto.idxTipo +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "MtzProgrammata" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 275 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMacchine" + Begin Extent = + Top = 6 + Left = 227 + Bottom = 114 + Right = 378 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagFrequenze" + Begin Extent = + Top = 6 + Left = 416 + Bottom = 84 + Right = 567 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagPriorita" + Begin Extent = + Top = 6 + Left = 605 + Bottom = 99 + Right = 756 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagTipoGuasto" + Begin Extent = + Top = 6 + Left = 794 + Bottom = 84 + Right = 945 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 15 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width ', 'SCHEMA', 'dbo', 'VIEW', 'v_mtzProgExp' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane2', '= 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_mtzProgExp' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_mtzProgExp' +GO + +COMMIT +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_elencoImpiantiMacchine +AS +SELECT dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto, dbo.AnagImpianti.tipoImpianto, dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, + dbo.AnagMacchine.modello, ISNULL(dbo.AnagMacchine.matricola, 'n.d.') AS matricola, dbo.AnagMacchine.anno, dbo.AnagMacchine.kgPeso, + dbo.AnagMacchine.kwConsumo +FROM dbo.AnagImpianti INNER JOIN + dbo.AnagMacchine ON dbo.AnagImpianti.idxImpianto = dbo.AnagMacchine.idxImpianto +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagImpianti" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 171 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMacchine" + Begin Extent = + Top = 6 + Left = 227 + Bottom = 207 + Right = 378 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 11 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoImpiantiMacchine' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_elencoImpiantiMacchine' +GO + +CREATE VIEW v_elencoIntervFilt +AS +SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto, + dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.inizioIntervento, + dbo.InterventiMtz.fineIntervento, ISNULL(dbo.InterventiMtz.descrizioneIntervento, 'n.d. (report mtz)') AS descrizioneIntervento, ISNULL(dbo.AnagCausali.descrCausale, + 'n.d. (causale)') AS descrCausale, ISNULL(dbo.v_interventiErogati.totMinErogati / 60, 0) AS minErogati, ISNULL(DATEDIFF(hour, dbo.InterventiMtz.inizioIntervento, + dbo.InterventiMtz.fineIntervento), 0) AS durataMtz, ISNULL(DATEDIFF(hour, dbo.InterventiMtz.guasto, dbo.InterventiMtz.fineIntervento), 0) AS durataOff, + dbo.InterventiMtz.guasto, dbo.InterventiMtz.idxStato, dbo.InterventiMtz.idxImpianto, dbo.InterventiMtz.idxMacchina +FROM dbo.InterventiMtz INNER JOIN + dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN + dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN + dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN + dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN + dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN + dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN + dbo.v_interventiErogati ON dbo.InterventiMtz.numIntMtz = dbo.v_interventiErogati.numIntMtz LEFT OUTER JOIN + dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale +ORDER BY dbo.InterventiMtz.numIntMtz DESC +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = -23 + Left = 0 + End + Begin Tables = + Begin Table = "InterventiMtz" + Begin Extent = + Top = 8 + Left = 486 + Bottom = 354 + Right = 671 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagAmbitoGuasto" + Begin Extent = + Top = 11 + Left = 82 + Bottom = 89 + Right = 255 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagImpianti" + Begin Extent = + Top = 123 + Left = 219 + Bottom = 231 + Right = 370 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMacchine" + Begin Extent = + Top = 190 + Left = 826 + Bottom = 298 + Right = 977 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagTipoGuasto" + Begin Extent = + Top = 90 + Left = 1143 + Bottom = 168 + Right = 1294 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagPriorita" + Begin Extent = + Top = 23 + Left = 958 + Bottom = 116 + Right = 1109 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagStati" + Begin Extent = + Top = 263 + Left = 90 + Bottom = 356 + Right = 241 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane2', ' End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "v_interventiErogati" + Begin Extent = + Top = 3 + Left = 739 + Bottom = 81 + Right = 890 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagCausali" + Begin Extent = + Top = 291 + Left = 1011 + Bottom = 369 + Right = 1162 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 30 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1575 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt' +GO + +COMMIT +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_datiMTBFMTTR +AS +SELECT COUNT(numIntMtz) AS numInterventi, SUM(durataMtz) AS totOreMtz, SUM(durataOff) AS totOreOfficina, codImpianto, codMacchina, nomeImpianto, + nomeMacchina +FROM dbo.v_elencoIntervFilt +GROUP BY codImpianto, codMacchina, nomeImpianto, nomeMacchina +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[41] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "v_elencoIntervFilt" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 391 + Right = 223 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 2235 + Width = 3210 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_datiMTBFMTTR' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_datiMTBFMTTR' +GO + +COMMIT +GO + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(1, GETDATE()) +GO diff --git a/Projects/WebGIM/GIM_site/sql/GIM_0002.sql b/Projects/WebGIM/GIM_site/sql/GIM_0002.sql new file mode 100644 index 0000000..69b3003 --- /dev/null +++ b/Projects/WebGIM/GIM_site/sql/GIM_0002.sql @@ -0,0 +1,991 @@ +/**************************************************************** +* SteamWare s.r.l. +* +* Setup iniziale DB WebGIM con valorizzazione valori di default +* +* modificato: 2009-01-13 S.E.L. +* +****************************************************************/ + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagAmbitoGuasto ON +GO + +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (1, N'non definito') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (2, N'usura') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (3, N'accidentale - urti') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (4, N'set-up') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (5, N'rottura inserto') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (6, N'mancanza energia') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (7, N'Mtz programmata') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (8, N'errata programmazione') +INSERT INTO dbo.AnagAmbitoGuasto + (idxAmbito, descrAmbitoGuasto) + VALUES (9, N'pulizia') +GO + +SET IDENTITY_INSERT dbo.AnagAmbitoGuasto OFF +GO + +COMMIT TRANSACTION +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagEventi + VALUES (1, N'Presa in carico') +INSERT INTO dbo.AnagEventi + VALUES (2, N'Conclusione intervento') +INSERT INTO dbo.AnagEventi + VALUES (3, N'Annullamento intervento') +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagFamMacchine ON +GO + +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (1, N'Tornitrici MonoMandrino') +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (2, N'Foratrici') +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (3, N'Lappatrici') +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (4, N'Impianto Elettrico') +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (5, N'Impianto Pneumatico') +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (6, N'Impianto Idraulico') +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (7, N'Raccolta sfrido') +GO + +SET IDENTITY_INSERT dbo.AnagFamMacchine OFF +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagImpianti ON +GO + +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (1, N'MTZ', N'Manutenzione', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (2, N'STRUM', N'Strumenti di misura /Controllo', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (3, N'TORN', N'Tornitura', N'Reparto', '2009-01-01 00:00:00.000', '2018-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (4, N'DEN', N'Dentatura', N'Reparto', '2009-01-01 00:00:00.000', '2018-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (5, N'DENGLE', N'Dentatura Gleason', N'Reparto', '2009-01-01 00:00:00.000', '2018-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (6, N'CLAV', N'Centri di lavoro', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (7, N'CTS', N'Centratura Intestatura / Taglio Seghetti', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (8, N'TRA', N'Trapani', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (9, N'SBA', N'Sbavatrici', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (10, N'REINT', N'Rettifiche Interne', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (11, N'REEXT', N'Rettifiche Esterne', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (12, N'TORFIN', N'Tornitura Finitura', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (13, N'REDENT', N'Rettifiche Denti', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (14, N'LOG', N'Logistica', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (15, N'IMP', N'Impianti e Servizi', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (16, N'SI', N'Sistemi Informatici', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +GO + +SET IDENTITY_INSERT dbo.AnagImpianti OFF +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagMacchine ON +GO + +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (3, 7, N'--SE/1', N'Segatrice a nastro', N'DAITO GA 260 W', NULL, 1988, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (4, 7, N'--SE/2', N'Segatrice a nastro', N'DAITO GA 260 W', NULL, 1988, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (5, 3, N'--EM/7', N'Tornio verticale CN con caricatore', N'EMAG VSC 7', NULL, 2007, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (6, 3, N'--DT20', N'Tornio a 2 teste CN con portale (isola LP1)', N'MAZAK DT20', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (7, 3, N'EM3152', N'Tornio verticale CN con caricatore', N'EMAG VSC 315', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (8, 3, N'-EM400', N'Tornio verticale CN con caricatore', N'EMAG VSC 400', NULL, 1999, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (9, 3, N'MT5003', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (10, 3, N'-EM315', N'Tornio verticale CN con caricatore', N'EMAG VSC 315', NULL, 1997, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (11, 3, N'---PDF', N'Tornio frontale a 2 teste CN', N'PITTLER 200 CNC PDF', NULL, 1995, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (12, 3, N'MT5002', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', NULL, 1995, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (13, 3, N'-MT500', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', NULL, 1994, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (14, 3, N'--P200', N'Tornio frontale a 2 teste CN con robot', N'PITTLER 200 CNC PETRA 1', NULL, 1989, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (15, 3, N'-OK165', N'Tornio frontale a 2 teste CN', N'OKUMA 165 CNC', NULL, 1989, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (16, 3, N'--P315', N'Tornio frontale a 2 teste CN', N'PITTLER 315 CNC PETRA 2', NULL, 1988, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (17, 3, N'--P250', N'Tornio frontale a 2 teste CN con robot', N'PITTLER 250 CNC PETRA 1', NULL, 1987, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (18, 3, N'--TP/1', N'Tornio parallelo', N'CMT URSUS 225', NULL, 1980, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (19, 3, N'--TP/2', N'Tornio parallelo', N'CMT URSUS 225', NULL, 1985, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (20, 3, N'-FELSO', N'Tornio verticale CN a 2 teste con caricatore', N'FELSOMAT FZ350', NULL, 2008, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (21, 8, N'-TMB/1', N'Trapano multiplo', N'BERARDI VB II Z', NULL, 1980, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (22, 8, N'-TMB/2', N'Trapano multiplo', N'BERARDI VB II Z', NULL, 1980, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (23, 8, N'---TMO', N'Trapano multiplo', N'OLIVETTI', NULL, 1978, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (24, 8, N'----TO', N'Trapano', N'OLIVETTI', NULL, 1975, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (25, 1, N'RECORD', N'Maschiatrice', N'RECORD', NULL, 1993, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (26, 1, N'---MJN', N'Maschiatrice', N'JOANNES', NULL, 1978, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (27, 1, N'--BV25', N'Brocciatrice', N'VARINELLI 1320', NULL, 1981, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (28, 1, N'--BMV6', N'Brocciatrice', N'VARINELLI 1600', NULL, 1980, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (29, 9, N'--GR/5', N'Sbavatrice GR/5', N'MPM SAG50/PN', NULL, 1978, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (30, 9, N'--GR/4', N'Sbavatrice GR/4', N'MINITOOLS MT600', NULL, 1990, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (31, 9, N'--GR/7', N'Smussatrice GR/7', N'RAVAGLIA', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (32, 9, N'--GR/8', N'Smussatrice GR/8', N'RAVAGLIA', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (33, 9, N'--GR/3', N'Sbavatrice GR/3', N'MPM', NULL, 1988, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (34, 9, N'N/D', N'Sbavatrice (in Isola LP1)', N'SAMPUTENSILI ', NULL, 2004, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (35, 9, N'---SCT', N'Sbavatrice', N'SAMPUTENSILI SCT3', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (36, 9, N'--GR/1', N'Sbavatrice GR/1', N'GRATOMAT KGG533', NULL, 1979, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (37, 9, N'--GR/2', N'Sbavatrice GR/2', N'GRATOMAT 300L', NULL, 1989, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (38, 6, N'-V5005', N'Centro di lavoro CN', N'DOOSAN VC500', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (39, 6, N'-V5004', N'Centro di lavoro CN', N'DOOSAN VC500', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (40, 6, N'--V500', N'Centro di lavoro CN', N'DAEWOO ACE VC500', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (41, 6, N'-V5002', N'Centro di lavoro CN', N'DAEWOO ACE VC500', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (42, 6, N'-V5003', N'Centro di lavoro CN', N'DAEWOO ACE VC500', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (43, 6, N'--V400', N'Centro di lavoro CN', N'DAEWOO ACE V400', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (44, 1, N'----MK', N'Fresatrice CN', N'MIKRON WF 31 CNC', NULL, 1989, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (45, 6, N'--V650', N'Centro di lavoro CN', N'DOOSAN MYNX 650', NULL, 2008, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (46, 4, N'-GP20A', N'Dentatrice a creatore CN con caricatore', N'GLEASON PFAUTER GP 200', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (47, 4, N'P180/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PA 180 CNC', NULL, 2001, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (48, 4, N'P300/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PE 300 CNC', NULL, 1997, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (49, 4, N'P250/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PE 250 CNC', NULL, 1995, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (50, 4, N'H280C1', N'Dentatrice a creatore CN con caricatore', N'HURTH WF 280', NULL, 1988, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (51, 4, N'H280/1', N'Dentatrice a creatore', N'HURTH WF 280', NULL, 1983, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (52, 4, N'P160/1', N'Dentatrice a creatore CNC', N'PFAUTER P160 H/11', NULL, 1990, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (53, 4, N'P160H1', N'Dentatrice a creatore', N'PFAUTER P160 H/11', NULL, 1983, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (54, 4, N'P403/1', N'Dentatrice a creatore', N'PFAUTER P403', NULL, 1983, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (55, 4, N'P630/1', N'Dentatrice a creatore CNC', N'PFAUTER P630', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (56, 4, N'P400/1', N'Dentatrice a creatore', N'PFAUTER P400', NULL, 1972, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (57, 4, N'--LS/2', N'Dentatrice a stozzare con robot', N'LORENZ LS 200', NULL, 2001, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (58, 4, N'-SNJ/3', N'Dentatrice a stozzare', N'LORENZ SNJ 5 AUTO', NULL, 2001, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (59, 4, N'--LS/1', N'Dentatrice a stozzare', N'LORENZ LS 302', NULL, 1986, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (60, 4, N'-SN4/2', N'Dentatrice a stozzare', N'LORENZ SN 4', NULL, 1969, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (61, 4, N'-SNJ/1', N'Dentatrice a stozzare', N'LORENZ SNJ 5', NULL, 1962, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (62, 4, N'-SNJ/2', N'Dentatrice a stozzare', N'LORENZ SNJ 5', NULL, 1962, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (63, 11, N'STU1/1', N'Rettifica per esterni CN con caricatore (isol', N'STUDER ECO 1000', NULL, 2003, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (64, 11, N'K175/1', N'Rettifica per esterni CN', N'KELLENBERGER R 175 CN', NULL, 1988, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (65, 11, N'K175/2', N'Rettifica per esterni CN', N'KELLENBERGER R 175 CN', NULL, 1994, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (66, 11, N'--K125', N'Rettifica per esterni', N'KELLENBERGER R 125', NULL, 1987, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (67, 11, N'TA1018', N'Rettifica per esterni', N'TACCHELLA UM 1018', NULL, 1986, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (68, 11, N'-TA612', N'Rettifica per esterni', N'TACCHELLA UN 612', NULL, 1986, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (69, 1, N'-RE12K', N'Rettifica per alberi scanalati CN', N'F.W. REFORM KSA 1200 CN', NULL, 1990, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (70, 1, N'--RIT4', N'Rettifica per innesti', N'TACCHELLA 4 AM', NULL, 1986, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (71, 1, N'----FV', N'Rettifica piani a tavola rotante', N'FAVRETTO MR 75 CN', NULL, 1988, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (72, 1, N'----RC', N'Rettifica centri', N'TECHNICA ZSM 6-5100-810', NULL, 1994, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (73, 1, N'N/D', N'Rettifica filetti', N'REISHAUER US', NULL, 1981, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (74, 1, N'-RFMSO', N'Rettifica filetti', N'MSO GA-2', NULL, 1979, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (75, 1, N'N/D', N'Affilatrice per creatori rettifica filetti', N'REISHAUER US', NULL, 1981, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (76, 10, N'--VM40', N'Rettifica per interni CN', N'VOUMARD 403 Y CN', NULL, 2003, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (77, 10, N'--VM15', N'Rettifica per interni CN', N'VOUMARD 150 CNC', NULL, 2002, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (78, 10, N'--VM5N', N'Rettifica per interni CN', N'VOUMARD 5N CN', NULL, 1999, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (79, 10, N'-MRE44', N'Rettifica per interni CN', N'MORARA 700 CN', NULL, 1989, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (80, 10, N'--MRIE', N'Rettifica per interni CN', N'MORARA MICRO I-E CN', NULL, 1987, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (81, 10, N'-VM5/1', N'Rettifica per interni', N'VOUMARD 5A', NULL, 1978, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (82, 10, N'-VM5/2', N'Rettifica per interni', N'VOUMARD 5A', NULL, 1979, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (83, 10, N'-VM5/3', N'Rettifica per interni', N'VOUMARD 5A', NULL, 1980, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (84, 10, N'-IC2MC', N'Rettifica per interni CN (in isola LP2)', N'MORARA I/C 2M', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (85, 1, N'--SN/2', N'Lappatrice (in isola LP2)', N'SUNNEN ML-2000', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (86, 1, N'----SN', N'Lappatrice', N'SUNNEN MBB1680A', NULL, 1983, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (87, 1, N'-RZ400', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', NULL, 2005, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (88, 1, N'RZ4002', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', NULL, 2006, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (89, 1, N'RZ4003', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', NULL, 2008, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (90, 1, N'-RZ150', N'Rettifica denti CN con robot', N'REISHAUER RZ 150', NULL, 2003, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (91, 1, N'-RZ362', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', NULL, 1997, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (92, 1, N'RZ362C', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (93, 1, N'RZ362P', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', NULL, 2000, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (94, 1, N'--RZ/2', N'Rettifica denti elettronica', N'REISHAUER RZ 300 E', NULL, 1996, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (95, 1, N'-RZ820', N'Rettifica denti CN', N'REISHAUER RZ 820 CN', NULL, 1995, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (96, 1, N'--RZAS', N'Rettifica denti CN', N'REISHAUER RZ 301 AS CN', NULL, 1994, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (97, 1, N'---RZS', N'Rettifica denti CN', N'REISHAUER RZ 301 S CN', NULL, 1989, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (98, 1, N'----ZB', N'Rettifica denti', N'REISHAUER ZB', NULL, 1979, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (99, 1, N'-H20BU', N'Bilanciatrice CN', N'SCHENCK H280BU', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (100, 1, N'N/D', N'Lavatrice', N'CEMASTIR TURBO LC1000', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (101, 1, N'----GB', N'Raddrizzatrice', N'GALDABINI RPRS/25', NULL, 1970, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (102, 1, N'N/D', N'Diamantatrici per mole', N'REISHAUER AM10', NULL, 1987, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (103, 1, N'N/D', N'Diamantatrici per mole', N'REISHAUER AM10', NULL, 1987, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (104, 1, N'N/D', N'Bilanciatrice per mole', N'HOFFMAN', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (105, 1, N'--PR/2', N'Macchina piantaggio spine Mercedes Z92', N'NUOVA VAEP MA0079', NULL, 2006, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (106, 1, N'--PR/3', N'Macchina piantaggio spine Mercedes Z46', N'SOMASCHINI', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (107, 1, N'---STR', N'Punzonatrice a rullare', N'SOMAUT', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (108, 1, N'--ST/1', N'Punzonatrice', N'AUTOMATOR', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (109, 1, N'--ST/2', N'Punzonatrice', N'AUTOMATOR', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (110, 1, N'--PRCM', N'Pressa', N'CMP T150', NULL, 1999, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (111, 1, N'----PR', N'Pressa', N'OMCN 161/R T40', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (112, 1, N'N/D', N'Arrotondatrice per dentature', N'PICCO K15', NULL, 1980, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (113, 1, N'N/D', N'Dentatrice a creatore', N'PFAUTER RS9 KS', NULL, 1972, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (114, 1, N'N/D', N'Dentatrice conica spirale CN', N'GLEASON G175 CNC', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (115, 1, N'N/D', N'Dentatrice conica spirale CN', N'GLEASON 116 CNC', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (116, 1, N'N/D', N'Dentatrice conica spirale', N'GLEASON 106', NULL, 1989, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (117, 1, N'N/D', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 503', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (118, 1, N'N/D', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 119 HYPOID', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (119, 1, N'N/D', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 6"', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (120, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 6"', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (121, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 17A', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (122, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 502', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (123, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 13', NULL, 1985, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (124, 11, N'N/D', N'Rettifica per esterni', N'MSO FH 300x500', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (125, 2, N'N/D', N'Centro CN di misurazione 3D', N'ZEISS PRISMO 9/12/7', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (126, 2, N'N/D', N'Centro CN di misurazione ingr.', N'HÖFLER ZP 630 CN', NULL, 1996, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (127, 2, N'N/D', N'Centro CN di misurazione ingr.', N'HÖFLER EMZ 632 CN', NULL, 1990, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (128, 2, N'N/D', N'Ingranometro', N'HÖFLER ZW630 CN', NULL, 1995, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (129, 2, N'N/D', N'Macchina prova rumorosità', N'HURTH ZP 300', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (130, 2, N'N/D', N'Rugosimetro', N'PERTHEN S5P', NULL, NULL, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (131, 2, N'N/D', N'Durometro', N'WOLPERT DIA-TESTOR 1551', NULL, 1995, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (132, 2, N'N/D', N'Durometro', N'REICHERTER', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (133, 2, N'N/D', N'Durometro', N'GALILEO', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (134, 2, N'N/D', N'Proiettore di profili', N'HAUSER', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (135, 2, N'N/D', N'Apparecchio altimetro digitale con controp.', N'DIGIMAR 817C', NULL, 1990, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (136, 2, N'N/D', N'Interassimetro', N'PARKSON', NULL, 0, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (137, 2, N'N/D', N'Apparecchio controllo conicita'' pneum./elettr.', N'STOTZ DLS-27', NULL, 1996, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (138, 2, N'N/D', N'Appararecchio controllo strumenti di misura', N'JOINT DMS 680', NULL, 1995, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (139, 1, N'N/D', N'Profilometro', N'MAHR - PERTHOMETER PRK', NULL, 1997, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (140, 2, N'N/D', N'Appararecchio prova bruciature', N'ROLLSCAN 200-1', NULL, 1997, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (141, 1, N'N/D', N'Apparecchio per coni', N'STOTZ - DLS 27 M1 (4 elementi)', NULL, 1997, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (142, 2, N'N/D', N'Altimetro', N'TESA - MICROHITE', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (143, 1, N'N/D', N'Troncatrice', N'IMPTECH - C 10', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (144, 1, N'N/D', N'Inglobatrice', N'BUEHLER - SIMPLIMET 2000', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (145, 1, N'N/D', N'Levigatrice', N'BUEHLER - METASERV 2000', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (146, 2, N'N/D', N'Microdurometro', N'FUTURE TECH - FM-7', NULL, 1998, 1, 1, NULL, NULL) +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (147, 2, N'N/D', N'Magnetoscopio per controllo ND', N'CGM ITALIA CEMSA FOS 1000', NULL, 2000, 1, 1, NULL, NULL) +GO + +SET IDENTITY_INSERT dbo.AnagMacchine OFF +GO + +COMMIT TRANSACTION +GO + + + + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagSemafori + VALUES (N'semaforoGiallo', N'Valore da verificare') +INSERT INTO dbo.AnagSemafori + VALUES (N'semaforoRosso', N'Errore/Attenzione') +INSERT INTO dbo.AnagSemafori + VALUES (N'semaforoVerde', N'Valore OK') +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-01-01 00:00:00.000', N'primo dell''anno') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-01-06 00:00:00.000', N'epifania') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-04-12 00:00:00.000', N'Pasqua') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-04-13 00:00:00.000', N'Lunedì dell''angelo') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-04-25 00:00:00.000', N'festa della liberazione') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-05-01 00:00:00.000', N'festa dei lavoratori') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-06-02 00:00:00.000', N'festa della repubblica') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-08-15 00:00:00.000', N'ferragosto') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-11-02 00:00:00.000', N'festività dei morti') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-12-08 00:00:00.000', N'immacolata concezione') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-12-25 00:00:00.000', N'Natale') +INSERT INTO dbo.CalendFesteFerie + VALUES ('2009-12-26 00:00:00.000', N'S.Stefano') +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.OreAperturaSett + VALUES (0, N'Dom', 2.00) +INSERT INTO dbo.OreAperturaSett + VALUES (1, N'Lun', 24.00) +INSERT INTO dbo.OreAperturaSett + VALUES (2, N'Mar', 24.00) +INSERT INTO dbo.OreAperturaSett + VALUES (3, N'Mer', 24.00) +INSERT INTO dbo.OreAperturaSett + VALUES (4, N'Gio', 24.00) +INSERT INTO dbo.OreAperturaSett + VALUES (5, N'Ven', 24.00) +INSERT INTO dbo.OreAperturaSett + VALUES (6, N'Sab', 22.00) +GO + +COMMIT TRANSACTION +GO + + + + + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagPriorita + VALUES (1, N'Pericolo di infortunio', N'semaforoRosso') +INSERT INTO dbo.AnagPriorita + VALUES (2, N'Produzione Ferma', N'semaforoGiallo') +INSERT INTO dbo.AnagPriorita + VALUES (3, N'Intervento fine lavoro', N'semaforoVerde') +INSERT INTO dbo.AnagPriorita + VALUES (4, N'Intervento nel mese', N'semaforoVerde') +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagStati + VALUES (1, N'Richiesto', N'semaforoRosso') +INSERT INTO dbo.AnagStati + VALUES (2, N'In corso', N'semaforoGiallo') +INSERT INTO dbo.AnagStati + VALUES (3, N'Concluso', N'semaforoVerde') +INSERT INTO dbo.AnagStati + VALUES (4, N'Annullato', N'semaforoVerde') +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagTipoGuasto ON +GO + +INSERT INTO dbo.AnagTipoGuasto + (idxTipo, descrTipo) + VALUES (1, N'elettrico') +INSERT INTO dbo.AnagTipoGuasto + (idxTipo, descrTipo) + VALUES (2, N'meccanico') +INSERT INTO dbo.AnagTipoGuasto + (idxTipo, descrTipo) + VALUES (3, N'pulizia') +INSERT INTO dbo.AnagTipoGuasto + (idxTipo, descrTipo) + VALUES (4, N'servizi') +GO + +SET IDENTITY_INSERT dbo.AnagTipoGuasto OFF +GO + +COMMIT TRANSACTION +GO + + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagPeriodi + VALUES (N'0_freeSel', N'_freeSel') +INSERT INTO dbo.AnagPeriodi + VALUES (N'1_today', N'today') +INSERT INTO dbo.AnagPeriodi + VALUES (N'2_yesterday', N'yesterday') +INSERT INTO dbo.AnagPeriodi + VALUES (N'3_last_7', N'last_7') +INSERT INTO dbo.AnagPeriodi + VALUES (N'4_this_week', N'this_week') +INSERT INTO dbo.AnagPeriodi + VALUES (N'5_last_30', N'last_30') +INSERT INTO dbo.AnagPeriodi + VALUES (N'6_this_month', N'this_month') +INSERT INTO dbo.AnagPeriodi + VALUES (N'7_last_month', N'last_month') +INSERT INTO dbo.AnagPeriodi + VALUES (N'8_this_year', N'this_year') +INSERT INTO dbo.AnagPeriodi + VALUES (N'9_last_year', N'last_year') +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.Permessi + VALUES ('ADMIN', 'menu.aspx', 4, 0, 'Admin', 'Admin') +INSERT INTO dbo.Permessi + VALUES ('ADMIN_vocab', 'vocabolario.aspx', 4, 1, 'Vocabolario', 'Vocabolario') +INSERT INTO dbo.Permessi + VALUES ('ADV_MTZ', 'menu.aspx', 3, 0, 'AreaMtz', 'AreaMtzLong') +INSERT INTO dbo.Permessi + VALUES ('ADV_MTZ_Impianti', 'report_impianti.aspx', 3, 2, 'reportImpianti', 'reportImpiantiLong') +INSERT INTO dbo.Permessi + VALUES ('ADV_MTZ_Interactive', 'reportInteractive.aspx', 9993, 4, 'reportInterattivo', 'reportInterattivoLong') +INSERT INTO dbo.Permessi + VALUES ('ADV_MTZ_Interventi', 'report_analisi.aspx', 3, 3, 'reportInterventi', 'reportInterventiLong') +INSERT INTO dbo.Permessi + VALUES ('ADV_MTZ_mtzProg', 'mtzProg.aspx', 3, 1, 'MtzProg', 'MtzProgLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG', 'menu.aspx', 1, 0, 'AnagraficheBase', 'AnagraficheBase') +INSERT INTO dbo.Permessi + VALUES ('ANAG_ambitiGuasto', 'anagAmbitiGuasto.aspx', 1, 1, 'AnagAmbitiGuasto', 'AnagAmbitiGuastoLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_aperturaImp', 'aperturaImpianti.aspx', 1, 9, 'AnagAperturaSett', 'AnagAperturaSettLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_assegnazioni', 'assegnazioniMacchineImpianti.aspx', 1, 5, 'AssegnMaccImp', 'AssegnMaccImpLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_calChiusura', 'calendChiusura.aspx', 1, 10, 'AnagCalChiusure', 'AnagCalChiusureLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_causali', 'gestioneCausali.aspx', 9991, 7, 'GestioneCausali', 'GestioneCausaliLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_famMacc', 'famiglieMacchine.aspx', 9991, 6, 'FamMacchine', 'FamMacchineLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_impianti', 'impianti.aspx', 1, 3, 'GestImpianti', 'GestImpiantiLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_macchine', 'macchine.aspx', 1, 4, 'GestMacchine', 'GestMacchineLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_priorita', 'priorita.aspx', 1, 2, 'AnagPriorita', 'AnagPrioritaLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_tipo', 'tipoGuasto.aspx', 1, 8, 'AnagTipo', 'AnagTipoLong') +INSERT INTO dbo.Permessi + VALUES ('HELP', 'menu.aspx', 5, 0, 'Help', 'HelpLong') +INSERT INTO dbo.Permessi + VALUES ('HELP_support', 'help.aspx', 5, 1, 'HelpSupport', 'HelpSupportLong') +INSERT INTO dbo.Permessi + VALUES ('RicMan', 'menu.aspx', 2, 0, 'RicManArea', 'RicManAreaLong') +INSERT INTO dbo.Permessi + VALUES ('RicMan_edit', 'dettaglioIntervento.aspx', 999, 1, 'EditRicMan', 'EditRicManLong') +INSERT INTO dbo.Permessi + VALUES ('RicMan_ins', 'insertRichiesta.aspx', 2, 1, 'InsRicMan', 'InsRicManLong') +INSERT INTO dbo.Permessi + VALUES ('RicMan_list', 'elencoRichieste.aspx', 2, 2, 'ElencoRichieste', 'ElencoRichiesteLong') +GO + +COMMIT TRANSACTION +GO + + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADMIN', N'GIM_AppAdmin', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADMIN_vocab', N'GIM_AppAdmin', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADV_MTZ', N'GIM_U', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADV_MTZ_Impianti', N'GIM_U', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADV_MTZ_Interactive', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADV_MTZ_Interventi', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADV_MTZ_mtzProg', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_ambitiGuasto', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_aperturaImp', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_assegnazioni', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_calChiusura', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_causali', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_famMacc', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_impianti', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_macchine', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_priorita', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_tipo', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('HELP', N'GIM_U', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('HELP_support', N'GIM_U', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('RicMan', N'GIM_U', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('RicMan_edit', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('RicMan_ins', N'GIM_U', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('RicMan_list', N'GIM_U', NULL) +GO + +COMMIT TRANSACTION +GO + + + + + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.Tra_Ev2Stati + VALUES (1, 1, 2) +INSERT INTO dbo.Tra_Ev2Stati + VALUES (1, 2, 3) +INSERT INTO dbo.Tra_Ev2Stati + VALUES (1, 3, 4) +INSERT INTO dbo.Tra_Ev2Stati + VALUES (2, 2, 3) +INSERT INTO dbo.Tra_Ev2Stati + VALUES (2, 3, 4) +GO + +COMMIT TRANSACTION +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagFrequenze + VALUES (N'dd', N'giorni') +INSERT INTO dbo.AnagFrequenze + VALUES (N'MM', N'mesi') +INSERT INTO dbo.AnagFrequenze + VALUES (N'ww', N'settimane') +INSERT INTO dbo.AnagFrequenze + VALUES (N'yy', N'anni') +GO + +COMMIT TRANSACTION +GO + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(2, GETDATE()) +GO diff --git a/Projects/WebGIM/GIM_site/sql/GIM_0003.sql b/Projects/WebGIM/GIM_site/sql/GIM_0003.sql new file mode 100644 index 0000000..3beb714 --- /dev/null +++ b/Projects/WebGIM/GIM_site/sql/GIM_0003.sql @@ -0,0 +1,2567 @@ +-- update tabelle +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +ALTER TABLE Causali2FamMacchine DROP + CONSTRAINT FK_Causali2FamMacchine_AnagCausali +GO + +ALTER TABLE InterventiMtz DROP + CONSTRAINT FK_InterventiMtz_AnagCausali +GO + +EXEC sp_rename 'PK_AnagCausali', 'tmp__PK_AnagCausali', 'OBJECT' +GO + +EXEC sp_rename 'AnagCausali', 'tmp__AnagCausali_0', 'OBJECT' +GO + +CREATE TABLE AnagCausali( + idxCausale INT NOT NULL IDENTITY CONSTRAINT PK_AnagCausali PRIMARY KEY, + idxFamMacchine INT NOT NULL, + descrCausale NVARCHAR(50), + attiva BIT CONSTRAINT DF_AnagCausali_attiva DEFAULT (1) +) +GO + +ALTER TABLE AnagCausali ADD + CONSTRAINT FK_AnagCausali_AnagFamMacchine FOREIGN KEY(idxFamMacchine) REFERENCES AnagFamMacchine(idxFamMacchine) ON UPDATE CASCADE +GO + +SET IDENTITY_INSERT AnagCausali ON +GO + +INSERT INTO AnagCausali(idxCausale,idxFamMacchine,descrCausale) SELECT idxCausale,0,descrCausale FROM tmp__AnagCausali_0 +GO + +SET IDENTITY_INSERT AnagCausali OFF +GO + +DROP TABLE tmp__AnagCausali_0 +GO + +ALTER TABLE InterventiMtz ADD + CONSTRAINT FK_InterventiMtz_AnagCausali FOREIGN KEY(idxCausale) REFERENCES AnagCausali(idxCausale) ON UPDATE CASCADE +GO + +COMMIT +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +ALTER TABLE AnagMacchine ALTER COLUMN + nomeMacchina NVARCHAR(250) +GO + +ALTER TABLE AnagMacchine ALTER COLUMN + modello NVARCHAR(250) +GO + +SET ANSI_NULLS ON +GO + +ALTER PROCEDURE sp_caricaUpdateMAcchine +AS +INSERT INTO AnagMacchine + (codMacchina, nomeMacchina, modello, funzDal, idxImpianto, funzAl, kgPeso, kwConsumo, anno, matricola) +SELECT ISNULL(tmp_importaMacchine.idGest, N'--') AS idxMacchina, ISNULL(tmp_importaMacchine.denominazione, N'nd') AS nomeMacchina, + ISNULL(tmp_importaMacchine.costruttore, N'nd') AS modello, CAST(CAST(ISNULL(tmp_importaMacchine.anno, 1900) AS VARCHAR) + '-01-01 12:00:00' AS DATETIME) + AS funzDal, AnagImpianti.idxImpianto, CAST('2100-01-01 00:00:00' AS DATETIME) AS fine, 1 AS kg, 1 AS kw, ISNULL(tmp_importaMacchine.anno, 1900) AS anno, + '-' AS matr +FROM tmp_importaMacchine INNER JOIN + AnagImpianti ON tmp_importaMacchine.reparto = AnagImpianti.nomeImpianto +RETURN +GO + +COMMIT +GO + + +ALTER TABLE InterventoOpMtz ADD + CONSTRAINT FK_InterventoOpMtz_AnagrOperMtz FOREIGN KEY(matrOp) REFERENCES AnagrOperMtz(matrOp) ON UPDATE CASCADE +GO + + +DROP TABLE Causali2FamMacchine +GO + + +-- update viste +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +ALTER VIEW v_intervExp +AS +SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.InterventiMtz.dataLav, dbo.InterventiMtz.turnoLav, dbo.InterventiMtz.matr, + dbo.InterventiMtz.guasto, dbo.InterventiMtz.idxAmbito, dbo.AnagAmbitoGuasto.descrAmbitoGuasto, dbo.InterventiMtz.idxPriorita, dbo.AnagPriorita.descrPriorita, + CASE dbo.InterventiMtz.isFermo WHEN 'True' THEN 'SI' ELSE 'NO' END AS isFermoSiNo, dbo.InterventiMtz.idxTipo, dbo.AnagTipoGuasto.descrTipo, + dbo.InterventiMtz.idxImpianto, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto, dbo.InterventiMtz.idxMacchina, dbo.AnagMacchine.codMacchina, + dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.idxStato, dbo.AnagStati.DescrStato, ISNULL(dbo.InterventiMtz.presaInCarico, + dbo.InterventiMtz.richiesta) AS presaInCarico, ISNULL(dbo.InterventiMtz.inizioIntervento, ISNULL(dbo.InterventiMtz.presaInCarico, dbo.InterventiMtz.richiesta)) + AS inizioIntervento, ISNULL(dbo.InterventiMtz.fineIntervento, GETDATE()) AS fineIntervento, dbo.InterventiMtz.descrizioneIntervento, + dbo.InterventiMtz.isPreventivabile, dbo.InterventiMtz.idxCausale, ISNULL(dbo.AnagCausali.descrCausale, 'N.D.') AS descrCausale, dbo.InterventiMtz.isFermo +FROM dbo.InterventiMtz INNER JOIN + dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN + dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN + dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN + dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN + dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN + dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN + dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale +ORDER BY dbo.InterventiMtz.numIntMtz DESC +GO + +COMMIT +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +ALTER VIEW v_selCausaliMacchine +AS +SELECT TOP (100) PERCENT dbo.AnagCausali.idxCausale AS value, dbo.AnagCausali.descrCausale AS label, dbo.Macchine2FamMacchine.idxMacchina AS conditio +FROM dbo.Macchine2FamMacchine INNER JOIN + dbo.AnagCausali ON dbo.Macchine2FamMacchine.idxFamMacchine = dbo.AnagCausali.idxFamMacchine +WHERE (dbo.AnagCausali.attiva = 1) +ORDER BY conditio, label +GO +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Macchine2FamMacchine" + Begin Extent = + Top = 15 + Left = 448 + Bottom = 93 + Right = 606 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagCausali" + Begin Extent = + Top = 54 + Left = 38 + Bottom = 162 + Right = 196 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selCausaliMacchine' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selCausaliMacchine' +GO + +COMMIT +GO + + +IF NOT object_id('v_mtzProgPendingExp') IS NULL +DROP VIEW v_mtzProgPendingExp +GO + + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_mtzProgPendingExp +AS +SELECT TOP (100) PERCENT dbo.MtzProgPending.idxPending, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto, dbo.AnagMacchine.codMacchina, + dbo.AnagMacchine.nomeMacchina, dbo.MtzProgPending.data, dbo.MtzProgPending.descrizione, dbo.AnagPriorita.descrPriorita, dbo.MtzProgPending.isFermo, + dbo.AnagTipoGuasto.descrTipo +FROM dbo.MtzProgPending INNER JOIN + dbo.AnagMacchine ON dbo.MtzProgPending.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN + dbo.AnagImpianti ON dbo.AnagMacchine.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN + dbo.AnagTipoGuasto ON dbo.MtzProgPending.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN + dbo.AnagPriorita ON dbo.MtzProgPending.idxPriorita = dbo.AnagPriorita.idxPriorita +ORDER BY dbo.MtzProgPending.data +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "MtzProgPending" + Begin Extent = + Top = 57 + Left = 597 + Bottom = 228 + Right = 748 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMacchine" + Begin Extent = + Top = 33 + Left = 341 + Bottom = 253 + Right = 492 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagImpianti" + Begin Extent = + Top = 83 + Left = 127 + Bottom = 226 + Right = 278 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagTipoGuasto" + Begin Extent = + Top = 182 + Left = 869 + Bottom = 260 + Right = 1020 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagPriorita" + Begin Extent = + Top = 16 + Left = 874 + Bottom = 109 + Right = 1025 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 10 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 1', 'SCHEMA', 'dbo', 'VIEW', 'v_mtzProgPendingExp' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane2', '1 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_mtzProgPendingExp' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_mtzProgPendingExp' +GO + +COMMIT +GO + + +IF NOT object_id('v_selOperMtz') IS NULL +DROP VIEW v_selOperMtz +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_selOperMtz +AS +SELECT TOP (100) PERCENT matrOp AS value, matrOp + ' - ' + Cognome + ' ' + Nome AS label +FROM dbo.AnagrOperMtz +ORDER BY label +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagrOperMtz" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 99 + Right = 190 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selOperMtz' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selOperMtz' +GO + +COMMIT +GO + + +IF NOT object_id('v_selFam') IS NULL +DROP VIEW v_selFam +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +CREATE VIEW v_selFam +AS +SELECT idxFamMacchine AS value, nomeFamMacch AS label +FROM dbo.AnagFamMacchine +GO + +EXEC sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagFamMacchine" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 84 + Right = 196 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selFam' +GO + +EXEC sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selFam' +GO + +COMMIT +GO + + + + + +-- update stored +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +/************************************* +* STORED PROCEDURE sp_insRichiesta +* Inserisce nuova richiesta di intervento +* +* modif.: S.E.L. - 2009.02.20 +**************************************/ +ALTER PROCEDURE sp_insRichiesta +( + @richiesta DATETIME, + @dataLav DATETIME, + @turnoLav INT, + @matr VARCHAR(10), + @guasto DATETIME, + @idxAmbito INT, + @idxPriorita INT, + @isFermo BIT, + @idxTipo INT, + @idxImpianto INT, + @idxMacchina INT, + @descrizione VARCHAR(500), + @idxCausale INT, + @numIntMtz INT output +) +AS + +BEGIN TRAN + + INSERT INTO InterventiMtz + (richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, idxPriorita, isFermo, idxTipo, idxImpianto, idxMacchina, descrizione, idxStato, idxCausale) + VALUES (@richiesta,@dataLav,@turnoLav,@matr,@guasto,@idxAmbito,@idxPriorita,@isFermo,@idxTipo,@idxImpianto,@idxMacchina,@descrizione, 1,@idxCausale) + + /************************************* + * salvo idx del nuovo record + **************************************/ + SET @numIntMtz = SCOPE_IDENTITY() + +COMMIT TRAN + +RETURN (@numIntMtz) +GO + +COMMIT +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +/************************************* +* STORED PROCEDURE sp_updateInterventoFull +* aggiorna TUTTI i dati dell'intervento +* +* modif.: S.E.L. - 2009.02.20 +**************************************/ +ALTER PROCEDURE sp_updateInterventoFull +( + @Original_numIntMtz INT, + @idxStato INT, + @inizioIntervento DATETIME, + @fineIntervento DATETIME, + @isPreventivabile BIT, + @descrizioneIntervento VARCHAR(500), + @matr VARCHAR(50), + @guasto DATETIME, + @isFermo BIT, + @idxImpianto INT, + @idxMacchina INT, + @idxAmbito INT, + @idxPriorita INT, + @descrizione VARCHAR(500), + @idxTipo INT, + @idxCausale INT, + @presaInCarico DATETIME +) +AS + +UPDATE InterventiMtz +SET inizioIntervento = @inizioIntervento, fineIntervento = @fineIntervento, descrizioneIntervento = @descrizioneIntervento, isPreventivabile = @isPreventivabile, + idxStato = @idxStato, matr = @matr, guasto = @guasto, idxAmbito = @idxAmbito, idxPriorita = @idxPriorita, isFermo = @isFermo, idxTipo = @idxTipo, + idxImpianto = @idxImpianto, idxMacchina = @idxMacchina, descrizione = @descrizione, presaInCarico = @presaInCarico, idxCausale = @idxCausale +WHERE (numIntMtz = @Original_numIntMtz) + +RETURN +GO + +COMMIT +GO + + + + + +-- update valori +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +UPDATE dbo.AnagAmbitoGuasto SET + descrAmbitoGuasto=N'errore programma CN' + WHERE idxAmbito=8 +GO + +COMMIT TRANSACTION +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagFamMacchine ON +GO + +UPDATE dbo.AnagFamMacchine SET + nomeFamMacch=N'Tutte' + WHERE idxFamMacchine=1 +UPDATE dbo.AnagFamMacchine SET + nomeFamMacch=N'Paranchi' + WHERE idxFamMacchine=3 +UPDATE dbo.AnagFamMacchine SET + nomeFamMacch=N'Rettifiche' + WHERE idxFamMacchine=4 +UPDATE dbo.AnagFamMacchine SET + nomeFamMacch=N'Banchetti' + WHERE idxFamMacchine=5 +UPDATE dbo.AnagFamMacchine SET + nomeFamMacch=N'Rulliere' + WHERE idxFamMacchine=6 +UPDATE dbo.AnagFamMacchine SET + nomeFamMacch=N'Robot' + WHERE idxFamMacchine=7 +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (8, N'Segatrici') +INSERT INTO dbo.AnagFamMacchine + (idxFamMacchine, nomeFamMacch) + VALUES (9, N'Tornitrici') +GO + +SET IDENTITY_INSERT dbo.AnagFamMacchine OFF +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagCausali ON +GO + +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (1, 1, N'N.D.', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (2, 8, N'CATENA', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (3, 8, N'MOTORE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (4, 4, N'ATTREZZATURA DI BLOCCAGGIO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (5, 4, N'ASSI LINEARI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (6, 5, N'ASSI LINEARI O CIRCOLARE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (7, 6, N'PASSO-PASSO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (8, 1, N'IMPIANTO IDRAULICO E LUBRIFICAZIONE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (9, 1, N'CONTROLLO NUMERICO, AZIONAMENTO O PLC', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (10, 1, N'EVACUATORE TRUCIOLI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (11, 1, N'IMPIANTO LUBROREFRIGERANTE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (12, 1, N'SENSORI-FINECORSA-FOTOCELLULE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (13, 1, N'RULLIERE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (14, 1, N'PORTE E RIPARI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (15, 1, N'IMPIANTO PNEUMATICO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (16, 1, N'POMPE E MOTORI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (17, 1, N'LAMPADE DI LAVORO O SEGNALAZIONE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (18, 1, N'ERRATA PROGRAMMAZIONE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (19, 1, N'PULIZIA GENERALE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (20, 2, N'TAVOLA', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (21, 2, N'CAMBIO UTENSILE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (22, 2, N'ATTREZZATURA DI BLOCCAGGIO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (23, 2, N'LINEA MANDRINO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (24, 2, N'ASSI LINEARI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (25, 2, N'MONITOR', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (26, 2, N'CINGHIE O INGRANAGGI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (27, 9, N'TORRETTA PORTAUTENSILI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (28, 9, N'ATTREZZATURA DI BLOCCAGGIO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (29, 9, N'LINEA MANDRINO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (30, 9, N'ASSI LINEARI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (31, 9, N'MANIPOLATORI (GUPO)-MAGNETI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (32, 9, N'MONITOR', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (33, 9, N'CINGHIA E INGRANAGGI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (34, 9, N'ASPIRATORE-CONDIZIONATORE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (35, 7, N'ELETTROMAGNETI E PINZA', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (36, 7, N'ECCESSIVO GIOCO ASSI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (37, 7, N'CAVO SPIRALATO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (38, 7, N'SCHEDA ELETTRONICA', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (39, 7, N'MOTORE ASSI 1-6', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (40, 7, N'MONITOR O TASTIERA', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (41, 7, N'INGRANAGGI O POLSO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (42, 4, N'CONTROPUNTA', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (43, 4, N'PORTAPEZZO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (44, 4, N'MOLE E DIAMANTI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (45, 4, N'MONITOR', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (46, 4, N'CARICATORE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (47, 4, N'CINGHIA E INGRANAGGI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (48, 5, N'MONITOR', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (49, 5, N'CINGHIA', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (50, 6, N'RULLI', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (51, 6, N'CATENE', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (52, 6, N'CENTRAGGIO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (53, 3, N'ATTREZZATURE DI BLOCCAGGIO', 1) +INSERT INTO dbo.AnagCausali + (idxCausale, idxFamMacchine, descrCausale, attiva) + VALUES (54, 3, N'GANCIO-CATENA-CORDA ACCIAIO', 1) +GO + +SET IDENTITY_INSERT dbo.AnagCausali OFF +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagImpianti ON +GO + +UPDATE dbo.AnagImpianti SET + nomeImpianto=N'MANUTENZIONE' + WHERE idxImpianto=1 +UPDATE dbo.AnagImpianti SET + codImpianto=N'35', nomeImpianto=N'QUALITA'' (35)' + WHERE idxImpianto=2 +UPDATE dbo.AnagImpianti SET + codImpianto=N'04', nomeImpianto=N'TORNITURA (04)' + WHERE idxImpianto=3 +UPDATE dbo.AnagImpianti SET + codImpianto=N'11', nomeImpianto=N'DENTATURA (11)' + WHERE idxImpianto=4 +UPDATE dbo.AnagImpianti SET + codImpianto=N'12', nomeImpianto=N'GLEASON (12)' + WHERE idxImpianto=5 +UPDATE dbo.AnagImpianti SET + codImpianto=N'20', nomeImpianto=N'AFFILATURA (20)' + WHERE idxImpianto=6 +UPDATE dbo.AnagImpianti SET + codImpianto=N'01', nomeImpianto=N'SEGHETTI (01)' + WHERE idxImpianto=7 +UPDATE dbo.AnagImpianti SET + codImpianto=N'05', nomeImpianto=N'TRAPANI (05)' + WHERE idxImpianto=8 +UPDATE dbo.AnagImpianti SET + codImpianto=N'07', nomeImpianto=N'SBAVATURA (07)' + WHERE idxImpianto=9 +UPDATE dbo.AnagImpianti SET + codImpianto=N'15', nomeImpianto=N'RETTIFICHE SCANALATI (15)' + WHERE idxImpianto=10 +UPDATE dbo.AnagImpianti SET + codImpianto=N'14', nomeImpianto=N'RETTIFICHE ESTERNE (14)' + WHERE idxImpianto=11 +UPDATE dbo.AnagImpianti SET + codImpianto=N'08', nomeImpianto=N'FRESATURA (08)' + WHERE idxImpianto=12 +UPDATE dbo.AnagImpianti SET + codImpianto=N'19', nomeImpianto=N'RETTIFICHE DENTI (19)' + WHERE idxImpianto=13 +UPDATE dbo.AnagImpianti SET + codImpianto=N'17', nomeImpianto=N'SERVIZI PER RETTIFICHE (17)' + WHERE idxImpianto=14 +UPDATE dbo.AnagImpianti SET + codImpianto=N'16', nomeImpianto=N'RETTIFICHE FILETTI (16)', tipoImpianto=N'Reparto' + WHERE idxImpianto=15 +UPDATE dbo.AnagImpianti SET + codImpianto=N'18', nomeImpianto=N'RETTIFICHE INTERNE (18)', tipoImpianto=N'Reparto' + WHERE idxImpianto=16 +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (17, N'06', N'BROCCIATURA (06)', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (18, N'10', N'LAVORAZIONI AL BANCO (10)', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (19, N'25', N'LAVATRICI (25)', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (20, N'21', N'UNIVERSALE (21)', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (21, N'OBSO', N'OBSOLETE (TRESCORE 2)', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (22, N'09', N'ARROTONDATRICI (09)', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (23, N'ENTR', N'ENTRATICO', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +INSERT INTO dbo.AnagImpianti + (idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl) + VALUES (24, N'45', N'UFFICI/SERVIZI (45)', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000') +GO + +SET IDENTITY_INSERT dbo.AnagImpianti OFF +GO + +COMMIT TRANSACTION +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET IDENTITY_INSERT dbo.AnagMacchine ON +GO + +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (425, 7, N'--SE/1', N'Segatrice a nastro', N'DAITO GA 260 W', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (426, 7, N'--SE/2', N'Segatrice a nastro', N'DAITO GA 260 W', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (427, 3, N'---LP1', N'ISOLA TORNITURA+DENTATURA+SBAVATURA', N'MAZAK+SAMP+GLEASON', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (428, 13, N'--EM/7', N'Tornio verticale CN con caricatore', N'EMAG VSC 7', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (429, 3, N'--DT20', N'Tornio a 2 teste CN con portale (isola LP1)', N'MAZAK DT20', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (430, 13, N'EM3152', N'Tornio verticale CN con caricatore', N'EMAG VSC 315', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (431, 13, N'-EM400', N'Tornio verticale CN con caricatore', N'EMAG VSC 400', N'-', 1999, 1, 1, '1999-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (432, 3, N'MT5003', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (433, 13, N'-EM315', N'Tornio verticale CN con caricatore', N'EMAG VSC 315', N'-', 1997, 1, 1, '1997-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (434, 3, N'---PDF', N'Tornio frontale a 2 teste CN', N'PITTLER 200 CNC PDF', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (435, 3, N'MT5002', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (436, 3, N'-MT500', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', N'-', 1994, 1, 1, '1994-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (437, 3, N'--P200', N'Tornio frontale a 2 teste CN con robot', N'PITTLER 200 CNC PETRA 1', N'-', 1989, 1, 1, '1989-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (438, 3, N'-OK165', N'Tornio frontale a 2 teste CN', N'OKUMA 165 CNC', N'-', 1989, 1, 1, '1989-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (439, 3, N'--P315', N'Tornio frontale a 2 teste CN', N'PITTLER 315 CNC PETRA 2', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (440, 3, N'--P250', N'Tornio frontale a 2 teste CN con robot', N'PITTLER 250 CNC PETRA 1', N'-', 1987, 1, 1, '1987-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (441, 3, N'--TP/1', N'Tornio parallelo', N'CMT URSUS 225', N'-', 1980, 1, 1, '1980-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (442, 3, N'--TP/2', N'Tornio parallelo', N'CMT URSUS 225', N'-', 1985, 1, 1, '1985-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (443, 13, N'-FZ350', N'Tornio verticale CN a 2 teste con caricatore', N'TORNIO FELSOMAT FZ350', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (444, 8, N'-TMB/1', N'Trapano multiplo', N'BERARDI VB II Z', N'-', 1980, 1, 1, '1980-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (445, 8, N'-TMB/2', N'Trapano multiplo', N'BERARDI VB II Z', N'-', 1980, 1, 1, '1980-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (446, 8, N'---TMO', N'Trapano multiplo', N'OLIVETTI', N'-', 1978, 1, 1, '1978-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (447, 8, N'----TO', N'Trapano', N'OLIVETTI', N'-', 1975, 1, 1, '1975-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (448, 8, N'---MCX', N'Trapano', N'SERRMAC', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (449, 8, N'RECORD', N'Maschiatrice', N'RECORD', N'-', 1993, 1, 1, '1993-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (450, 8, N'---MJN', N'Maschiatrice', N'JOANNES', N'-', 1978, 1, 1, '1978-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (451, 17, N'--BV25', N'Brocciatrice', N'VARINELLI 25 TON', N'-', 1981, 1, 1, '1981-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (452, 17, N'--BVM6', N'Brocciatrice', N'VARINELLI 6 TON', N'-', 1980, 1, 1, '1980-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (453, 9, N'--GR/5', N'Sbavatrice GR/5', N'MPM SAG50/PN', N'-', 1978, 1, 1, '1978-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (454, 9, N'--GR/4', N'Sbavatrice GR/4', N'MINITOOLS MT600', N'-', 1990, 1, 1, '1990-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (455, 9, N'--GR/7', N'Smussatrice GR/7', N'RAVAGLIA', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (456, 9, N'--GR/8', N'Smussatrice GR/8', N'RAVAGLIA', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (457, 9, N'--GR/3', N'Sbavatrice GR/3', N'MPM', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (458, 3, N'no ID (isola LP1)', N'Sbavatrice (in Isola LP1)', N'SAMPUTENSILI ', N'-', 2004, 1, 1, '2004-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (459, 9, N'---SCT', N'Sbavatrice', N'SAMPUTENSILI SCT3', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (460, 9, N'-SCT/2', N'Sbavatrice', N'SAMPUTENSILI SCT3', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (461, 9, N'--GR/1', N'Sbavatrice GR/1', N'GRATOMAT KGG533', N'-', 1979, 1, 1, '1979-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (462, 9, N'--GR/2', N'Sbavatrice GR/2', N'GRATOMAT 300L', N'-', 1989, 1, 1, '1989-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (463, 12, N'-V5005', N'Centro di lavoro CN', N'DOOSAN VC500', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (464, 12, N'-V5004', N'Centro di lavoro CN', N'DOOSAN VC500', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (465, 12, N'--V500', N'Centro di lavoro CN', N'DAEWOO ACE VC500', N'-', 2000, 1, 1, '2000-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (466, 12, N'-V5002', N'Centro di lavoro CN', N'DAEWOO ACE VC500', N'-', 2001, 1, 1, '2001-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (467, 12, N'-V5003', N'Centro di lavoro CN', N'DAEWOO ACE VC500', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (468, 12, N'--V400', N'Centro di lavoro CN', N'DAEWOO ACE V400', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (469, 12, N'----MK', N'Fresatrice CN', N'MIKRON WF 31 CNC', N'-', 1989, 1, 1, '1989-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (470, 12, N'--V650', N'Centro di lavoro CN', N'DOOSAN MYNX 650', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (471, 3, N'-GP20A', N'Dentatrice a creatore CN con caricatore (isola LP1)', N'GLEASON PFAUTER GP 200', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (472, 4, N'P180/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PA 180 CNC', N'-', 2001, 1, 1, '2001-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (473, 4, N'P300/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PE 300 CNC', N'-', 1997, 1, 1, '1997-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (474, 4, N'P250/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PE 250 CNC', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (475, 4, N'H280C1', N'Dentatrice a creatore CN con caricatore', N'HURTH WF 280', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (476, 4, N'H280/1', N'Dentatrice a creatore', N'HURTH WF 280', N'-', 1983, 1, 1, '1983-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (477, 4, N'P160/1', N'Dentatrice a creatore CNC', N'PFAUTER P160 H/11', N'-', 1990, 1, 1, '1990-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (478, 4, N'P160H1', N'Dentatrice a creatore', N'PFAUTER P160 H/11', N'-', 1983, 1, 1, '1983-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (479, 4, N'P403/1', N'Dentatrice a creatore', N'PFAUTER P403', N'-', 1983, 1, 1, '1983-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (480, 4, N'P630/1', N'Dentatrice a creatore CNC', N'PFAUTER P630', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (481, 4, N'P400/1', N'Dentatrice a creatore', N'PFAUTER P400', N'-', 1972, 1, 1, '1972-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (482, 4, N'--LS/2', N'Dentatrice a stozzare con robot', N'LORENZ LS 200', N'-', 2001, 1, 1, '2001-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (483, 4, N'-SNJ/3', N'Dentatrice a stozzare', N'LORENZ SNJ 5 AUTO', N'-', 2001, 1, 1, '2001-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (484, 4, N'--LS/1', N'Dentatrice a stozzare', N'LORENZ LS 302', N'-', 1986, 1, 1, '1986-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (485, 21, N'-SN4/2', N'Dentatrice a stozzare', N'LORENZ SN 4', N'-', 1969, 1, 1, '1969-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (486, 4, N'-SNJ/1', N'Dentatrice a stozzare', N'LORENZ SNJ 5', N'-', 1962, 1, 1, '1962-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (487, 21, N'-SNJ/2', N'Dentatrice a stozzare', N'LORENZ SNJ 5', N'-', 1962, 1, 1, '1962-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (488, 13, N'---LP2', N'ISOLA RETTIFICA E LAPPATURA', N'MORARA+STUDER', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (489, 13, N'STU1/1', N'Rettifica per esterni CN con caricatore (isola LP2)', N'STUDER ECO 1000', N'-', 2003, 1, 1, '2003-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (490, 11, N'K175/1', N'Rettifica per esterni CN', N'KELLENBERGER R 175 CN', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (491, 11, N'K175/2', N'Rettifica per esterni CN', N'KELLENBERGER R 175 CN', N'-', 1994, 1, 1, '1994-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (492, 11, N'--K125', N'Rettifica per esterni', N'KELLENBERGER R 125', N'-', 1987, 1, 1, '1987-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (493, 11, N'TA1018', N'Rettifica per esterni', N'TACCHELLA UM 1018', N'-', 1986, 1, 1, '1986-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (494, 11, N'-TA612', N'Rettifica per esterni', N'TACCHELLA UN 612', N'-', 1986, 1, 1, '1986-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (495, 10, N'-RE12K', N'Rettifica per alberi scanalati CN', N'F.W. REFORM KSA 1200 CN', N'-', 1990, 1, 1, '1990-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (496, 6, N'--RIT4', N'Affilatrice/Rettifica per innesti', N'TACCHELLA 4 AM', N'-', 1986, 1, 1, '1986-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (497, 11, N'----FV', N'Rettifica piani a tavola rotante', N'FAVRETTO MR 75 CN', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (498, 14, N'----RC', N'Rettifica centri', N'TECHNICA ZSM 6-5100-810', N'-', 1994, 1, 1, '1994-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (499, 15, N'no ID', N'Rettifica filetti', N'REISHAUER US', N'-', 1981, 1, 1, '1981-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (500, 15, N'-RFMSO', N'Rettifica filetti', N'MSO GA-2', N'-', 1979, 1, 1, '1979-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (501, 15, N'no ID', N'Affilatrice per creatori rettifica filetti', N'REISHAUER US', N'-', 1981, 1, 1, '1981-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (502, 16, N'--VM40', N'Rettifica per interni CN', N'VOUMARD 403 Y CN', N'-', 2003, 1, 1, '2003-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (503, 16, N'--VM15', N'Rettifica per interni CN', N'VOUMARD 150 CNC', N'-', 2002, 1, 1, '2002-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (504, 16, N'--VM5N', N'Rettifica per interni CN', N'VOUMARD 5N CN', N'-', 1999, 1, 1, '1999-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (505, 16, N'-MRE44', N'Rettifica per interni CN', N'MORARA 700 CN', N'-', 1989, 1, 1, '1989-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (506, 16, N'--MRIE', N'Rettifica per interni CN', N'MORARA MICRO I-E CN', N'-', 1987, 1, 1, '1987-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (507, 16, N'-VM5/1', N'Rettifica per interni', N'VOUMARD 5A', N'-', 1978, 1, 1, '1978-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (508, 16, N'-VM5/2', N'Rettifica per interni', N'VOUMARD 5A', N'-', 1979, 1, 1, '1979-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (509, 16, N'-VM5/3', N'Rettifica per interni', N'VOUMARD 5A', N'-', 1980, 1, 1, '1980-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (510, 16, N'-IC2MC', N'Rettifica per interni CN (in isola LP2)', N'MORARA I/C 2M', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (511, 16, N'--SN/2', N'Lappatrice (in isola LP2)', N'SUNNEN ML-2000', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (512, 16, N'----SN', N'Lappatrice', N'SUNNEN MBB1680A', N'-', 1983, 1, 1, '1983-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (513, 13, N'-RZ400', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (514, 13, N'RZ4002', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', N'-', 2006, 1, 1, '2006-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (515, 13, N'RZ4003', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (516, 13, N'-RZ150', N'Rettifica denti CN con robot', N'REISHAUER RZ 150', N'-', 2003, 1, 1, '2003-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (517, 13, N'-RZ362', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', N'-', 1997, 1, 1, '1997-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (518, 13, N'RZ362C', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (519, 13, N'RZ362P', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', N'-', 2000, 1, 1, '2000-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (520, 13, N'--RZ/2', N'Rettifica denti elettronica', N'REISHAUER RZ 300 E', N'-', 1996, 1, 1, '1996-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (521, 13, N'-RZ820', N'Rettifica denti CN', N'REISHAUER RZ 820 CN', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (522, 13, N'--RZAS', N'Rettifica denti CN', N'REISHAUER RZ 301 AS CN', N'-', 1994, 1, 1, '1994-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (523, 13, N'---RZS', N'Rettifica denti CN', N'REISHAUER RZ 301 S CN', N'-', 1989, 1, 1, '1989-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (524, 13, N'----ZB', N'Rettifica denti', N'REISHAUER ZB', N'-', 1979, 1, 1, '1979-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (525, 18, N'-H20BU', N'Bilanciatrice CN', N'SCHENCK H280BU', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (526, 19, N'no ID', N'Lavatrice', N'CEMASTIR TURBO LC1000', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (527, 19, N'no ID', N'Lavatrice (in RZ150)', N'TECNOFIRMA', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (528, 19, N'no ID', N'Lavatrice (in RZ400)', N'CP3', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (529, 19, N'nd', N'Lavatrice (dentatura - su H280C)', N'', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (530, 19, N'nd', N'Lavatrice (dentatura - su P250/P300)', N'', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (531, 14, N'----GB', N'Raddrizzatrice', N'GALDABINI RPRS/25', N'-', 1970, 1, 1, '1970-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (532, 14, N'no ID', N'Diamantatrici per mole', N'REISHAUER AM10', N'-', 1987, 1, 1, '1987-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (533, 14, N'no ID', N'Diamantatrici per mole', N'REISHAUER AM10', N'-', 1987, 1, 1, '1987-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (534, 14, N'no ID', N'Bilanciatrice per mole', N'HOFFMAN', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (535, 18, N'--PR/1', N'Pressa cecatura fase', N'SOMASCHINI', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (536, 18, N'--PR/2', N'Macchina piantaggio spine Mercedes Z92', N'NUOVA VAEP MA0079', N'-', 2006, 1, 1, '2006-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (537, 18, N'--PR/3', N'Macchina piantaggio spine Mercedes Z46', N'SOMASCHINI', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (538, 18, N'---STR', N'Punzonatrice a rullare', N'SOMAUT-AUTOMATOR', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (539, 18, N'--ST/1', N'Punzonatrice', N'AUTOMATOR 35/S', N'-', 2004, 1, 1, '2004-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (540, 18, N'--ST/2', N'Punzonatrice', N'AUTOMATOR MB35', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (541, 18, N'--PRCM', N'Pressa', N'CMP T150', N'-', 1999, 1, 1, '1999-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (542, 18, N'----PR', N'Pressa', N'OMCN 161/R T40', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (543, 18, N'---BA3', N'BANCO ASSEMBLAGGIO TRIPLO MERCEDES', N'SOMASCHINI', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (544, 18, N'no ID', N'BANCO LAVORO', N'SOMASCHINI', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (545, 18, N'no ID', N'SPAZZOLATRICE', N'ACETI MACCHINE 9532', N'-', 2006, 1, 1, '2006-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (546, 18, N'no ID', N'MARCATRICE', N'RR AXTRON T2000', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (547, 18, N'no ID', N'FORNO INVECCHIAMENTO', N'INOX2', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (548, 18, N'no ID', N'CELLA FRIGO', N'LINDE 77/73', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (549, 6, N'no ID', N'KLINGELNBERG TF1584', N'KLINGELNBERG TF1584', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (550, 6, N'no ID', N'AFFILATRICE', N'CUOGHI', N'-', 1992, 1, 1, '1992-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (551, 6, N'-RSWK3', N'AFFILATRICE', N'SCHUTTE WU3', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (552, 6, N'no ID', N'CINCINNATI OM', N'CINCINNATI OM', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (553, 6, N'no ID', N'ZOCCA RPV650', N'ZOCCA RPV650', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (554, 20, N'nd', N'MACCHINA UNIVERSALE', N'', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (555, 23, N'-L502A', N'Dentatrice a creatore', N'LIEBHERR LC 502 CNC', N'-', 2005, 1, 1, '2005-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (556, 23, N'nd', N'DENTATRICE A CREATORE', N'GLEASON PFAUTER GP200CN', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (557, 23, N'no ID', N'PRESSA', N'OMCN 161/R 40 TON', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (558, 23, N'no ID', N'MARCATRICE', N'RR AXTRON T2000', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (559, 23, N'--MW1A + --MW2A', N'TORNIO (LINEA A-BIANCO)', N'MURATEC MW200-1', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (560, 23, N'-LC30A', N'DENTATRICE A CREATORE (LINEA A-BIANCO)', N'LIEBHERR LC180', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (561, 23, N'-S250A', N'SBAVATRICE (LINEA A-BIANCO)', N'SAMPUTENSILI S250CD', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (562, 23, N'--MW1B + --MW2B', N'TORNIO (LINEA B-BIANCO)', N'MURATEC MW200-1', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (563, 23, N'-LC30B', N'DENTATRICE A CREATORE (LINEA B-BIANCO)', N'LIEBHERR LC300', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (564, 23, N'-S250B', N'SBAVATRICE (LINEA B-BIANCO)', N'SAMPUTENSILI S250CD', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (565, 23, N'--HX30', N'CENTRO DI LAVORO CN', N'KITAMURA HX300IF', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (566, 23, N'---BRE', N'BROCCIATRICE', N'MANACA', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (567, 23, N'-VSC1A + -VSC2A', N'TORNIO (LINEA A-DOPO T.T.)', N'EMAG VSC315', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (568, 23, N'-R303A', N'RETTIFICA DENTI (LINEA A-DOPO T.T.)', N'REISHAUER RZ303C', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (569, 23, N'no ID', N'LAVATRICE (LINEA A-DOPO T.T.)', N'TECNOFIRMA SAT-LIN', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (570, 23, N'-VSC1B + -VSC2B', N'TORNIO (LINEA B-DOPO T.T.)', N'EMAG VSC315', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (571, 23, N'-R303B', N'RETTIFICA DENTI (LINEA B-DOPO T.T.)', N'REISHAUER RZ303C', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (572, 23, N'no ID', N'LAVATRICE (LINEA B-DOPO T.T.)', N'TECNOFIRMA SAT-LIN', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (573, 23, N'--ASDU', N'CELLA SIR PER MONTAGGIO DUPLO', N'SIR 2062R1', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (574, 23, N'nd', N'PRESSA ASSEMBLAGGIO DUPLO (FASE 10)', N'SIR', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (575, 23, N'no ID', N'FORNO A INDUZIONE (FASE 10)', N'ATE-IFC 15/2', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (576, 23, N'no ID', N'VASCA DI RAFFREDDAMENTO (FASE 10)', N'CEEVER AGITO', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (577, 23, N'-CESP', N'CENTRO DI LAVORO CN (FASE 20-SPINATURA)', N'DAEWOO VC500', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (578, 23, N'--ASBU', N'CELLA SIR PER ASSEMBLAGGIO BUSSOLA', N'SIR 2062R2', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (579, 23, N'--VSCM', N'TORNIO (FASE 30)', N'EMAG VSC315', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (580, 23, N'nd', N'PRESSA ASSEMBLAGGIO BUSSOLA (FASE 40) + MARPOSS', N'SIR', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (581, 23, N'no ID', N'LAVATRICE (FASE 60)', N'TECNOFIRMA SAT 3-10', N'-', 2007, 1, 1, '2007-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (582, 21, N'non necessario', N'Tornio CN', N'CASTOR FNC 45 CNC', N'-', 1986, 1, 1, '1986-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (583, 21, N'non necessario', N'Trapano', N'AUDAX', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (584, 21, N'non necessario', N'Trapano multiplo', N'BERARDI VBM II', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (585, 21, N'non necessario', N'Trapano a colonna', N'CABER', N'-', 1972, 1, 1, '1972-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (586, 21, N'non necessario', N'Trapano multiplo', N'FAMUP', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (587, 21, N'non necessario', N'Sbavatrice 2 teste', N'TECNOMACCHINE TM 200', N'-', 2003, 1, 1, '2003-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (588, 21, N'non necessario', N'Fresatrice CN', N'RIVA CNC', N'-', 1985, 1, 1, '1985-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (589, 21, N'non necessario', N'Rasatrice', N'HURTH ZSA 320', N'-', 1984, 1, 1, '1984-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (590, 21, N'non necessario', N'Rettifica per esterni CN con caricatore', N'MORARA EA 700 CN', N'-', 1996, 1, 1, '1996-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (591, 21, N'non necessario', N'Rettifica per interni', N'VOUMARD 251 L6 / 550', N'-', 1979, 1, 1, '1979-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (592, 21, N'non necessario', N'Rettifica per alberi scanalati CN', N'F.W. REFORM SK12A CN', N'-', 1985, 1, 1, '1985-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (593, 21, N'non necessario', N'Rettifica filetti', N'REISHAUER G4-I', N'-', 1974, 1, 1, '1974-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (594, 21, N'non necessario', N'Rettifica per interni', N'WOTAN RJ 133', N'-', 1977, 1, 1, '1977-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (595, 21, N'non necessario', N'Rettifica denti elettronica', N'REISHAUER RZ 300 E', N'-', 1988, 1, 1, '1988-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (596, 21, N'non necessario', N'Rettifica denti', N'REISHAUER AZA', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (597, 21, N'non necessario', N'Lappatrice per ingranaggi', N'FÄSSLER D-250', N'-', 1993, 1, 1, '1993-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (598, 21, N'non necessario', N'Rettifica per esterni', N'MSO FH 300x500', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (599, 21, N'non necessario', N'Dentatrice a creatore', N'PFAUTER RS9 KS', N'-', 1972, 1, 1, '1972-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (600, 22, N'--PK15', N'Arrotondatrice per dentature', N'PICCO K15', N'-', 1980, 1, 1, '1980-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (601, 5, N'G175/7 + G175/8', N'Dentatrice conica spirale CN', N'GLEASON G175 CNC PHOENIX', N'-', 2006, 1, 1, '2006-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (602, 5, N'G116', N'Dentatrice conica spirale CN', N'GLEASON 116 CNC', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (603, 5, N'G106/2', N'Dentatrice conica spirale', N'GLEASON 106', N'-', 1989, 1, 1, '1989-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (604, 5, N'G106/1', N'Dentatrice conica spirale', N'GLEASON 106 REMAUT CNC', N'-', 2008, 1, 1, '2008-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (605, 5, N'RD503', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 503', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (606, 5, N'RD/1+RD/2', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 119 HYPOID', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (607, 5, N'CRD5 4', N'Tester di controllo coppie coniche Gleason', N'TESTER 5" (REVISIONATO 2008)', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (608, 5, N'CRD6 1/2/3/5', N'Tester di controllo coppie coniche Gleason', N'TESTER 6"', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (609, 5, N'CRD17A 1/2/3/5/7/8', N'Tester di controllo coppie coniche Gleason', N'TESTER 17A', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (610, 5, N'CRD502 4/6', N'Tester di controllo coppie coniche Gleason', N'TESTER 502', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (611, 5, N'CRD13', N'Tester di controllo coppie coniche Gleason', N'TESTER 13', N'-', 1985, 1, 1, '1985-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (612, 11, N'---MSO', N'Rettifica per esterni', N'MSO FH 300x500', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (613, 7, N'----IC', N'Intestatrice Centratrice', N'MACHINTEST M25/M35T', N'-', 1990, 1, 1, '1990-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (614, 2, N'nd', N'Centro CN di misurazione 3D', N'ZEISS PRISMO 9/12/7', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (615, 2, N'nd', N'Centro CN di misurazione ingr.', N'HÖFLER ZP 630 CN', N'-', 1996, 1, 1, '1996-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (616, 2, N'nd', N'Centro CN di misurazione ingr.', N'HÖFLER EMZ 632 CN', N'-', 1990, 1, 1, '1990-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (617, 2, N'nd', N'Ingranometro', N'HÖFLER ZW630 CN', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (618, 2, N'nd', N'Macchina prova rumorosità', N'HURTH ZP 300', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (619, 2, N'nd', N'Rugosimetro', N'PERTHEN S5P', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (620, 2, N'nd', N'Durometro', N'WOLPERT DIA-TESTOR 1551', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (621, 2, N'nd', N'Durometro', N'REICHERTER', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (622, 2, N'nd', N'Durometro', N'GALILEO', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (623, 2, N'nd', N'Proiettore di profili', N'HAUSER', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (624, 2, N'nd', N'Apparecchio altimetro digitale con controp.', N'DIGIMAR 817C', N'-', 1990, 1, 1, '1990-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (625, 2, N'nd', N'Interassimetro', N'PARKSON', N'-', 1900, 1, 1, '1900-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (626, 2, N'nd', N'Apparecchio controllo conicita'' pneum./elettr.', N'STOTZ DLS-27', N'-', 1996, 1, 1, '1996-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (627, 2, N'nd', N'Appararecchio controllo strumenti di misura', N'JOINT DMS 680', N'-', 1995, 1, 1, '1995-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (628, 2, N'nd', N'Profilometro', N'MAHR - PERTHOMETER PRK', N'-', 1997, 1, 1, '1997-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (629, 2, N'nd', N'Appararecchio prova bruciature', N'ROLLSCAN 200-1', N'-', 1997, 1, 1, '1997-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (630, 2, N'nd', N'Apparecchio per coni', N'STOTZ - DLS 27 M1 (4 elementi)', N'-', 1997, 1, 1, '1997-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (631, 2, N'nd', N'Altimetro', N'TESA - MICROHITE', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (632, 2, N'nd', N'Troncatrice', N'IMPTECH - C 10', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (633, 2, N'nd', N'Inglobatrice', N'BUEHLER - SIMPLIMET 2000', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (634, 2, N'nd', N'Levigatrice', N'BUEHLER - METASERV 2000', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (635, 2, N'nd', N'Microdurometro', N'FUTURE TECH - FM-7', N'-', 1998, 1, 1, '1998-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (636, 2, N'---MGX', N'MAGNETOSCOPIO', N'MAGNISCOP CGM CEMSAFOS 1000', N'-', 2000, 1, 1, '2000-01-01 12:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (638, 1, N'0000', N'-- [NUOVA] Nome Macchina non definito --', N'modello n.d.', N'', 2009, 0, 0, '2009-03-10 00:00:00.000', '2019-03-10 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (645, 1, N'0000', N'-- [NUOVA] Nome Macchina non definito --', N'modello n.d.', N'', 2009, 0, 0, '2009-03-10 00:00:00.000', '2019-03-10 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (647, 24, N'TM', N'UFFICIO TEMPI E METODI', N'ND', NULL, 2009, 0, 0, '2009-03-10 00:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (648, 24, N'UT', N'UFFICIO TECNICO', N'ND', NULL, 2009, 0, 0, '2009-03-10 00:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (649, 24, N'PRG', N'UFFICIO PROGRAMMAZIONE', N'ND', NULL, 2009, 0, 0, '2009-03-10 00:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (650, 24, N'ACQ', N'UFFICIO ACQUISTI', N'ND', NULL, 2009, 0, 0, '2009-03-10 00:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (651, 24, N'COM', N'UFFICIO COMMERCIALE', N'ND', NULL, 2009, 0, 0, '2009-03-10 00:00:00.000', '2100-01-01 00:00:00.000') +INSERT INTO dbo.AnagMacchine + (idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl) + VALUES (652, 24, N'DIR', N'DIREZIONE', N'ND', NULL, 2009, 0, 0, '2009-03-10 00:00:00.000', '2100-01-01 00:00:00.000') + +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=3 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=4 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=5 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=6 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=7 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=8 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=9 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=10 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=11 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=12 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=13 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=14 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=15 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=16 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=17 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=18 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=19 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=20 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=21 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=22 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=23 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=24 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=25 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=26 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=27 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=28 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=29 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=30 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=31 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=32 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=33 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=34 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=35 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=36 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=37 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=38 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=39 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=40 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=41 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=42 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=43 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=44 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=45 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=46 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=47 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=48 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=49 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=50 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=51 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=52 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=53 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=54 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=55 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=56 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=57 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=58 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=59 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=60 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=61 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=62 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=63 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=64 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=65 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=66 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=67 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=68 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=69 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=70 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=71 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=72 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=73 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=74 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=75 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=76 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=77 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=78 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=79 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=80 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=81 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=82 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=83 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=84 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=85 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=86 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=87 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=88 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=89 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=90 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=91 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=92 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=93 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=94 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=95 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=96 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=97 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=98 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=99 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=100 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=101 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=102 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=103 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=104 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=105 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=106 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=107 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=108 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=109 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=110 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=111 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=112 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=113 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=114 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=115 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=116 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=117 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=118 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=119 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=120 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=121 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=122 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=123 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=124 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=125 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=126 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=127 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=128 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=129 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=130 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=131 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=132 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=133 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=134 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=135 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=136 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=137 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=138 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=139 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=140 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=141 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=142 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=143 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=144 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=145 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=146 +DELETE FROM dbo.AnagMacchine WHERE idxMacchina=147 +UPDATE dbo.AnagMacchine SET + modello=N'FÄSSLER D-250' + WHERE idxMacchina=597 +UPDATE dbo.AnagMacchine SET + modello=N'HÖFLER ZP 630 CN' + WHERE idxMacchina=615 +UPDATE dbo.AnagMacchine SET + modello=N'HÖFLER EMZ 632 CN' + WHERE idxMacchina=616 +UPDATE dbo.AnagMacchine SET + modello=N'HÖFLER ZW630 CN' + WHERE idxMacchina=617 +UPDATE dbo.AnagMacchine SET + nomeMacchina=N'Macchina prova rumorosità' + WHERE idxMacchina=618 +GO + +GO + +set identity_insert dbo.AnagMacchine off +GO + +commit transaction +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagPriorita + VALUES (5, N'Lavoro urgente', N'semaforoRosso') +GO + +COMMIT TRANSACTION +GO + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.AnagrOperMtz + VALUES (N'0000', N'Selezionare', N'Operatore') +INSERT INTO dbo.AnagrOperMtz + VALUES (N'000191', N'ALLIERI', N'PIERANGELO') +INSERT INTO dbo.AnagrOperMtz + VALUES (N'000300', N'ARMANNI', N'FRANCO') +INSERT INTO dbo.AnagrOperMtz + VALUES (N'000324', N'BENA', N'ANDREA') +INSERT INTO dbo.AnagrOperMtz + VALUES (N'000349', N'BONETTI', N'GIUSEPPE') +INSERT INTO dbo.AnagrOperMtz + VALUES (N'000410', N'PEZZOTTA', N'ANGELO') +GO + +COMMIT TRANSACTION +GO + + + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.Macchine2FamMacchine + VALUES (425, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (426, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (427, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (428, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (429, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (430, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (431, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (432, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (433, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (434, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (435, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (436, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (437, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (438, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (439, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (440, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (441, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (442, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (443, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (444, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (445, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (446, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (447, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (448, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (449, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (450, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (451, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (452, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (453, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (454, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (455, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (456, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (457, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (458, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (459, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (460, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (461, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (462, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (463, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (464, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (465, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (466, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (467, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (468, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (469, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (470, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (471, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (472, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (473, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (474, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (475, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (476, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (477, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (478, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (479, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (480, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (481, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (482, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (483, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (484, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (485, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (486, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (487, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (488, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (489, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (490, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (491, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (492, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (493, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (494, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (495, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (496, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (497, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (498, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (499, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (500, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (501, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (502, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (503, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (504, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (505, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (506, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (507, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (508, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (509, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (510, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (511, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (512, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (513, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (514, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (515, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (516, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (517, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (518, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (519, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (520, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (521, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (522, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (523, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (524, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (525, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (526, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (527, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (528, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (529, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (530, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (531, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (532, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (533, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (534, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (535, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (536, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (537, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (538, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (539, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (540, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (541, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (542, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (543, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (544, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (545, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (546, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (547, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (548, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (549, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (550, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (551, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (552, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (553, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (554, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (555, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (556, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (557, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (558, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (559, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (560, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (561, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (562, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (563, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (564, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (565, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (566, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (567, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (568, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (569, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (570, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (571, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (572, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (573, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (574, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (575, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (576, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (577, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (578, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (579, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (580, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (581, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (582, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (583, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (584, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (585, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (586, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (587, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (588, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (589, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (590, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (591, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (592, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (593, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (594, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (595, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (596, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (597, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (598, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (599, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (600, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (601, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (602, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (603, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (604, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (605, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (606, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (607, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (608, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (609, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (610, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (611, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (612, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (613, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (614, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (615, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (616, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (617, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (618, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (619, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (620, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (621, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (622, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (623, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (624, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (625, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (626, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (627, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (628, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (629, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (630, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (631, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (632, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (633, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (634, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (635, 1) +INSERT INTO dbo.Macchine2FamMacchine + VALUES (636, 1) +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +UPDATE dbo.Permessi SET + GRUPPO=1, NUMERO=13 + WHERE COD_PERMESSO='ANAG_causali' +UPDATE dbo.Permessi SET + GRUPPO=1, NUMERO=12 + WHERE COD_PERMESSO='ANAG_famMacc' +INSERT INTO dbo.Permessi + VALUES ('ANAG_gestUtenti', 'gestUtentiGIM.aspx', 1, 11, 'GestioneUtenti', 'GestioneUtentiLong') +INSERT INTO dbo.Permessi + VALUES ('ANAG_opMtz', 'AnagOperatoriMtz.aspx', 1, 14, 'GestOperMtz', 'GestOperMtzLong') +GO + +COMMIT TRANSACTION +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_gestUtenti', N'GIM_AppAdmin', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_opMtz', N'GIM_SU', NULL) +INSERT INTO dbo.Permessi2Funzione + VALUES ('RicMan_edit', N'GIM_U', NULL) +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='RicMan_edit' AND COD_FUNZIONE=N'GIM_SU' +GO + +COMMIT TRANSACTION +GO + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(3, GETDATE()) +GO diff --git a/Projects/WebGIM/GIM_site/sql/GIM_0004.sql b/Projects/WebGIM/GIM_site/sql/GIM_0004.sql new file mode 100644 index 0000000..96ea883 --- /dev/null +++ b/Projects/WebGIM/GIM_site/sql/GIM_0004.sql @@ -0,0 +1,38 @@ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +ALTER VIEW v_elencoIntervFilt +AS +SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto, + dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.inizioIntervento, + dbo.InterventiMtz.fineIntervento, ISNULL(dbo.InterventiMtz.descrizioneIntervento, 'n.d. (report mtz)') AS descrizioneIntervento, ISNULL(dbo.AnagCausali.descrCausale, + 'n.d. (causale)') AS descrCausale, ISNULL(dbo.v_interventiErogati.totMinErogati / 60, 0) AS minErogati, ISNULL(DATEDIFF(hour, dbo.InterventiMtz.inizioIntervento, + dbo.InterventiMtz.fineIntervento), 0) AS durataMtz, CASE (isFermo) WHEN 1 THEN ISNULL(DATEDIFF(hour, dbo.InterventiMtz.guasto, dbo.InterventiMtz.fineIntervento), + 0) WHEN 0 THEN ISNULL(DATEDIFF(hour, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) END AS durataOff, dbo.InterventiMtz.guasto, + dbo.InterventiMtz.idxStato, dbo.InterventiMtz.idxImpianto, dbo.InterventiMtz.idxMacchina +FROM dbo.InterventiMtz INNER JOIN + dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN + dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN + dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN + dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN + dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN + dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN + dbo.v_interventiErogati ON dbo.InterventiMtz.numIntMtz = dbo.v_interventiErogati.numIntMtz LEFT OUTER JOIN + dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale +ORDER BY dbo.InterventiMtz.numIntMtz DESC +GO + +COMMIT +GO + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(4, GETDATE()) +GO diff --git a/Projects/WebGIM/GIM_site/sql/GIM_0005.sql b/Projects/WebGIM/GIM_site/sql/GIM_0005.sql new file mode 100644 index 0000000..582d442 --- /dev/null +++ b/Projects/WebGIM/GIM_site/sql/GIM_0005.sql @@ -0,0 +1,327 @@ +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +-- ============================================= +-- Author: Marco Salvi +-- Create date: 11/03/2009 +-- Description: Stored procedure per ricostruire gli indici e fare lo shrink su un db +-- ============================================= +CREATE PROCEDURE sp_IndiciAndShrink +( + @databaseName sysname +) +AS +BEGIN + + -- elimino eventuale tab temporanea preesistente + IF (SELECT COUNT(*) FROM TEMPDB..SYSOBJECTS WHERE NAME = '##TMP_nomiTabelle') > 0 + BEGIN + DROP TABLE ##TMP_nomiTabelle + END + + -- enumero le tab del db in una tab temporanea + SELECT IDENT = IDENTITY (INT,1,1), NAME + INTO ##TMP_nomiTabelle + FROM sys.Tables + + -- eseguo reindicizzazione + DECLARE @VAR1 INT + SET @VAR1 = 1 + WHILE @VAR1 < = ( SELECT COUNT(*) FROM ##TMP_nomiTabelle) + BEGIN + + DECLARE @OBJECTNAME VARCHAR(256) + + -- carico il nome della tab i-esima + SELECT @OBJECTNAME = NAME + FROM ##TMP_nomiTabelle + WHERE [IDENT] = @VAR1 + + -- rebuild indice + DBCC DBREINDEX(@OBJECTNAME) + + -- incremento + SET @VAR1 = @VAR1 + 1 + + END + + --shrink del db + DBCC SHRINKDATABASE (@databaseName) + +END +GO + +COMMIT +GO + + +SET xact_abort ON +GO + +BEGIN TRANSACTION +GO + +SET ANSI_NULLS ON +GO + +ALTER VIEW v_elencoIntervFilt +AS +SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto, + dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.inizioIntervento, + dbo.InterventiMtz.fineIntervento, ISNULL(dbo.InterventiMtz.descrizioneIntervento, 'n.d. (report mtz)') AS descrizioneIntervento, ISNULL(dbo.AnagCausali.descrCausale, + 'n.d. (causale)') AS descrCausale, ROUND(CAST(ISNULL(dbo.v_interventiErogati.totMinErogati, 0) AS FLOAT) / 60, 2) AS minErogati, + ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) AS FLOAT) / 60, 2) AS durataMtz, CASE (isFermo) + WHEN 1 THEN ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.guasto, dbo.InterventiMtz.fineIntervento), 0) AS FLOAT) / 60, 2) + WHEN 0 THEN ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) AS FLOAT) / 60, 2) END AS durataOff, + dbo.InterventiMtz.guasto, dbo.InterventiMtz.idxStato, dbo.InterventiMtz.idxImpianto, dbo.InterventiMtz.idxMacchina +FROM dbo.InterventiMtz INNER JOIN + dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN + dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN + dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN + dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN + dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN + dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN + dbo.v_interventiErogati ON dbo.InterventiMtz.numIntMtz = dbo.v_interventiErogati.numIntMtz LEFT OUTER JOIN + dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale +ORDER BY dbo.InterventiMtz.numIntMtz DESC +GO + +EXEC sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "InterventiMtz" + Begin Extent = + Top = 8 + Left = 486 + Bottom = 354 + Right = 671 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagAmbitoGuasto" + Begin Extent = + Top = 11 + Left = 82 + Bottom = 89 + Right = 255 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagImpianti" + Begin Extent = + Top = 123 + Left = 219 + Bottom = 231 + Right = 370 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMacchine" + Begin Extent = + Top = 190 + Left = 826 + Bottom = 298 + Right = 977 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagTipoGuasto" + Begin Extent = + Top = 90 + Left = 1143 + Bottom = 168 + Right = 1294 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagPriorita" + Begin Extent = + Top = 23 + Left = 958 + Bottom = 116 + Right = 1109 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagStati" + Begin Extent = + Top = 263 + Left = 90 + Bottom = 356 + Right = 241 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt' +GO + +EXEC sp_updateextendedproperty 'MS_DiagramPane2', ' End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "v_interventiErogati" + Begin Extent = + Top = 3 + Left = 739 + Bottom = 81 + Right = 890 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagCausali" + Begin Extent = + Top = 291 + Left = 1011 + Bottom = 369 + Right = 1162 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 30 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1665 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1575 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt' +GO + +COMMIT +GO + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(5, GETDATE()) +GO diff --git a/Projects/WebGIM/GIM_site/test.aspx b/Projects/WebGIM/GIM_site/test.aspx new file mode 100644 index 0000000..43dbf01 --- /dev/null +++ b/Projects/WebGIM/GIM_site/test.aspx @@ -0,0 +1,6 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/Ajax.master" AutoEventWireup="true" Inherits="test" Codebehind="test.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc2" %> + + + diff --git a/Projects/WebGIM/GIM_site/test.aspx.cs b/Projects/WebGIM/GIM_site/test.aspx.cs new file mode 100644 index 0000000..86e6e96 --- /dev/null +++ b/Projects/WebGIM/GIM_site/test.aspx.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class test : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + } +} diff --git a/Projects/WebGIM/GIM_site/test.aspx.designer.cs b/Projects/WebGIM/GIM_site/test.aspx.designer.cs new file mode 100644 index 0000000..9f9c8df --- /dev/null +++ b/Projects/WebGIM/GIM_site/test.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class test { + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; +} diff --git a/Projects/WebGIM/GIM_site/tipoGuasto.aspx b/Projects/WebGIM/GIM_site/tipoGuasto.aspx new file mode 100644 index 0000000..0f745be --- /dev/null +++ b/Projects/WebGIM/GIM_site/tipoGuasto.aspx @@ -0,0 +1,8 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="tipoGuasto" Codebehind="tipoGuasto.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_tipoGuasto.ascx" tagname="mod_tipoGuasto" tagprefix="uc1" %> + + + + + diff --git a/Projects/WebGIM/GIM_site/tipoGuasto.aspx.cs b/Projects/WebGIM/GIM_site/tipoGuasto.aspx.cs new file mode 100644 index 0000000..c31fe0b --- /dev/null +++ b/Projects/WebGIM/GIM_site/tipoGuasto.aspx.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class tipoGuasto : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/tipoGuasto.aspx.designer.cs b/Projects/WebGIM/GIM_site/tipoGuasto.aspx.designer.cs new file mode 100644 index 0000000..33619e5 --- /dev/null +++ b/Projects/WebGIM/GIM_site/tipoGuasto.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class tipoGuasto { + + /// + /// mod_tipoGuasto1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_tipoGuasto mod_tipoGuasto1; +} diff --git a/Projects/WebGIM/GIM_site/unauthorized.aspx b/Projects/WebGIM/GIM_site/unauthorized.aspx new file mode 100644 index 0000000..7b3062b --- /dev/null +++ b/Projects/WebGIM/GIM_site/unauthorized.aspx @@ -0,0 +1,9 @@ +<%@ Page Language="C#" MasterPageFile="~/AjaxSimple.master" AutoEventWireup="true" Inherits="unauthorized" Title="Untitled Page" Codebehind="unauthorized.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_unauthorized.ascx" TagName="mod_unauthorized" TagPrefix="uc1" %> + + + + + + diff --git a/Projects/WebGIM/GIM_site/unauthorized.aspx.cs b/Projects/WebGIM/GIM_site/unauthorized.aspx.cs new file mode 100644 index 0000000..d85d581 --- /dev/null +++ b/Projects/WebGIM/GIM_site/unauthorized.aspx.cs @@ -0,0 +1,18 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class unauthorized : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + + } +} diff --git a/Projects/WebGIM/GIM_site/unauthorized.aspx.designer.cs b/Projects/WebGIM/GIM_site/unauthorized.aspx.designer.cs new file mode 100644 index 0000000..932b7ca --- /dev/null +++ b/Projects/WebGIM/GIM_site/unauthorized.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class unauthorized { + + /// + /// Mod_unauthorized1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_unauthorized Mod_unauthorized1; +} diff --git a/Projects/WebGIM/GIM_site/vocabolario.aspx b/Projects/WebGIM/GIM_site/vocabolario.aspx new file mode 100644 index 0000000..c799dee --- /dev/null +++ b/Projects/WebGIM/GIM_site/vocabolario.aspx @@ -0,0 +1,8 @@ +<%@ Page Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="vocabolario" Title="Untitled Page" Codebehind="vocabolario.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_vocabolario.ascx" TagName="mod_vocabolario" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_lemmiVocab.ascx" TagName="mod_lemmiVocab" TagPrefix="uc2" %> + + + + diff --git a/Projects/WebGIM/GIM_site/vocabolario.aspx.cs b/Projects/WebGIM/GIM_site/vocabolario.aspx.cs new file mode 100644 index 0000000..60a31ce --- /dev/null +++ b/Projects/WebGIM/GIM_site/vocabolario.aspx.cs @@ -0,0 +1,43 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +using SteamWare; + +public partial class vocabolario : System.Web.UI.Page +{ + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + // imposto controlli eventi + Mod_vocabolario1.eh_selezioneValore += new EventHandler(Mod_vocabolario1_eh_selezioneValore); + Mod_vocabolario1.eh_resetSelezione += new EventHandler(Mod_vocabolario1_eh_resetSelezione); + // setto visibilità dettaglio termini + Mod_lemmiVocab1.Visible = false; + } + + void Mod_vocabolario1_eh_resetSelezione(object sender, EventArgs e) + { + Mod_lemmiVocab1.Visible = false; + Session.Remove("lemma_sel"); + } + + void Mod_vocabolario1_eh_selezioneValore(object sender, EventArgs e) + { + Mod_lemmiVocab1.Visible = true; + Mod_lemmiVocab1.doUpdate(); + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + Mod_vocabolario1.eh_selezioneValore -= new EventHandler(Mod_vocabolario1_eh_selezioneValore); + Mod_vocabolario1.eh_resetSelezione -= new EventHandler(Mod_vocabolario1_eh_resetSelezione); + } +} diff --git a/Projects/WebGIM/GIM_site/vocabolario.aspx.designer.cs b/Projects/WebGIM/GIM_site/vocabolario.aspx.designer.cs new file mode 100644 index 0000000..b51e337 --- /dev/null +++ b/Projects/WebGIM/GIM_site/vocabolario.aspx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class vocabolario { + + /// + /// Mod_vocabolario1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_vocabolario Mod_vocabolario1; + + /// + /// Mod_lemmiVocab1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_lemmiVocab Mod_lemmiVocab1; +} diff --git a/Projects/WebGIM/WebGIM.sln b/Projects/WebGIM/WebGIM.sln index 1635752..3f548cb 100644 --- a/Projects/WebGIM/WebGIM.sln +++ b/Projects/WebGIM/WebGIM.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 -Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "WebGIM", "..\..\Websites\WebGIM\", "{2613720C-20FA-4679-877F-ED5580A2C212}" +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "WebGIM", "..\..\WebSites\WebGIM\", "{2613720C-20FA-4679-877F-ED5580A2C212}" ProjectSection(WebsiteProperties) = preProject TargetFramework = "2.0" ProjectReferences = "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}|SteamWare.dll;" @@ -40,6 +40,10 @@ Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "WebGIM", "WebGIM\WebGIM.vdp EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetDirPerm", "..\SetDirectoryPermission\SetDirPerm.csproj", "{FB6006EA-4630-4ECB-82E4-FAC0866789D9}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GIM_site", "GIM_site\GIM_site.csproj", "{02C16B9B-9E89-42A7-A59C-E85A21E102F3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GIM_data", "GIM_data\GIM_data.csproj", "{F66427C8-882A-4EF8-B42F-EF142906DC8C}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -88,6 +92,22 @@ Global {FB6006EA-4630-4ECB-82E4-FAC0866789D9}.Installer|Any CPU.Build.0 = Release|Any CPU {FB6006EA-4630-4ECB-82E4-FAC0866789D9}.Release|Any CPU.ActiveCfg = Release|Any CPU {FB6006EA-4630-4ECB-82E4-FAC0866789D9}.Release|Any CPU.Build.0 = Release|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Deploy|Any CPU.ActiveCfg = Debug|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Deploy|Any CPU.Build.0 = Debug|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Installer|Any CPU.ActiveCfg = Release|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Installer|Any CPU.Build.0 = Release|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {02C16B9B-9E89-42A7-A59C-E85A21E102F3}.Release|Any CPU.Build.0 = Release|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Deploy|Any CPU.ActiveCfg = Debug|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Deploy|Any CPU.Build.0 = Debug|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Installer|Any CPU.ActiveCfg = Release|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Installer|Any CPU.Build.0 = Release|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F66427C8-882A-4EF8-B42F-EF142906DC8C}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Projects/WebGIM/WebGIM/WebGIM.vdproj b/Projects/WebGIM/WebGIM/WebGIM.vdproj index b513df5..507e83d 100644 --- a/Projects/WebGIM/WebGIM/WebGIM.vdproj +++ b/Projects/WebGIM/WebGIM/WebGIM.vdproj @@ -46,13 +46,13 @@ "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_419C6FCAF5234A93B214B5A26EFFC0C0" + "OwnerKey" = "8:_ACCC51B24218481E9211EC28963B805B" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_ACCC51B24218481E9211EC28963B805B" + "OwnerKey" = "8:_419C6FCAF5234A93B214B5A26EFFC0C0" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -352,7 +352,7 @@ "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:WebGIM" "ProductCode" = "8:{1A8F1754-27AE-4053-A4E6-4CE23D8ACD4E}" - "PackageCode" = "8:{4FA722A4-B26D-4841-9157-8528D4A9573C}" + "PackageCode" = "8:{F05F92A6-5935-4EF0-A251-B868DFFE1CFF}" "UpgradeCode" = "8:{7739196B-46A3-4BC7-AC29-DB8493976F04}" "RestartWWWService" = "11:TRUE" "RemovePreviousVersions" = "11:TRUE" @@ -803,7 +803,7 @@ { "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_002A939468284078BADBED4D96FCE1A3" { - "SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe" + "SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Debug\\IISConsoleVB.exe" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_2D9D820F878A4DBCBFF52E477385858A" @@ -831,7 +831,7 @@ } "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_419C6FCAF5234A93B214B5A26EFFC0C0" { - "SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe" + "SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Debug\\SetDirectoryPermission.exe" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_2D9D820F878A4DBCBFF52E477385858A"