diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs b/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs
index 0611965..daf6453 100644
--- a/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs
+++ b/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs
@@ -72,6 +72,8 @@ namespace GIM_data {
private v_allDataDataTable tablev_allData;
+ private ElencoIntervExtDataTable tableElencoIntervExt;
+
private global::System.Data.DataRelation relationFK_AnagMacchine_AnagImpianti;
private global::System.Data.DataRelation relationMacchine2FamMacchine_v_macchine;
@@ -204,6 +206,9 @@ namespace GIM_data {
if ((ds.Tables["v_allData"] != null)) {
base.Tables.Add(new v_allDataDataTable(ds.Tables["v_allData"]));
}
+ if ((ds.Tables["ElencoIntervExt"] != null)) {
+ base.Tables.Add(new ElencoIntervExtDataTable(ds.Tables["ElencoIntervExt"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -462,6 +467,16 @@ namespace GIM_data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public ElencoIntervExtDataTable ElencoIntervExt {
+ get {
+ return this.tableElencoIntervExt;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -601,6 +616,9 @@ namespace GIM_data {
if ((ds.Tables["v_allData"] != null)) {
base.Tables.Add(new v_allDataDataTable(ds.Tables["v_allData"]));
}
+ if ((ds.Tables["ElencoIntervExt"] != null)) {
+ base.Tables.Add(new ElencoIntervExtDataTable(ds.Tables["ElencoIntervExt"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -778,6 +796,12 @@ namespace GIM_data {
this.tablev_allData.InitVars();
}
}
+ this.tableElencoIntervExt = ((ElencoIntervExtDataTable)(base.Tables["ElencoIntervExt"]));
+ if ((initTable == true)) {
+ if ((this.tableElencoIntervExt != null)) {
+ this.tableElencoIntervExt.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"];
@@ -852,6 +876,8 @@ namespace GIM_data {
base.Tables.Add(this.tableAnagTipoRisorsa);
this.tablev_allData = new v_allDataDataTable();
base.Tables.Add(this.tablev_allData);
+ this.tableElencoIntervExt = new ElencoIntervExtDataTable();
+ base.Tables.Add(this.tableElencoIntervExt);
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);
@@ -1062,6 +1088,12 @@ namespace GIM_data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeElencoIntervExt() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -1189,6 +1221,9 @@ namespace GIM_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void v_allDataRowChangeEventHandler(object sender, v_allDataRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ElencoIntervExtRowChangeEventHandler(object sender, ElencoIntervExtRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -9506,6 +9541,601 @@ namespace GIM_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ElencoIntervExtDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columncodImpianto;
+
+ private global::System.Data.DataColumn columncodMacchina;
+
+ private global::System.Data.DataColumn columndescrCausale;
+
+ private global::System.Data.DataColumn columndescrizione;
+
+ private global::System.Data.DataColumn columndescrizioneIntervento;
+
+ private global::System.Data.DataColumn columndurataMtz;
+
+ private global::System.Data.DataColumn columndurataOff;
+
+ private global::System.Data.DataColumn columnfineIntervento;
+
+ private global::System.Data.DataColumn columnguasto;
+
+ private global::System.Data.DataColumn columnidxImpianto;
+
+ private global::System.Data.DataColumn columnidxMacchina;
+
+ private global::System.Data.DataColumn columnidxStato;
+
+ private global::System.Data.DataColumn columninizioIntervento;
+
+ private global::System.Data.DataColumn columnminErogati;
+
+ private global::System.Data.DataColumn columnnomeImpianto;
+
+ private global::System.Data.DataColumn columnnomeMacchina;
+
+ private global::System.Data.DataColumn columnnumIntMtz;
+
+ private global::System.Data.DataColumn columnrichiesta;
+
+ private global::System.Data.DataColumn columnisFermo;
+
+ private global::System.Data.DataColumn columnscheduled;
+
+ private global::System.Data.DataColumn columntotImpMat;
+
+ private global::System.Data.DataColumn columntotQtaHR;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtDataTable() {
+ this.TableName = "ElencoIntervExt";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ElencoIntervExtDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected ElencoIntervExtDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn codImpiantoColumn {
+ get {
+ return this.columncodImpianto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn codMacchinaColumn {
+ get {
+ return this.columncodMacchina;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn descrCausaleColumn {
+ get {
+ return this.columndescrCausale;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn descrizioneColumn {
+ get {
+ return this.columndescrizione;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn descrizioneInterventoColumn {
+ get {
+ return this.columndescrizioneIntervento;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn durataMtzColumn {
+ get {
+ return this.columndurataMtz;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn durataOffColumn {
+ get {
+ return this.columndurataOff;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn fineInterventoColumn {
+ get {
+ return this.columnfineIntervento;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn guastoColumn {
+ get {
+ return this.columnguasto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxImpiantoColumn {
+ get {
+ return this.columnidxImpianto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxMacchinaColumn {
+ get {
+ return this.columnidxMacchina;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxStatoColumn {
+ get {
+ return this.columnidxStato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn inizioInterventoColumn {
+ get {
+ return this.columninizioIntervento;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn minErogatiColumn {
+ get {
+ return this.columnminErogati;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn nomeImpiantoColumn {
+ get {
+ return this.columnnomeImpianto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn nomeMacchinaColumn {
+ get {
+ return this.columnnomeMacchina;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn numIntMtzColumn {
+ get {
+ return this.columnnumIntMtz;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn richiestaColumn {
+ get {
+ return this.columnrichiesta;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn isFermoColumn {
+ get {
+ return this.columnisFermo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn scheduledColumn {
+ get {
+ return this.columnscheduled;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn totImpMatColumn {
+ get {
+ return this.columntotImpMat;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn totQtaHRColumn {
+ get {
+ return this.columntotQtaHR;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtRow this[int index] {
+ get {
+ return ((ElencoIntervExtRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoIntervExtRowChangeEventHandler ElencoIntervExtRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoIntervExtRowChangeEventHandler ElencoIntervExtRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoIntervExtRowChangeEventHandler ElencoIntervExtRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoIntervExtRowChangeEventHandler ElencoIntervExtRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddElencoIntervExtRow(ElencoIntervExtRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtRow AddElencoIntervExtRow(
+ string codImpianto,
+ string codMacchina,
+ string descrCausale,
+ string descrizione,
+ string descrizioneIntervento,
+ double durataMtz,
+ double durataOff,
+ System.DateTime fineIntervento,
+ System.DateTime guasto,
+ int idxImpianto,
+ int idxMacchina,
+ int idxStato,
+ System.DateTime inizioIntervento,
+ double minErogati,
+ string nomeImpianto,
+ string nomeMacchina,
+ int numIntMtz,
+ System.DateTime richiesta,
+ bool isFermo,
+ bool scheduled,
+ decimal totImpMat,
+ decimal totQtaHR) {
+ ElencoIntervExtRow rowElencoIntervExtRow = ((ElencoIntervExtRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ codImpianto,
+ codMacchina,
+ descrCausale,
+ descrizione,
+ descrizioneIntervento,
+ durataMtz,
+ durataOff,
+ fineIntervento,
+ guasto,
+ idxImpianto,
+ idxMacchina,
+ idxStato,
+ inizioIntervento,
+ minErogati,
+ nomeImpianto,
+ nomeMacchina,
+ numIntMtz,
+ richiesta,
+ isFermo,
+ scheduled,
+ totImpMat,
+ totQtaHR};
+ rowElencoIntervExtRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowElencoIntervExtRow);
+ return rowElencoIntervExtRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtRow FindBynumIntMtz(int numIntMtz) {
+ return ((ElencoIntervExtRow)(this.Rows.Find(new object[] {
+ numIntMtz})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ElencoIntervExtDataTable cln = ((ElencoIntervExtDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new ElencoIntervExtDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columncodImpianto = base.Columns["codImpianto"];
+ this.columncodMacchina = base.Columns["codMacchina"];
+ this.columndescrCausale = base.Columns["descrCausale"];
+ this.columndescrizione = base.Columns["descrizione"];
+ this.columndescrizioneIntervento = base.Columns["descrizioneIntervento"];
+ this.columndurataMtz = base.Columns["durataMtz"];
+ this.columndurataOff = base.Columns["durataOff"];
+ this.columnfineIntervento = base.Columns["fineIntervento"];
+ this.columnguasto = base.Columns["guasto"];
+ this.columnidxImpianto = base.Columns["idxImpianto"];
+ this.columnidxMacchina = base.Columns["idxMacchina"];
+ this.columnidxStato = base.Columns["idxStato"];
+ this.columninizioIntervento = base.Columns["inizioIntervento"];
+ this.columnminErogati = base.Columns["minErogati"];
+ this.columnnomeImpianto = base.Columns["nomeImpianto"];
+ this.columnnomeMacchina = base.Columns["nomeMacchina"];
+ this.columnnumIntMtz = base.Columns["numIntMtz"];
+ this.columnrichiesta = base.Columns["richiesta"];
+ this.columnisFermo = base.Columns["isFermo"];
+ this.columnscheduled = base.Columns["scheduled"];
+ this.columntotImpMat = base.Columns["totImpMat"];
+ this.columntotQtaHR = base.Columns["totQtaHR"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ 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.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncodMacchina);
+ this.columndescrCausale = new global::System.Data.DataColumn("descrCausale", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndescrCausale);
+ this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndescrizione);
+ this.columndescrizioneIntervento = new global::System.Data.DataColumn("descrizioneIntervento", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndescrizioneIntervento);
+ this.columndurataMtz = new global::System.Data.DataColumn("durataMtz", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndurataMtz);
+ this.columndurataOff = new global::System.Data.DataColumn("durataOff", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndurataOff);
+ this.columnfineIntervento = new global::System.Data.DataColumn("fineIntervento", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnfineIntervento);
+ this.columnguasto = new global::System.Data.DataColumn("guasto", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnguasto);
+ 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.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidxStato);
+ this.columninizioIntervento = new global::System.Data.DataColumn("inizioIntervento", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columninizioIntervento);
+ this.columnminErogati = new global::System.Data.DataColumn("minErogati", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnminErogati);
+ 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.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.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnisFermo);
+ this.columnscheduled = new global::System.Data.DataColumn("scheduled", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnscheduled);
+ this.columntotImpMat = new global::System.Data.DataColumn("totImpMat", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntotImpMat);
+ this.columntotQtaHR = new global::System.Data.DataColumn("totQtaHR", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntotQtaHR);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnnumIntMtz}, true));
+ this.columncodImpianto.MaxLength = 50;
+ this.columncodMacchina.MaxLength = 50;
+ this.columndescrCausale.ReadOnly = true;
+ this.columndescrCausale.MaxLength = 50;
+ this.columndescrizione.AllowDBNull = false;
+ this.columndescrizione.MaxLength = 2500;
+ this.columndescrizioneIntervento.ReadOnly = true;
+ this.columndescrizioneIntervento.MaxLength = 2500;
+ this.columndurataMtz.ReadOnly = true;
+ this.columndurataOff.ReadOnly = true;
+ this.columnguasto.AllowDBNull = false;
+ this.columnidxImpianto.AllowDBNull = false;
+ this.columnidxMacchina.AllowDBNull = false;
+ this.columnidxStato.AllowDBNull = false;
+ this.columnminErogati.ReadOnly = true;
+ this.columnnomeImpianto.MaxLength = 50;
+ this.columnnomeMacchina.MaxLength = 250;
+ this.columnnumIntMtz.AllowDBNull = false;
+ this.columnnumIntMtz.Unique = true;
+ this.columnrichiesta.AllowDBNull = false;
+ this.columnisFermo.AllowDBNull = false;
+ this.columntotImpMat.ReadOnly = true;
+ this.columntotQtaHR.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtRow NewElencoIntervExtRow() {
+ return ((ElencoIntervExtRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new ElencoIntervExtRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(ElencoIntervExtRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.ElencoIntervExtRowChanged != null)) {
+ this.ElencoIntervExtRowChanged(this, new ElencoIntervExtRowChangeEvent(((ElencoIntervExtRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.ElencoIntervExtRowChanging != null)) {
+ this.ElencoIntervExtRowChanging(this, new ElencoIntervExtRowChangeEvent(((ElencoIntervExtRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.ElencoIntervExtRowDeleted != null)) {
+ this.ElencoIntervExtRowDeleted(this, new ElencoIntervExtRowChangeEvent(((ElencoIntervExtRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.ElencoIntervExtRowDeleting != null)) {
+ this.ElencoIntervExtRowDeleting(this, new ElencoIntervExtRowChangeEvent(((ElencoIntervExtRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveElencoIntervExtRow(ElencoIntervExtRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_applicazione ds = new DS_applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "ElencoIntervExtDataTable";
+ 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.
///
@@ -13515,6 +14145,502 @@ namespace GIM_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ElencoIntervExtRow : global::System.Data.DataRow {
+
+ private ElencoIntervExtDataTable tableElencoIntervExt;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ElencoIntervExtRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableElencoIntervExt = ((ElencoIntervExtDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string codImpianto {
+ get {
+ try {
+ return ((string)(this[this.tableElencoIntervExt.codImpiantoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.codImpiantoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string codMacchina {
+ get {
+ try {
+ return ((string)(this[this.tableElencoIntervExt.codMacchinaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.codMacchinaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string descrCausale {
+ get {
+ try {
+ return ((string)(this[this.tableElencoIntervExt.descrCausaleColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'descrCausale\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.descrCausaleColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string descrizione {
+ get {
+ return ((string)(this[this.tableElencoIntervExt.descrizioneColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.descrizioneColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string descrizioneIntervento {
+ get {
+ try {
+ return ((string)(this[this.tableElencoIntervExt.descrizioneInterventoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'descrizioneIntervento\' in table \'ElencoIntervExt\' is DBNull" +
+ ".", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.descrizioneInterventoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double durataMtz {
+ get {
+ try {
+ return ((double)(this[this.tableElencoIntervExt.durataMtzColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'durataMtz\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.durataMtzColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double durataOff {
+ get {
+ try {
+ return ((double)(this[this.tableElencoIntervExt.durataOffColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'durataOff\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.durataOffColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime fineIntervento {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableElencoIntervExt.fineInterventoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'fineIntervento\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.fineInterventoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime guasto {
+ get {
+ return ((global::System.DateTime)(this[this.tableElencoIntervExt.guastoColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.guastoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idxImpianto {
+ get {
+ return ((int)(this[this.tableElencoIntervExt.idxImpiantoColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.idxImpiantoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idxMacchina {
+ get {
+ return ((int)(this[this.tableElencoIntervExt.idxMacchinaColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.idxMacchinaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idxStato {
+ get {
+ return ((int)(this[this.tableElencoIntervExt.idxStatoColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.idxStatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime inizioIntervento {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableElencoIntervExt.inizioInterventoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'inizioIntervento\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.inizioInterventoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double minErogati {
+ get {
+ try {
+ return ((double)(this[this.tableElencoIntervExt.minErogatiColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'minErogati\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.minErogatiColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string nomeImpianto {
+ get {
+ try {
+ return ((string)(this[this.tableElencoIntervExt.nomeImpiantoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.nomeImpiantoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string nomeMacchina {
+ get {
+ try {
+ return ((string)(this[this.tableElencoIntervExt.nomeMacchinaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.nomeMacchinaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int numIntMtz {
+ get {
+ return ((int)(this[this.tableElencoIntervExt.numIntMtzColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.numIntMtzColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime richiesta {
+ get {
+ return ((global::System.DateTime)(this[this.tableElencoIntervExt.richiestaColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.richiestaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool isFermo {
+ get {
+ return ((bool)(this[this.tableElencoIntervExt.isFermoColumn]));
+ }
+ set {
+ this[this.tableElencoIntervExt.isFermoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool scheduled {
+ get {
+ try {
+ return ((bool)(this[this.tableElencoIntervExt.scheduledColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'scheduled\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.scheduledColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public decimal totImpMat {
+ get {
+ try {
+ return ((decimal)(this[this.tableElencoIntervExt.totImpMatColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'totImpMat\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.totImpMatColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public decimal totQtaHR {
+ get {
+ try {
+ return ((decimal)(this[this.tableElencoIntervExt.totQtaHRColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'totQtaHR\' in table \'ElencoIntervExt\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoIntervExt.totQtaHRColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IscodImpiantoNull() {
+ return this.IsNull(this.tableElencoIntervExt.codImpiantoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetcodImpiantoNull() {
+ this[this.tableElencoIntervExt.codImpiantoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IscodMacchinaNull() {
+ return this.IsNull(this.tableElencoIntervExt.codMacchinaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetcodMacchinaNull() {
+ this[this.tableElencoIntervExt.codMacchinaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdescrCausaleNull() {
+ return this.IsNull(this.tableElencoIntervExt.descrCausaleColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdescrCausaleNull() {
+ this[this.tableElencoIntervExt.descrCausaleColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdescrizioneInterventoNull() {
+ return this.IsNull(this.tableElencoIntervExt.descrizioneInterventoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdescrizioneInterventoNull() {
+ this[this.tableElencoIntervExt.descrizioneInterventoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdurataMtzNull() {
+ return this.IsNull(this.tableElencoIntervExt.durataMtzColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdurataMtzNull() {
+ this[this.tableElencoIntervExt.durataMtzColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdurataOffNull() {
+ return this.IsNull(this.tableElencoIntervExt.durataOffColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdurataOffNull() {
+ this[this.tableElencoIntervExt.durataOffColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsfineInterventoNull() {
+ return this.IsNull(this.tableElencoIntervExt.fineInterventoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetfineInterventoNull() {
+ this[this.tableElencoIntervExt.fineInterventoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsinizioInterventoNull() {
+ return this.IsNull(this.tableElencoIntervExt.inizioInterventoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetinizioInterventoNull() {
+ this[this.tableElencoIntervExt.inizioInterventoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsminErogatiNull() {
+ return this.IsNull(this.tableElencoIntervExt.minErogatiColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetminErogatiNull() {
+ this[this.tableElencoIntervExt.minErogatiColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsnomeImpiantoNull() {
+ return this.IsNull(this.tableElencoIntervExt.nomeImpiantoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetnomeImpiantoNull() {
+ this[this.tableElencoIntervExt.nomeImpiantoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsnomeMacchinaNull() {
+ return this.IsNull(this.tableElencoIntervExt.nomeMacchinaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetnomeMacchinaNull() {
+ this[this.tableElencoIntervExt.nomeMacchinaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsscheduledNull() {
+ return this.IsNull(this.tableElencoIntervExt.scheduledColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetscheduledNull() {
+ this[this.tableElencoIntervExt.scheduledColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstotImpMatNull() {
+ return this.IsNull(this.tableElencoIntervExt.totImpMatColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettotImpMatNull() {
+ this[this.tableElencoIntervExt.totImpMatColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstotQtaHRNull() {
+ return this.IsNull(this.tableElencoIntervExt.totQtaHRColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettotQtaHRNull() {
+ this[this.tableElencoIntervExt.totQtaHRColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -14330,6 +15456,40 @@ namespace GIM_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ElencoIntervExtRowChangeEvent : global::System.EventArgs {
+
+ private ElencoIntervExtRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtRowChangeEvent(ElencoIntervExtRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace GIM_data.DS_applicazioneTableAdapters {
@@ -23209,6 +24369,206 @@ FROM v_mtzProgExp";
return dataTable;
}
}
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class ElencoIntervExtTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoIntervExtTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "ElencoIntervExt";
+ tableMapping.ColumnMappings.Add("codImpianto", "codImpianto");
+ tableMapping.ColumnMappings.Add("codMacchina", "codMacchina");
+ tableMapping.ColumnMappings.Add("descrCausale", "descrCausale");
+ tableMapping.ColumnMappings.Add("descrizione", "descrizione");
+ tableMapping.ColumnMappings.Add("descrizioneIntervento", "descrizioneIntervento");
+ tableMapping.ColumnMappings.Add("durataMtz", "durataMtz");
+ tableMapping.ColumnMappings.Add("durataOff", "durataOff");
+ tableMapping.ColumnMappings.Add("fineIntervento", "fineIntervento");
+ tableMapping.ColumnMappings.Add("guasto", "guasto");
+ tableMapping.ColumnMappings.Add("idxImpianto", "idxImpianto");
+ tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina");
+ tableMapping.ColumnMappings.Add("idxStato", "idxStato");
+ tableMapping.ColumnMappings.Add("inizioIntervento", "inizioIntervento");
+ tableMapping.ColumnMappings.Add("minErogati", "minErogati");
+ tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto");
+ tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina");
+ tableMapping.ColumnMappings.Add("numIntMtz", "numIntMtz");
+ tableMapping.ColumnMappings.Add("richiesta", "richiesta");
+ tableMapping.ColumnMappings.Add("isFermo", "isFermo");
+ tableMapping.ColumnMappings.Add("scheduled", "scheduled");
+ tableMapping.ColumnMappings.Add("totImpMat", "totImpMat");
+ tableMapping.ColumnMappings.Add("totQtaHR", "totQtaHR");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "dbo.stp_elencoIntByIntervDateUserFiltExtended";
+ 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, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_applicazione.ElencoIntervExtDataTable 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_applicazione.ElencoIntervExtDataTable 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_applicazione.ElencoIntervExtDataTable dataTable = new DS_applicazione.ElencoIntervExtDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
}
#pragma warning restore 1591
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.xsd b/Projects/WebGIM/GIM_data/DS_applicazione.xsd
index 98385bb..a29ab4e 100644
--- a/Projects/WebGIM/GIM_data/DS_applicazione.xsd
+++ b/Projects/WebGIM/GIM_data/DS_applicazione.xsd
@@ -1820,6 +1820,48 @@ FROM v_mtzProgExp
+
+
+
+
+
+ dbo.stp_elencoIntByIntervDateUserFiltExtended
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2310,7 +2352,7 @@ FROM v_mtzProgExp
-
+
@@ -2387,7 +2429,7 @@ FROM v_mtzProgExp
-
+
@@ -2412,7 +2454,7 @@ FROM v_mtzProgExp
-
+
@@ -2446,7 +2488,7 @@ FROM v_mtzProgExp
-
+
@@ -2524,6 +2566,76 @@ FROM v_mtzProgExp
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2627,25 +2739,29 @@ FROM v_mtzProgExp
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.xss b/Projects/WebGIM/GIM_data/DS_applicazione.xss
index d8006d5..43152b8 100644
--- a/Projects/WebGIM/GIM_data/DS_applicazione.xss
+++ b/Projects/WebGIM/GIM_data/DS_applicazione.xss
@@ -4,35 +4,36 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+ 1029
@@ -44,7 +45,7 @@
-
+ 1251
@@ -56,7 +57,7 @@
-
+ 1239
@@ -68,7 +69,7 @@
-
+ 679
@@ -80,7 +81,7 @@
-
+ 810
@@ -92,7 +93,7 @@
-
+ 448
@@ -104,7 +105,7 @@
-
+ 301
@@ -116,7 +117,7 @@
-
+ 631
@@ -132,7 +133,7 @@
-
+ 1141
@@ -144,7 +145,7 @@
-
+ 1017
@@ -160,7 +161,7 @@
-
+ 1362
@@ -176,7 +177,7 @@
-
+ 922
@@ -188,7 +189,7 @@
-
+ 1328
@@ -200,7 +201,7 @@
-
+ 754
@@ -212,7 +213,7 @@
-
+ 121
@@ -228,7 +229,7 @@
-
+ 569
diff --git a/Projects/WebGIM/GIM_data/DS_utility.Designer.cs b/Projects/WebGIM/GIM_data/DS_utility.Designer.cs
index 50fed3f..43aab88 100644
--- a/Projects/WebGIM/GIM_data/DS_utility.Designer.cs
+++ b/Projects/WebGIM/GIM_data/DS_utility.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34014
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -58,6 +58,10 @@ namespace GIM_data {
private v_selAnTipoRisDataTable tablev_selAnTipoRis;
+ private v_selListValDataTable tablev_selListVal;
+
+ private ListValuesDataTable tableListValues;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -137,6 +141,12 @@ namespace GIM_data {
if ((ds.Tables["v_selAnTipoRis"] != null)) {
base.Tables.Add(new v_selAnTipoRisDataTable(ds.Tables["v_selAnTipoRis"]));
}
+ if ((ds.Tables["v_selListVal"] != null)) {
+ base.Tables.Add(new v_selListValDataTable(ds.Tables["v_selListVal"]));
+ }
+ if ((ds.Tables["ListValues"] != null)) {
+ base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -325,6 +335,26 @@ namespace GIM_data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public v_selListValDataTable v_selListVal {
+ get {
+ return this.tablev_selListVal;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public ListValuesDataTable ListValues {
+ get {
+ return this.tableListValues;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -443,6 +473,12 @@ namespace GIM_data {
if ((ds.Tables["v_selAnTipoRis"] != null)) {
base.Tables.Add(new v_selAnTipoRisDataTable(ds.Tables["v_selAnTipoRis"]));
}
+ if ((ds.Tables["v_selListVal"] != null)) {
+ base.Tables.Add(new v_selListValDataTable(ds.Tables["v_selListVal"]));
+ }
+ if ((ds.Tables["ListValues"] != null)) {
+ base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -578,6 +614,18 @@ namespace GIM_data {
this.tablev_selAnTipoRis.InitVars();
}
}
+ this.tablev_selListVal = ((v_selListValDataTable)(base.Tables["v_selListVal"]));
+ if ((initTable == true)) {
+ if ((this.tablev_selListVal != null)) {
+ this.tablev_selListVal.InitVars();
+ }
+ }
+ this.tableListValues = ((ListValuesDataTable)(base.Tables["ListValues"]));
+ if ((initTable == true)) {
+ if ((this.tableListValues != null)) {
+ this.tableListValues.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -622,6 +670,10 @@ namespace GIM_data {
base.Tables.Add(this.tablev_mtzProgPendingExp);
this.tablev_selAnTipoRis = new v_selAnTipoRisDataTable();
base.Tables.Add(this.tablev_selAnTipoRis);
+ this.tablev_selListVal = new v_selListValDataTable();
+ base.Tables.Add(this.tablev_selListVal);
+ this.tableListValues = new ListValuesDataTable();
+ base.Tables.Add(this.tableListValues);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -726,6 +778,18 @@ namespace GIM_data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializev_selListVal() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeListValues() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -832,6 +896,12 @@ namespace GIM_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void v_selAnTipoRisRowChangeEventHandler(object sender, v_selAnTipoRisRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void v_selListValRowChangeEventHandler(object sender, v_selListValRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ListValuesRowChangeEventHandler(object sender, ListValuesRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -6149,6 +6219,593 @@ namespace GIM_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class v_selListValDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnvalue;
+
+ private global::System.Data.DataColumn columnlabel;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selListValDataTable() {
+ this.TableName = "v_selListVal";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_selListValDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected v_selListValDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn valueColumn {
+ get {
+ return this.columnvalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn labelColumn {
+ get {
+ return this.columnlabel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selListValRow this[int index] {
+ get {
+ return ((v_selListValRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selListValRowChangeEventHandler v_selListValRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selListValRowChangeEventHandler v_selListValRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selListValRowChangeEventHandler v_selListValRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selListValRowChangeEventHandler v_selListValRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Addv_selListValRow(v_selListValRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selListValRow Addv_selListValRow(string value, string label) {
+ v_selListValRow rowv_selListValRow = ((v_selListValRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ value,
+ label};
+ rowv_selListValRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowv_selListValRow);
+ return rowv_selListValRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ v_selListValDataTable cln = ((v_selListValDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new v_selListValDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnvalue = base.Columns["value"];
+ this.columnlabel = base.Columns["label"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ 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.columnvalue.ReadOnly = true;
+ this.columnvalue.MaxLength = 112;
+ this.columnlabel.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selListValRow Newv_selListValRow() {
+ return ((v_selListValRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new v_selListValRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(v_selListValRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.v_selListValRowChanged != null)) {
+ this.v_selListValRowChanged(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.v_selListValRowChanging != null)) {
+ this.v_selListValRowChanging(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.v_selListValRowDeleted != null)) {
+ this.v_selListValRowDeleted(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.v_selListValRowDeleting != null)) {
+ this.v_selListValRowDeleting(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Removev_selListValRow(v_selListValRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_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_selListValDataTable";
+ 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.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ListValuesDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnTableName;
+
+ private global::System.Data.DataColumn columnFieldName;
+
+ private global::System.Data.DataColumn columnvalue;
+
+ private global::System.Data.DataColumn columnlabel;
+
+ private global::System.Data.DataColumn columnordinal;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesDataTable() {
+ this.TableName = "ListValues";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ListValuesDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected ListValuesDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TableNameColumn {
+ get {
+ return this.columnTableName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FieldNameColumn {
+ get {
+ return this.columnFieldName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn valueColumn {
+ get {
+ return this.columnvalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn labelColumn {
+ get {
+ return this.columnlabel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ordinalColumn {
+ get {
+ return this.columnordinal;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow this[int index] {
+ get {
+ return ((ListValuesRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddListValuesRow(ListValuesRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow AddListValuesRow(string TableName, string FieldName, string value, string label, int ordinal) {
+ ListValuesRow rowListValuesRow = ((ListValuesRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ TableName,
+ FieldName,
+ value,
+ label,
+ ordinal};
+ rowListValuesRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowListValuesRow);
+ return rowListValuesRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow FindByTableNameFieldNamevalue(string TableName, string FieldName, string value) {
+ return ((ListValuesRow)(this.Rows.Find(new object[] {
+ TableName,
+ FieldName,
+ value})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ListValuesDataTable cln = ((ListValuesDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new ListValuesDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnTableName = base.Columns["TableName"];
+ this.columnFieldName = base.Columns["FieldName"];
+ this.columnvalue = base.Columns["value"];
+ this.columnlabel = base.Columns["label"];
+ this.columnordinal = base.Columns["ordinal"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnTableName = new global::System.Data.DataColumn("TableName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTableName);
+ this.columnFieldName = new global::System.Data.DataColumn("FieldName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFieldName);
+ 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.columnordinal = new global::System.Data.DataColumn("ordinal", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnordinal);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnTableName,
+ this.columnFieldName,
+ this.columnvalue}, true));
+ this.columnTableName.AllowDBNull = false;
+ this.columnTableName.MaxLength = 50;
+ this.columnFieldName.AllowDBNull = false;
+ this.columnFieldName.MaxLength = 50;
+ this.columnvalue.AllowDBNull = false;
+ this.columnvalue.MaxLength = 10;
+ this.columnlabel.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow NewListValuesRow() {
+ return ((ListValuesRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new ListValuesRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(ListValuesRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.ListValuesRowChanged != null)) {
+ this.ListValuesRowChanged(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.ListValuesRowChanging != null)) {
+ this.ListValuesRowChanging(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.ListValuesRowDeleted != null)) {
+ this.ListValuesRowDeleted(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.ListValuesRowDeleting != null)) {
+ this.ListValuesRowDeleting(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveListValuesRow(ListValuesRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_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 = "ListValuesDataTable";
+ 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.
///
@@ -8130,6 +8787,181 @@ namespace GIM_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class v_selListValRow : global::System.Data.DataRow {
+
+ private v_selListValDataTable tablev_selListVal;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_selListValRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablev_selListVal = ((v_selListValDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string value {
+ get {
+ try {
+ return ((string)(this[this.tablev_selListVal.valueColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'value\' in table \'v_selListVal\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_selListVal.valueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string label {
+ get {
+ try {
+ return ((string)(this[this.tablev_selListVal.labelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selListVal\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_selListVal.labelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsvalueNull() {
+ return this.IsNull(this.tablev_selListVal.valueColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetvalueNull() {
+ this[this.tablev_selListVal.valueColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslabelNull() {
+ return this.IsNull(this.tablev_selListVal.labelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlabelNull() {
+ this[this.tablev_selListVal.labelColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ListValuesRow : global::System.Data.DataRow {
+
+ private ListValuesDataTable tableListValues;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ListValuesRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableListValues = ((ListValuesDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TableName {
+ get {
+ return ((string)(this[this.tableListValues.TableNameColumn]));
+ }
+ set {
+ this[this.tableListValues.TableNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string FieldName {
+ get {
+ return ((string)(this[this.tableListValues.FieldNameColumn]));
+ }
+ set {
+ this[this.tableListValues.FieldNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string value {
+ get {
+ return ((string)(this[this.tableListValues.valueColumn]));
+ }
+ set {
+ this[this.tableListValues.valueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string label {
+ get {
+ try {
+ return ((string)(this[this.tableListValues.labelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'ListValues\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableListValues.labelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int ordinal {
+ get {
+ try {
+ return ((int)(this[this.tableListValues.ordinalColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ordinal\' in table \'ListValues\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableListValues.ordinalColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslabelNull() {
+ return this.IsNull(this.tableListValues.labelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlabelNull() {
+ this[this.tableListValues.labelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsordinalNull() {
+ return this.IsNull(this.tableListValues.ordinalColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetordinalNull() {
+ this[this.tableListValues.ordinalColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -8707,6 +9539,74 @@ namespace GIM_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class v_selListValRowChangeEvent : global::System.EventArgs {
+
+ private v_selListValRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selListValRowChangeEvent(v_selListValRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selListValRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ListValuesRowChangeEvent : global::System.EventArgs {
+
+ private ListValuesRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRowChangeEvent(ListValuesRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace GIM_data.DS_utilityTableAdapters {
@@ -11507,6 +12407,624 @@ namespace GIM_data.DS_utilityTableAdapters {
return dataTable;
}
}
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class v_selListValTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selListValTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "v_selListVal";
+ tableMapping.ColumnMappings.Add("value", "value");
+ tableMapping.ColumnMappings.Add("label", "label");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selListVal";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_listValues_getValidValues";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_listValues_getValidValuesTrad";
+ 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("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Lingua", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_utility.v_selListValDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_utility.v_selListValDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_utility.v_selListValDataTable dataTable = new DS_utility.v_selListValDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_utility.v_selListValDataTable getByTableField(string TableName, string FieldName) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
+ }
+ DS_utility.v_selListValDataTable dataTable = new DS_utility.v_selListValDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_utility.v_selListValDataTable getByTableFieldLang(string TableName, string FieldName, string Lingua) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
+ }
+ if ((Lingua == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Lingua));
+ }
+ DS_utility.v_selListValDataTable dataTable = new DS_utility.v_selListValDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class ListValuesTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "ListValues";
+ tableMapping.ColumnMappings.Add("TableName", "TableName");
+ tableMapping.ColumnMappings.Add("FieldName", "FieldName");
+ tableMapping.ColumnMappings.Add("value", "value");
+ tableMapping.ColumnMappings.Add("label", "label");
+ tableMapping.ColumnMappings.Add("ordinal", "ordinal");
+ 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].[ListValues] WHERE (([TableName] = @Original_TableName) AND ([F" +
+ "ieldName] = @Original_FieldName) AND ([value] = @Original_value))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TableName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FieldName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[ListValues] ([TableName], [FieldName], [value], [label], [ordi" +
+ "nal]) VALUES (@TableName, @FieldName, @value, @label, @ordinal)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TableName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FieldName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "label", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ordinal", 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].[ListValues] SET [TableName] = @TableName, [FieldName] = @FieldName," +
+ " [value] = @value, [label] = @label, [ordinal] = @ordinal WHERE (([TableName] = " +
+ "@Original_TableName) AND ([FieldName] = @Original_FieldName) AND ([value] = @Ori" +
+ "ginal_value))";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TableName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FieldName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "label", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ordinal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TableName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FieldName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT TableName, FieldName, value, label, ordinal FROM dbo.ListValues";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_listValues_getByTable";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_listValues_getDistTable";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_utility.ListValuesDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_utility.ListValuesDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_utility.ListValuesDataTable dataTable = new DS_utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_utility.ListValuesDataTable getByTable(string TableName) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ DS_utility.ListValuesDataTable dataTable = new DS_utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_utility.ListValuesDataTable getDistTableName() {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ DS_utility.ListValuesDataTable dataTable = new DS_utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_utility.ListValuesDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_utility dataSet) {
+ return this.Adapter.Update(dataSet, "ListValues");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_TableName, string Original_FieldName, string Original_value) {
+ if ((Original_TableName == null)) {
+ throw new global::System.ArgumentNullException("Original_TableName");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_TableName));
+ }
+ if ((Original_FieldName == null)) {
+ throw new global::System.ArgumentNullException("Original_FieldName");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_FieldName));
+ }
+ if ((Original_value == null)) {
+ throw new global::System.ArgumentNullException("Original_value");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_value));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string TableName, string FieldName, string value, string label, global::System.Nullable ordinal) {
+ if ((TableName == null)) {
+ throw new global::System.ArgumentNullException("TableName");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ throw new global::System.ArgumentNullException("FieldName");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(FieldName));
+ }
+ if ((value == null)) {
+ throw new global::System.ArgumentNullException("value");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(value));
+ }
+ if ((label == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(label));
+ }
+ if ((ordinal.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((int)(ordinal.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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string TableName, string FieldName, string value, string label, global::System.Nullable ordinal, string Original_TableName, string Original_FieldName, string Original_value) {
+ if ((TableName == null)) {
+ throw new global::System.ArgumentNullException("TableName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ throw new global::System.ArgumentNullException("FieldName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(FieldName));
+ }
+ if ((value == null)) {
+ throw new global::System.ArgumentNullException("value");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(value));
+ }
+ if ((label == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(label));
+ }
+ if ((ordinal.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(ordinal.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((Original_TableName == null)) {
+ throw new global::System.ArgumentNullException("Original_TableName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_TableName));
+ }
+ if ((Original_FieldName == null)) {
+ throw new global::System.ArgumentNullException("Original_FieldName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_FieldName));
+ }
+ if ((Original_value == null)) {
+ throw new global::System.ArgumentNullException("Original_value");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_value));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string label, global::System.Nullable ordinal, string Original_TableName, string Original_FieldName, string Original_value) {
+ return this.Update(Original_TableName, Original_FieldName, Original_value, label, ordinal, Original_TableName, Original_FieldName, Original_value);
+ }
+ }
}
#pragma warning restore 1591
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_data/DS_utility.xsd b/Projects/WebGIM/GIM_data/DS_utility.xsd
index c14a87f..7ba289c 100644
--- a/Projects/WebGIM/GIM_data/DS_utility.xsd
+++ b/Projects/WebGIM/GIM_data/DS_utility.xsd
@@ -481,6 +481,128 @@ ORDER BY label
+
+
+
+
+
+ SELECT value, label FROM dbo.v_selListVal
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_listValues_getValidValues
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_listValues_getValidValuesTrad
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[ListValues] WHERE (([TableName] = @Original_TableName) AND ([FieldName] = @Original_FieldName) AND ([value] = @Original_value))
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[ListValues] ([TableName], [FieldName], [value], [label], [ordinal]) VALUES (@TableName, @FieldName, @value, @label, @ordinal)
+
+
+
+
+
+
+
+
+
+
+
+ SELECT TableName, FieldName, value, label, ordinal FROM dbo.ListValues
+
+
+
+
+
+ UPDATE [dbo].[ListValues] SET [TableName] = @TableName, [FieldName] = @FieldName, [value] = @value, [label] = @label, [ordinal] = @ordinal WHERE (([TableName] = @Original_TableName) AND ([FieldName] = @Original_FieldName) AND ([value] = @Original_value))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_listValues_getByTable
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_listValues_getDistTable
+
+
+
+
+
+
+
+
@@ -914,7 +1036,7 @@ ORDER BY label
-
+
@@ -934,6 +1056,61 @@ ORDER BY label
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -989,5 +1166,11 @@ ORDER BY label
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_data/DS_utility.xss b/Projects/WebGIM/GIM_data/DS_utility.xss
index a4983a5..098cb06 100644
--- a/Projects/WebGIM/GIM_data/DS_utility.xss
+++ b/Projects/WebGIM/GIM_data/DS_utility.xss
@@ -4,25 +4,27 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_data/TA_app.cs b/Projects/WebGIM/GIM_data/TA_app.cs
index 57fca1b..f32d0ee 100644
--- a/Projects/WebGIM/GIM_data/TA_app.cs
+++ b/Projects/WebGIM/GIM_data/TA_app.cs
@@ -33,10 +33,49 @@ public class TA_app
public GIM_data.DS_utilityTableAdapters.v_selOperMtzTableAdapter taSelMatrOp;
public GIM_data.DS_applicazioneTableAdapters.ImpiegoRisorseTableAdapter taImpRis;
public GIM_data.DS_applicazioneTableAdapters.v_allDataTableAdapter taAllData;
+ public GIM_data.DS_applicazioneTableAdapters.ElencoIntervExtTableAdapter taElencoIntExt;
#endregion
+ ///
+ /// effettua setup dei connection strings da web.config della singola applicazione
+ ///
+ protected virtual void setupConnectionString()
+ {
+ // connections del db
+ string connString = memLayer.ML.confReadString("AppConnectionString");
+ taLogUpdate.Connection.ConnectionString = connString;
+ taImpianti.Connection.ConnectionString = connString;
+ taMacchine.Connection.ConnectionString = connString;
+ taSelImpianti.Connection.ConnectionString = connString;
+ taSelMacchine.Connection.ConnectionString = connString;
+ taMacc2Fam.Connection.ConnectionString = connString;
+ taInterventiMtz.Connection.ConnectionString = connString;
+ taStati.Connection.ConnectionString = connString;
+ taPrior.Connection.ConnectionString = connString;
+ taIntOpMtz.Connection.ConnectionString = connString;
+ taMtzPro.Connection.ConnectionString = connString;
+ taElencoImpMacch.Connection.ConnectionString = connString;
+ taElencoIntFilt.Connection.ConnectionString = connString;
+ taElenco_MTBF_MTTR.Connection.ConnectionString = connString;
+ taCalFF.Connection.ConnectionString = connString;
+ taOreApert.Connection.ConnectionString = connString;
+ taFiltImp.Connection.ConnectionString = connString;
+ taFiltMac.Connection.ConnectionString = connString;
+ taFiltSta.Connection.ConnectionString = connString;
+ taAnagCau.Connection.ConnectionString = connString;
+ taSelMatrOp.Connection.ConnectionString = connString;
+ taImpRis.Connection.ConnectionString = connString;
+ taAllData.Connection.ConnectionString = connString;
+ taElencoIntExt.Connection.ConnectionString = connString;
+ }
protected TA_app()
+ {
+ initTA();
+ setupConnectionString();
+ }
+
+ private void initTA()
{
// avvio table adapters
taLogUpdate = new GIM_data.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter();
@@ -62,7 +101,9 @@ public class TA_app
taSelMatrOp = new GIM_data.DS_utilityTableAdapters.v_selOperMtzTableAdapter();
taImpRis = new GIM_data.DS_applicazioneTableAdapters.ImpiegoRisorseTableAdapter();
taAllData = new GIM_data.DS_applicazioneTableAdapters.v_allDataTableAdapter();
+ taElencoIntExt = new GIM_data.DS_applicazioneTableAdapters.ElencoIntervExtTableAdapter();
}
+
///
/// Singleton
///
diff --git a/Projects/WebGIM/GIM_data/bin/GIM_data.dll b/Projects/WebGIM/GIM_data/bin/GIM_data.dll
index e365a49..539c257 100644
Binary files a/Projects/WebGIM/GIM_data/bin/GIM_data.dll and b/Projects/WebGIM/GIM_data/bin/GIM_data.dll differ
diff --git a/Projects/WebGIM/GIM_data/bin/SteamWare.XML b/Projects/WebGIM/GIM_data/bin/SteamWare.XML
index 835dda1..853b173 100644
--- a/Projects/WebGIM/GIM_data/bin/SteamWare.XML
+++ b/Projects/WebGIM/GIM_data/bin/SteamWare.XML
@@ -55,6 +55,11 @@
tipo id controllo con classi di base comune da cui derivare gli *.asmx
+
+
+ imposto il tipo di anagrafica del controlloS
+
+
nome della pagina correntemente caricata
@@ -424,6 +429,32 @@
+
+
+ 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
+
+
+
esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi
@@ -499,6 +530,11 @@
+
+
+ tipo di vista del modulo
+
+
effettua la registrazione degli eventi
@@ -549,42 +585,6 @@
The tipo.
-
-
- 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
-
-
classe gestione auth
@@ -602,7 +602,7 @@
- effettua setup dei connection strings da web.config delal singola applicazione
+ effettua setup dei connection strings da web.config della singola applicazione
@@ -735,21 +735,6 @@
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
@@ -760,6 +745,16 @@
stringa diff dei valori nuovi modificati
+
+
+ valorizza i diff dei valori old e new
+
+
+
+
+ calcola solo il vettore dei valori old (x delete)
+
+
dictionary dei parametri old
@@ -770,6 +765,11 @@
dictionary dei parametri new
+
+
+ oggetto statico per il confronto valori
+
+
classe di gestione lettura
@@ -1258,16 +1258,16 @@
-
-
- classe singleton x la gestione dei tableadapters
-
-
elenco lingue ammesse da vocabolario...
+
+
+ classe singleton x la gestione dei tableadapters
+
+
classe di gestione dei db x creazione/update alla versione richiesta
@@ -1389,7 +1389,15 @@
-
+
+
+ invia email ad utente con url x reset hash password
+
+ destinatario
+ hashPasswd ATTUALE (in chiaro)
+
+
+
invia email ad utente con url x enroll
@@ -1407,6 +1415,11 @@
+
+
+ restituisce nome cookie di auth (o default...)
+
+
genera la passphrase utente a partire dai parametri richiesti
@@ -1428,59 +1441,6 @@
cancella da session l'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')
-
-
-
-
-
-
- Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati
-
-
-
-
-
-
- carica la riga dati utente
-
-
-
-
- Carica la tabella diritti dell'utente da db e salva in session
-
-
-
-
- Effettua setup dei permessi una volta salvati i diritti
-
-
-
-
- verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta
-
-
-
-
-
-
- restituisce il nome della pagina corrente
-
-
-
-
- restituisce nome cookie di auth (o default...)
-
-
restituisce la tabella diritti da session
@@ -1531,6 +1491,59 @@
è un boolean che indica se in session ci siano user/email e DeviceSecret (cookie) e quindi utente autenticato in precedenza...
+
+
+ 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')
+
+
+
+
+
+
+ Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati
+
+
+
+
+
+
+ carica la riga dati utente
+
+
+
+
+ Carica la tabella diritti dell'utente da db e salva in session
+
+
+
+
+ Effettua setup dei permessi una volta salvati i diritti
+
+
+
+
+ verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta
+
+
+
+
+
+
+ imposta la lingua utente dal valore della riga DB
+
+
+
+
+ oggetto lingua utente con metodi get/set
+
+
pagina correntemente visualizzata (URL in sessione)
@@ -1541,6 +1554,11 @@
pagina precedentemente visualizzata (URL in sessione)
+
+
+ restituisce il nome della pagina corrente
+
+
classe gestione parametri deviceper stampa
@@ -1606,36 +1624,17 @@
helper x raccolta dati di diagnostica
+
+
+ uptime macchina (formattato)
+
+
calcolo uptime in formato timespan
-
-
- elenco devices USB
-
-
-
-
-
- registra esito ping ad un dato IP/hostname
-
- IPaddress / host name.
-
-
-
- restituisce contenuto di una pagina web (per testing)
-
-
-
-
-
-
- uptime macchina (formattato)
-
-
restituisce elenco dischi con utilizzo (formattato)
@@ -1653,11 +1652,30 @@
+
+
+ elenco devices USB
+
+
+
elenco porte seriali
+
+
+ registra esito ping ad un dato IP/hostname
+
+ IPaddress / host name.
+
+
+
+ restituisce contenuto di una pagina web (per testing)
+
+
+
+
classe definizione info oggetti USB
@@ -2332,12 +2350,26 @@
The _nome file.
+
+
+ cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile
+
+ The _path.
+ The _nome file.
+
+
cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath
+
+
+ imposta la directory richiesta...
+
+
+
Legge i dati da uno stream fino a quando arriva alla fine.
@@ -2405,6 +2437,14 @@
+
+
+ verifica se il file indicato esista in _path
+
+
+
+
+
elimina il file indicato dalla directory di lavoro
@@ -2921,6 +2961,11 @@
avvio del logger nella dir desiderata
+
+
+ livello di log applicazione (da web.config, chiave '_logLevel')
+
+
avvio del logger nella dir desiderata
@@ -2984,11 +3029,6 @@
-
-
- livello di log applicazione (da web.config, chiave '_logLevel')
-
-
tipo di log ammesso
@@ -3101,6 +3141,34 @@
+
+
+ recupera valore querystring STRING
+
+
+ valore string
+
+
+
+ recupera valore querystring INT
+
+
+ valore INT
+
+
+
+ recupera valore querystring BOOL
+
+
+ valore string
+
+
+
+ recupera valore querystring DATE
+
+
+ valore DATE
+
carica dalla sessione un dato di tipo object generico
@@ -3165,6 +3233,13 @@
+
+
+ restituisco se ci sia un dato cookie
+
+
+
+
restituisco un valore da cookie
@@ -3245,12 +3320,22 @@
+
+
+ elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+
+
aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
+
+
+ elenco dictionary dei valori in session da NON aggiornare con update...
+
+
aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
@@ -3263,15 +3348,48 @@
forza lo svuotamento delel tabelle indicate come in cache...
-
+
- elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+ Salted password hashing with PBKDF2-SHA1.
+ Author: havoc AT defuse.ca
+ www: http://crackstation.net/hashing-security.htm
+ Compatibility: .NET 3.0 and later.
-
+
- elenco dictionary dei valori in session da NON aggiornare con update...
+ Creates a salted PBKDF2 hash of the password.
+ The password to hash.
+ The hash of the password.
+
+
+
+ Validates a password given a hash of the correct one.
+
+ The password to check.
+ A hash of the correct password.
+ True if the password is correct. False otherwise.
+
+
+
+ Compares two byte arrays in length-constant time. This comparison
+ method is used so that password hashes cannot be extracted from
+ on-line systems using a timing attack and then attacked off-line.
+
+ The first byte array.
+ The second byte array.
+ True if both byte arrays are equal. False otherwise.
+
+
+
+ Computes the PBKDF2-SHA1 hash of a password.
+
+ The password to hash.
+ The salt.
+ The PBKDF2 iteration count.
+ The length of the hash to generate, in bytes.
+ A hash of the password.
@@ -3327,6 +3445,11 @@
web control che disegna un grafico a torta
+
+
+ tipo di grafico (2D/3D)
+
+
altezza di default
@@ -3352,6 +3475,41 @@
soglia minima 5% per mostrare il dato
+
+
+ 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
+
+
renderizza il contenuto
@@ -3397,46 +3555,6 @@
-
-
- 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
-
-
Classe gestione metodi di accesso ai dati embeddati
@@ -3615,6 +3733,13 @@
titolo pagina
+
+
+ evento standard agganciabile da grView x aggiunta doppio click e singolo click (x edit e select)
+
+
+
+
classe gestione utente: auth e permission/ruoli - versione GENERICA
@@ -3675,11 +3800,71 @@
+
+
+ restituisce la tabella diritti da session
+
+
+
+
+ tabella dei permessi utente
+
+
+
+
+ tabella dei permessi utente di tipo "WRITE" enabled
+
+
inizializza la gestione utente...
+
+
+ retituisce username AD
+
+
+
+
+ oggetto utente con metodi get/set
+
+
+
+
+ oggetto password con metodi get/set
+
+
+
+
+ oggetto dominio con metodi get/set
+
+
+
+
+ oggetto modulo (applicazione) con metodi get/set
+
+
+
+
+ oggetto lingua utente con metodi get/set
+
+
+
+
+ oggetto runMode corrente
+
+
+
+
+ restituisce true se utente forzato da forceUser.aspx
+
+
+
+
+ restituisce i valori della riga utente da db
+
+
restituisce riga utente data la matricola...
@@ -3687,6 +3872,31 @@
matricola
+
+
+ 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
+
+
traduce il lemma nella lingua dell'user corrente
@@ -3716,6 +3926,11 @@
+
+
+ fornisce un file XML della mappa del sito abilitato per l'utente...
+
+
LogOff utente con reset dati
@@ -3775,6 +3990,11 @@
+
+
+ è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza...
+
+
conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1
@@ -3914,101 +4134,6 @@
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 password con metodi get/set
-
-
-
-
- oggetto dominio con metodi get/set
-
-
-
-
- oggetto modulo (applicazione) con metodi get/set
-
-
-
-
- oggetto lingua utente con metodi get/set
-
-
-
-
- oggetto runMode corrente
-
-
-
-
- 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...
-
-
pagina correntemente visualizzata (URL in sessione)
@@ -4523,5 +4648,24 @@
+
+
+ classe gestione valori percentuali per semplificare edit utente (moltiplicati x 100 appunto)
+
+
+
+
+ converte da percentuale a numero (es 5,3% --> 0.053)
+
+
+
+
+
+
+ converte da numero a percentuale (es 0.053 --> 5,3%)
+
+
+
+
diff --git a/Projects/WebGIM/GIM_data/bin/SteamWare.dll b/Projects/WebGIM/GIM_data/bin/SteamWare.dll
index b40df9d..a32aac8 100644
Binary files a/Projects/WebGIM/GIM_data/bin/SteamWare.dll and b/Projects/WebGIM/GIM_data/bin/SteamWare.dll differ
diff --git a/Projects/WebGIM/GIM_data/mtzProgr.cs b/Projects/WebGIM/GIM_data/mtzProgr.cs
index 4858704..74cf575 100644
--- a/Projects/WebGIM/GIM_data/mtzProgr.cs
+++ b/Projects/WebGIM/GIM_data/mtzProgr.cs
@@ -19,11 +19,27 @@ public class mtzProgr
/// avvio componente
///
protected mtzProgr()
+ {
+ initTA();
+ setupConnectionString();
+ }
+
+ private void initTA()
{
taMtzPend = new GIM_data.DS_applicazioneTableAdapters.MtzProgPendingTableAdapter();
taMtzProg = new GIM_data.DS_applicazioneTableAdapters.MtzProgrammataTableAdapter();
}
///
+ /// effettua setup dei connection strings da web.config della singola applicazione
+ ///
+ protected virtual void setupConnectionString()
+ {
+ // connections del db
+ string connString = memLayer.ML.confReadString("AppConnectionString");
+ taMtzPend.Connection.ConnectionString = connString;
+ taMtzProg.Connection.ConnectionString = connString;
+ }
+ ///
/// singleton accesso ai metodi di manutenzione programmata
///
public static mtzProgr obj = new mtzProgr();
diff --git a/Projects/WebGIM/GIM_data/obj/Alumat/DesignTimeResolveAssemblyReferencesInput.cache b/Projects/WebGIM/GIM_data/obj/Alumat/DesignTimeResolveAssemblyReferencesInput.cache
index 23d6124..f945ffc 100644
Binary files a/Projects/WebGIM/GIM_data/obj/Alumat/DesignTimeResolveAssemblyReferencesInput.cache and b/Projects/WebGIM/GIM_data/obj/Alumat/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csproj.FileListAbsolute.txt b/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csproj.FileListAbsolute.txt
index b4609a3..d65b143 100644
--- a/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csproj.FileListAbsolute.txt
+++ b/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csproj.FileListAbsolute.txt
@@ -7,3 +7,13 @@ C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GI
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_data\obj\Alumat\GIM_data.csprojResolveAssemblyReference.cache
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_data\obj\Alumat\GIM_data.dll
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_data\obj\Alumat\GIM_data.pdb
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\bin\NLog.config
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\bin\GIM_data.dll.config
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\bin\GIM_data.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\bin\GIM_data.pdb
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\bin\SteamWare.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\bin\Flesk.ViewState.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\bin\ICSharpCode.SharpZipLib.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\obj\Alumat\GIM_data.csprojResolveAssemblyReference.cache
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\obj\Alumat\GIM_data.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\Projects\WebGIM\GIM_data\obj\Alumat\GIM_data.pdb
diff --git a/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csprojResolveAssemblyReference.cache b/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csprojResolveAssemblyReference.cache
index f8aecc4..c448cfc 100644
Binary files a/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csprojResolveAssemblyReference.cache and b/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.csprojResolveAssemblyReference.cache differ
diff --git a/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.dll b/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.dll
index 63aae45..539c257 100644
Binary files a/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.dll and b/Projects/WebGIM/GIM_data/obj/Alumat/GIM_data.dll differ
diff --git a/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_applicazione.Designer.cs.dll b/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_applicazione.Designer.cs.dll
index 971a023..958e73d 100644
Binary files a/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_applicazione.Designer.cs.dll and b/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_applicazione.Designer.cs.dll differ
diff --git a/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_utility.Designer.cs.dll b/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_utility.Designer.cs.dll
index a803e71..89c4129 100644
Binary files a/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_utility.Designer.cs.dll and b/Projects/WebGIM/GIM_data/obj/Alumat/TempPE/DS_utility.Designer.cs.dll differ
diff --git a/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_applicazione.Designer.cs.dll b/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_applicazione.Designer.cs.dll
index 181518b..dd4e2a9 100644
Binary files a/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_applicazione.Designer.cs.dll and b/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_applicazione.Designer.cs.dll differ
diff --git a/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_utility.Designer.cs.dll b/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_utility.Designer.cs.dll
index 5f7beac..b41cc0f 100644
Binary files a/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_utility.Designer.cs.dll and b/Projects/WebGIM/GIM_data/obj/IIS02/TempPE/DS_utility.Designer.cs.dll differ
diff --git a/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx b/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx
new file mode 100644
index 0000000..c445e38
--- /dev/null
+++ b/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx
@@ -0,0 +1,58 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExcelExportReportIntAll.aspx.cs" Inherits="GIM_site.ExcelExportReportIntAll" EnableEventValidation="false" %>
+
+
+
+
+
+ Excel Export Report Interventi
+
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx.cs b/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx.cs
new file mode 100644
index 0000000..5cfbe90
--- /dev/null
+++ b/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx.cs
@@ -0,0 +1,111 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+
+namespace GIM_site
+{
+ public partial class ExcelExportReportIntAll : System.Web.UI.Page
+ {
+ ///
+ /// evento dati associati a controllo
+ ///
+ ///
+ ///
+ protected void grView_DataBound(object sender, EventArgs e)
+ {
+ if (grView.Rows.Count > 0)
+ {
+ // aggiorno gli headers
+ foreach (TableCell cella in grView.HeaderRow.Cells)
+ {
+ try
+ {
+ cella.Text = traduci(cella.Text);
+ }
+ catch
+ { }
+ }
+ }
+ }
+ ///
+ /// wrapper traduzione
+ ///
+ ///
+ ///
+ public string traduci(object lemma)
+ {
+ return user_std.UtSn.Traduci(lemma.ToString());
+ }
+ ///
+ /// fix rendering tabelle standard in webform
+ ///
+ ///
+ public override void VerifyRenderingInServerForm(Control control)
+ {
+ // Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time.
+ }
+ ///
+ /// Si occupa di rendere l'out HTML come excel file (mimetype)
+ ///
+ private void doExport()
+ {
+ Response.Clear();
+ Response.AddHeader("content-disposition", "attachment; filename=WebGIM-Report_Interventi_Completo.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
+
+ ///
+ /// caricamento pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ hfUsername.Value = user_std.UtSn.userNameAD;
+ aggiornamento();
+ doExport();
+ }
+ }
+
+ #endregion
+
+
+ public void aggiornamento()
+ {
+ grView.AllowPaging = false;
+ ods.DataBind();
+ grView.DataBind();
+ }
+ public string isMtzProg(object _isMtzProg)
+ {
+ bool isMP = false;
+ string answ = "";
+ try
+ {
+ isMP = Convert.ToBoolean(_isMtzProg);
+ }
+ catch
+ { }
+ if (isMP) answ = "X";
+ return answ;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx.designer.cs b/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx.designer.cs
new file mode 100644
index 0000000..1607f49
--- /dev/null
+++ b/Projects/WebGIM/GIM_site/ExcelExportReportIntAll.aspx.designer.cs
@@ -0,0 +1,60 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GIM_site {
+
+
+ public partial class ExcelExportReportIntAll {
+
+ ///
+ /// 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;
+
+ ///
+ /// 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;
+
+ ///
+ /// hfUsername control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HiddenField hfUsername;
+ }
+}
diff --git a/Projects/WebGIM/GIM_site/GIM_site.csproj b/Projects/WebGIM/GIM_site/GIM_site.csproj
index e8b1f9f..ee2fec0 100644
--- a/Projects/WebGIM/GIM_site/GIM_site.csproj
+++ b/Projects/WebGIM/GIM_site/GIM_site.csproj
@@ -188,6 +188,7 @@
+
@@ -683,6 +684,13 @@
ExcelExportMtzPrev.aspx
+
+ ExcelExportReportIntAll.aspx
+ ASPXCodeBehind
+
+
+ ExcelExportReportIntAll.aspx
+ Ajax.masterASPXCodeBehind
diff --git a/Projects/WebGIM/GIM_site/GIM_site.csproj.user b/Projects/WebGIM/GIM_site/GIM_site.csproj.user
index d5b40e9..27e2934 100644
--- a/Projects/WebGIM/GIM_site/GIM_site.csproj.user
+++ b/Projects/WebGIM/GIM_site/GIM_site.csproj.user
@@ -2,7 +2,7 @@
ShowAllFiles
- Ufficio-ITA %28IIS02%29
+ Alumat_Winlab
diff --git a/Projects/WebGIM/GIM_site/Properties/PublishProfiles/Alumat_Winlab.pubxml.user b/Projects/WebGIM/GIM_site/Properties/PublishProfiles/Alumat_Winlab.pubxml.user
index 21ffcc6..0414f84 100644
--- a/Projects/WebGIM/GIM_site/Properties/PublishProfiles/Alumat_Winlab.pubxml.user
+++ b/Projects/WebGIM/GIM_site/Properties/PublishProfiles/Alumat_Winlab.pubxml.user
@@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
- AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAyLiJWG7ixkOCRFuQJNXz7gAAAAACAAAAAAADZgAAwAAAABAAAABOfBZr+jAC/wssCo0g4zGQAAAAAASAAACgAAAAEAAAAErOU0LCS628t2B7T7PGZFcYAAAAOY+8ZzFUmhHfREy44BC71Y8Y5nk/13tJFAAAABkNQB4CgYqXuruYleCOBwXKGotf
+ AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAARBxIIZk0hEq8Sf3uyTVbWAAAAAACAAAAAAADZgAAwAAAABAAAABb0sYaYCLfNq3TH2QfOWppAAAAAASAAACgAAAAEAAAAN+RwvKN9XfIwUdwAnj/fMQYAAAAHsDFJ9vOh1JP6y4jBySBu23MSemz+X3GFAAAAGwnWlOkVgGYWHUkNhKVE9rKCItO
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_site/Properties/PublishProfiles/WinLab.pubxml.user b/Projects/WebGIM/GIM_site/Properties/PublishProfiles/WinLab.pubxml.user
index 530b00a..1fb21d6 100644
--- a/Projects/WebGIM/GIM_site/Properties/PublishProfiles/WinLab.pubxml.user
+++ b/Projects/WebGIM/GIM_site/Properties/PublishProfiles/WinLab.pubxml.user
@@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
2013-02-18T17:23:39.8554171+01:00
- AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAADfdPkbM5mUeaV6YvQx8NEwAAAAACAAAAAAADZgAAwAAAABAAAAA/tNUTMx2aPO/TMNb5PH5qAAAAAASAAACgAAAAEAAAAAJb5Iy3trKT4zmRJUqir30YAAAA9O77zB5hfNy9oJKYz0A5y3CHkv8J2KIYFAAAANq6ss3kld8PPTCBRTqOHAk4rEUl
+ AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAARBxIIZk0hEq8Sf3uyTVbWAAAAAACAAAAAAADZgAAwAAAABAAAACLBowd2wC09L9RYVTfDIo7AAAAAASAAACgAAAAEAAAADNkWwKfNYCXXqN5eqZuYbcYAAAA5wKUHwO1vYp08LCZuqxaxkyt+nbG/zFMFAAAAP7O6KvSPqIPo+LUM8OQCnNgyphJ
\ No newline at end of file
diff --git a/Projects/WebGIM/GIM_site/Reports/EN/MacchineReparti.rdlc b/Projects/WebGIM/GIM_site/Reports/EN/MacchineReparti.rdlc
index c2b7f91..d9ff266 100644
--- a/Projects/WebGIM/GIM_site/Reports/EN/MacchineReparti.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/EN/MacchineReparti.rdlc
@@ -12,7 +12,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/EN/ReportInterventi.rdlc b/Projects/WebGIM/GIM_site/Reports/EN/ReportInterventi.rdlc
index 4e73438..352b65f 100644
--- a/Projects/WebGIM/GIM_site/Reports/EN/ReportInterventi.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/EN/ReportInterventi.rdlc
@@ -12,7 +12,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/EN/Report_MTBF_MTTR.rdlc b/Projects/WebGIM/GIM_site/Reports/EN/Report_MTBF_MTTR.rdlc
index 53651d7..d574675 100644
--- a/Projects/WebGIM/GIM_site/Reports/EN/Report_MTBF_MTTR.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/EN/Report_MTBF_MTTR.rdlc
@@ -17,7 +17,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/EN/RichiestaIntervento.rdlc b/Projects/WebGIM/GIM_site/Reports/EN/RichiestaIntervento.rdlc
index a2531e3..8c089fa 100644
--- a/Projects/WebGIM/GIM_site/Reports/EN/RichiestaIntervento.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/EN/RichiestaIntervento.rdlc
@@ -12,7 +12,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/IT/MacchineReparti.rdlc b/Projects/WebGIM/GIM_site/Reports/IT/MacchineReparti.rdlc
index 5f43847..d8fad51 100644
--- a/Projects/WebGIM/GIM_site/Reports/IT/MacchineReparti.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/IT/MacchineReparti.rdlc
@@ -12,7 +12,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/IT/ReportInterventi.rdlc b/Projects/WebGIM/GIM_site/Reports/IT/ReportInterventi.rdlc
index 497efc0..05937cc 100644
--- a/Projects/WebGIM/GIM_site/Reports/IT/ReportInterventi.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/IT/ReportInterventi.rdlc
@@ -12,7 +12,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/IT/Report_MTBF_MTTR.rdlc b/Projects/WebGIM/GIM_site/Reports/IT/Report_MTBF_MTTR.rdlc
index dc74144..080eafd 100644
--- a/Projects/WebGIM/GIM_site/Reports/IT/Report_MTBF_MTTR.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/IT/Report_MTBF_MTTR.rdlc
@@ -17,7 +17,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/IT/RichiestaIntervento.rdlc b/Projects/WebGIM/GIM_site/Reports/IT/RichiestaIntervento.rdlc
index 875c90e..fd3c05f 100644
--- a/Projects/WebGIM/GIM_site/Reports/IT/RichiestaIntervento.rdlc
+++ b/Projects/WebGIM/GIM_site/Reports/IT/RichiestaIntervento.rdlc
@@ -12,7 +12,7 @@
String
- Somaschini SpA
+ Alumat SRLtrue
diff --git a/Projects/WebGIM/GIM_site/Reports/logo.png b/Projects/WebGIM/GIM_site/Reports/logo.png
index 7daf8a5..131b722 100644
Binary files a/Projects/WebGIM/GIM_site/Reports/logo.png and b/Projects/WebGIM/GIM_site/Reports/logo.png differ
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx
index 0a2548e..89f1748 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx
@@ -8,6 +8,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.cs
index af20371..db8dcde 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.cs
@@ -370,15 +370,30 @@ public partial class mod_elencoRichieste : ApplicationUserControl
///
private void checkFixOds()
{
+ // controllo SE il ddl indica TUTTI gli interventi, solo Mtz Prog o Mtz Prog Esclusa
+ switch (ddlFiltAmbito.SelectedValue)
+ {
+ case "MtzPre":
+ ods.FilterExpression = "(idxAmbito = 7)";
+ break;
+ case "NoMtzPre":
+ ods.FilterExpression = "(idxAmbito <> 7)";
+ break;
+ case "All":
+ default:
+ ods.FilterExpression = "";
+ break;
+ }
if (!chkMostraIntChiusi.Checked)
{
- //ods.FilterExpression += " AND (idxStato < 3)";
- ods.FilterExpression = "(idxStato < 3)";
- }
- else
- {
- ods.FilterExpression = "";
+ if (ods.FilterExpression != "")
+ {
+
+ ods.FilterExpression += " AND ";
+ }
+ ods.FilterExpression += "(idxStato < 3)";
}
+
if (memLayer.ML.isInSessionObject("idxTipo_filt"))
{
ods.FilterExpression += " AND (idxTipo = {1})";
@@ -421,4 +436,9 @@ public partial class mod_elencoRichieste : ApplicationUserControl
}
#endregion
+
+ protected void ddlFiltAmbito_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ checkFixOds();
+ }
}
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.designer.cs
index 9210c50..a7535b1 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.designer.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoRichieste.ascx.designer.cs
@@ -20,6 +20,24 @@ public partial class mod_elencoRichieste {
///
protected global::System.Web.UI.WebControls.CheckBox chkMostraIntChiusi;
+ ///
+ /// ddlFiltAmbito control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlFiltAmbito;
+
+ ///
+ /// odsAmbito control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsAmbito;
+
///
/// mod_periodoAnalisi1 control.
///
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx
index 370cdbe..c6946af 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx
@@ -80,6 +80,9 @@
+
+
+
@@ -88,7 +91,7 @@
-
+
@@ -113,7 +116,7 @@
-
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.cs
index aeedff2..656842e 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.cs
@@ -51,12 +51,14 @@ public partial class mod_reportInterventi : System.Web.UI.UserControl
lblExcelExportAllData.Text = traduci("lblExcelExportAllData");
lblExcelPowerPivot.Text = traduci("lblExcelPowerPivot");
lblExcelInstruction.Text = traduci("lblExcelInstruction");
+ hlExcelExportIntExt.Text = traduci("lblExcelExportIntExt");
chkShowOnlyMacchFerma.Text = traduci("chkShowOnlyMacchFerma");
chkShowMtzPrev.Text = traduci("chkShowMtzPrev");
hlElencoInterventi_Pdf.ToolTip = traduci("hlElencoInterventi_Pdf");
hlMTBF_MTTR_Pdf.ToolTip = traduci("hlMTBF_MTTR_Pdf");
hlExcelExportAllData.ToolTip = traduci("hlExcelExportAllData");
hlExcelPowerPivot.ToolTip = traduci("hlExcelPowerPivot");
+ hlExcelExportIntExt.ToolTip = traduci("hlExcelExportIntExt");
}
private void setDefaultValues()
{
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.designer.cs
index 46eb320..4df427e 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.designer.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx.designer.cs
@@ -155,6 +155,15 @@ public partial class mod_reportInterventi {
///
protected global::System.Web.UI.WebControls.HyperLink hlElencoInterventi_Pdf;
+ ///
+ /// hlExcelExportIntExt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HyperLink hlExcelExportIntExt;
+
///
/// lblReportMTBFMTTR control.
///
diff --git a/Projects/WebGIM/GIM_site/bin/GIM_data.dll b/Projects/WebGIM/GIM_site/bin/GIM_data.dll
index e365a49..539c257 100644
Binary files a/Projects/WebGIM/GIM_site/bin/GIM_data.dll 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
index 71ba1d5..16123e2 100644
Binary files a/Projects/WebGIM/GIM_site/bin/GIM_site.dll and b/Projects/WebGIM/GIM_site/bin/GIM_site.dll differ
diff --git a/Projects/WebGIM/GIM_site/bin/NLog.dll b/Projects/WebGIM/GIM_site/bin/NLog.dll
index 11a5469..6730265 100644
Binary files a/Projects/WebGIM/GIM_site/bin/NLog.dll and b/Projects/WebGIM/GIM_site/bin/NLog.dll differ
diff --git a/Projects/WebGIM/GIM_site/bin/SteamWare.dll b/Projects/WebGIM/GIM_site/bin/SteamWare.dll
index b40df9d..a32aac8 100644
Binary files a/Projects/WebGIM/GIM_site/bin/SteamWare.dll and b/Projects/WebGIM/GIM_site/bin/SteamWare.dll differ
diff --git a/Projects/WebGIM/GIM_site/bin/SteamWare.xml b/Projects/WebGIM/GIM_site/bin/SteamWare.xml
index dd8e6e2..0939d22 100644
--- a/Projects/WebGIM/GIM_site/bin/SteamWare.xml
+++ b/Projects/WebGIM/GIM_site/bin/SteamWare.xml
@@ -55,6 +55,11 @@
tipo id controllo con classi di base comune da cui derivare gli *.asmx
+
+
+ imposto il tipo di anagrafica del controlloS
+
+
nome della pagina correntemente caricata
@@ -424,6 +429,32 @@
+
+
+ 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
+
+
+
esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi
@@ -499,6 +530,11 @@
+
+
+ tipo di vista del modulo
+
+
effettua la registrazione degli eventi
@@ -549,42 +585,6 @@
The tipo.
-
-
- 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
-
-
classe gestione auth
@@ -602,7 +602,7 @@
- effettua setup dei connection strings da web.config delal singola applicazione
+ effettua setup dei connection strings da web.config della singola applicazione
@@ -735,21 +735,6 @@
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
@@ -760,6 +745,16 @@
stringa diff dei valori nuovi modificati
+
+
+ valorizza i diff dei valori old e new
+
+
+
+
+ calcola solo il vettore dei valori old (x delete)
+
+
dictionary dei parametri old
@@ -770,6 +765,11 @@
dictionary dei parametri new
+
+
+ oggetto statico per il confronto valori
+
+
classe di gestione lettura
@@ -1258,16 +1258,16 @@
-
-
- classe singleton x la gestione dei tableadapters
-
-
elenco lingue ammesse da vocabolario...
+
+
+ classe singleton x la gestione dei tableadapters
+
+
classe di gestione dei db x creazione/update alla versione richiesta
@@ -1389,7 +1389,15 @@
-
+
+
+ invia email ad utente con url x reset hash password
+
+ destinatario
+ hashPasswd ATTUALE (in chiaro)
+
+
+
invia email ad utente con url x enroll
@@ -1407,6 +1415,11 @@
+
+
+ restituisce nome cookie di auth (o default...)
+
+
genera la passphrase utente a partire dai parametri richiesti
@@ -1428,59 +1441,6 @@
cancella da session l'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')
-
-
-
-
-
-
- Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati
-
-
-
-
-
-
- carica la riga dati utente
-
-
-
-
- Carica la tabella diritti dell'utente da db e salva in session
-
-
-
-
- Effettua setup dei permessi una volta salvati i diritti
-
-
-
-
- verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta
-
-
-
-
-
-
- restituisce il nome della pagina corrente
-
-
-
-
- restituisce nome cookie di auth (o default...)
-
-
restituisce la tabella diritti da session
@@ -1531,6 +1491,59 @@
è un boolean che indica se in session ci siano user/email e DeviceSecret (cookie) e quindi utente autenticato in precedenza...
+
+
+ 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')
+
+
+
+
+
+
+ Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati
+
+
+
+
+
+
+ carica la riga dati utente
+
+
+
+
+ Carica la tabella diritti dell'utente da db e salva in session
+
+
+
+
+ Effettua setup dei permessi una volta salvati i diritti
+
+
+
+
+ verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta
+
+
+
+
+
+
+ imposta la lingua utente dal valore della riga DB
+
+
+
+
+ oggetto lingua utente con metodi get/set
+
+
pagina correntemente visualizzata (URL in sessione)
@@ -1541,6 +1554,11 @@
pagina precedentemente visualizzata (URL in sessione)
+
+
+ restituisce il nome della pagina corrente
+
+
classe gestione parametri deviceper stampa
@@ -1606,36 +1624,17 @@
helper x raccolta dati di diagnostica
+
+
+ uptime macchina (formattato)
+
+
calcolo uptime in formato timespan
-
-
- elenco devices USB
-
-
-
-
-
- registra esito ping ad un dato IP/hostname
-
- IPaddress / host name.
-
-
-
- restituisce contenuto di una pagina web (per testing)
-
-
-
-
-
-
- uptime macchina (formattato)
-
-
restituisce elenco dischi con utilizzo (formattato)
@@ -1653,11 +1652,30 @@
+
+
+ elenco devices USB
+
+
+
elenco porte seriali
+
+
+ registra esito ping ad un dato IP/hostname
+
+ IPaddress / host name.
+
+
+
+ restituisce contenuto di una pagina web (per testing)
+
+
+
+
classe definizione info oggetti USB
@@ -2332,12 +2350,26 @@
The _nome file.
+
+
+ cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile
+
+ The _path.
+ The _nome file.
+
+
cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath
+
+
+ imposta la directory richiesta...
+
+
+
Legge i dati da uno stream fino a quando arriva alla fine.
@@ -2405,6 +2437,14 @@
+
+
+ verifica se il file indicato esista in _path
+
+
+
+
+
elimina il file indicato dalla directory di lavoro
@@ -2921,6 +2961,11 @@
avvio del logger nella dir desiderata
+
+
+ livello di log applicazione (da web.config, chiave '_logLevel')
+
+
avvio del logger nella dir desiderata
@@ -2984,11 +3029,6 @@
-
-
- livello di log applicazione (da web.config, chiave '_logLevel')
-
-
tipo di log ammesso
@@ -3101,6 +3141,34 @@
+
+
+ recupera valore querystring STRING
+
+
+ valore string
+
+
+
+ recupera valore querystring INT
+
+
+ valore INT
+
+
+
+ recupera valore querystring BOOL
+
+
+ valore string
+
+
+
+ recupera valore querystring DATE
+
+
+ valore DATE
+
carica dalla sessione un dato di tipo object generico
@@ -3165,6 +3233,13 @@
+
+
+ restituisco se ci sia un dato cookie
+
+
+
+
restituisco un valore da cookie
@@ -3245,12 +3320,22 @@
+
+
+ elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+
+
aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
+
+
+ elenco dictionary dei valori in session da NON aggiornare con update...
+
+
aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
@@ -3263,15 +3348,48 @@
forza lo svuotamento delel tabelle indicate come in cache...
-
+
- elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+ Salted password hashing with PBKDF2-SHA1.
+ Author: havoc AT defuse.ca
+ www: http://crackstation.net/hashing-security.htm
+ Compatibility: .NET 3.0 and later.
-
+
- elenco dictionary dei valori in session da NON aggiornare con update...
+ Creates a salted PBKDF2 hash of the password.
+ The password to hash.
+ The hash of the password.
+
+
+
+ Validates a password given a hash of the correct one.
+
+ The password to check.
+ A hash of the correct password.
+ True if the password is correct. False otherwise.
+
+
+
+ Compares two byte arrays in length-constant time. This comparison
+ method is used so that password hashes cannot be extracted from
+ on-line systems using a timing attack and then attacked off-line.
+
+ The first byte array.
+ The second byte array.
+ True if both byte arrays are equal. False otherwise.
+
+
+
+ Computes the PBKDF2-SHA1 hash of a password.
+
+ The password to hash.
+ The salt.
+ The PBKDF2 iteration count.
+ The length of the hash to generate, in bytes.
+ A hash of the password.
@@ -3327,6 +3445,11 @@
web control che disegna un grafico a torta
+
+
+ tipo di grafico (2D/3D)
+
+
altezza di default
@@ -3352,6 +3475,41 @@
soglia minima 5% per mostrare il dato
+
+
+ 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
+
+
renderizza il contenuto
@@ -3397,46 +3555,6 @@
-
-
- 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
-
-
Classe gestione metodi di accesso ai dati embeddati
@@ -3615,6 +3733,13 @@
titolo pagina
+
+
+ evento standard agganciabile da grView x aggiunta doppio click e singolo click (x edit e select)
+
+
+
+
classe gestione utente: auth e permission/ruoli - versione GENERICA
@@ -3675,11 +3800,71 @@
+
+
+ restituisce la tabella diritti da session
+
+
+
+
+ tabella dei permessi utente
+
+
+
+
+ tabella dei permessi utente di tipo "WRITE" enabled
+
+
inizializza la gestione utente...
+
+
+ retituisce username AD
+
+
+
+
+ oggetto utente con metodi get/set
+
+
+
+
+ oggetto password con metodi get/set
+
+
+
+
+ oggetto dominio con metodi get/set
+
+
+
+
+ oggetto modulo (applicazione) con metodi get/set
+
+
+
+
+ oggetto lingua utente con metodi get/set
+
+
+
+
+ oggetto runMode corrente
+
+
+
+
+ restituisce true se utente forzato da forceUser.aspx
+
+
+
+
+ restituisce i valori della riga utente da db
+
+
restituisce riga utente data la matricola...
@@ -3687,6 +3872,31 @@
matricola
+
+
+ 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
+
+
traduce il lemma nella lingua dell'user corrente
@@ -3716,6 +3926,11 @@
+
+
+ fornisce un file XML della mappa del sito abilitato per l'utente...
+
+
LogOff utente con reset dati
@@ -3775,6 +3990,11 @@
+
+
+ è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza...
+
+
conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1
@@ -3914,101 +4134,6 @@
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 password con metodi get/set
-
-
-
-
- oggetto dominio con metodi get/set
-
-
-
-
- oggetto modulo (applicazione) con metodi get/set
-
-
-
-
- oggetto lingua utente con metodi get/set
-
-
-
-
- oggetto runMode corrente
-
-
-
-
- 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...
-
-
pagina correntemente visualizzata (URL in sessione)
@@ -4523,5 +4648,24 @@
+
+
+ classe gestione valori percentuali per semplificare edit utente (moltiplicati x 100 appunto)
+
+
+
+
+ converte da percentuale a numero (es 5,3% --> 0.053)
+
+
+
+
+
+
+ converte da numero a percentuale (es 0.053 --> 5,3%)
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/bin/VersGen.dll b/Projects/WebGIM/GIM_site/bin/VersGen.dll
index 588c6cd..01d7ab0 100644
Binary files a/Projects/WebGIM/GIM_site/bin/VersGen.dll and b/Projects/WebGIM/GIM_site/bin/VersGen.dll differ
diff --git a/Projects/WebGIM/GIM_site/obj/Alumat/AspnetCompileMerge/Source/WebMasterPages/Ajax.master b/Projects/WebGIM/GIM_site/obj/Alumat/AspnetCompileMerge/Source/WebMasterPages/Ajax.master
index dd10ba6..3caf12c 100644
--- a/Projects/WebGIM/GIM_site/obj/Alumat/AspnetCompileMerge/Source/WebMasterPages/Ajax.master
+++ b/Projects/WebGIM/GIM_site/obj/Alumat/AspnetCompileMerge/Source/WebMasterPages/Ajax.master
@@ -9,8 +9,8 @@
-
-
+
+