Merge branch 'develop'

This commit is contained in:
Samuele E. Locatelli
2020-09-03 17:50:35 +02:00
43 changed files with 41000 additions and 501 deletions
+685 -80
View File
@@ -64,6 +64,8 @@ namespace GPW_data {
private RilievoTempDataTable tableRilievoTemp;
private HistTempDataTable tableHistTemp;
private global::System.Data.DataRelation relationFK_Timbrature_Dipendenti;
private global::System.Data.DataRelation relationFK_AnagProgetti_AnagClienti;
@@ -166,6 +168,9 @@ namespace GPW_data {
if ((ds.Tables["RilievoTemp"] != null)) {
base.Tables.Add(new RilievoTempDataTable(ds.Tables["RilievoTemp"]));
}
if ((ds.Tables["HistTemp"] != null)) {
base.Tables.Add(new HistTempDataTable(ds.Tables["HistTemp"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -384,6 +389,16 @@ namespace GPW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public HistTempDataTable HistTemp {
get {
return this.tableHistTemp;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -511,6 +526,9 @@ namespace GPW_data {
if ((ds.Tables["RilievoTemp"] != null)) {
base.Tables.Add(new RilievoTempDataTable(ds.Tables["RilievoTemp"]));
}
if ((ds.Tables["HistTemp"] != null)) {
base.Tables.Add(new HistTempDataTable(ds.Tables["HistTemp"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -664,6 +682,12 @@ namespace GPW_data {
this.tableRilievoTemp.InitVars();
}
}
this.tableHistTemp = ((HistTempDataTable)(base.Tables["HistTemp"]));
if ((initTable == true)) {
if ((this.tableHistTemp != null)) {
this.tableHistTemp.InitVars();
}
}
this.relationFK_Timbrature_Dipendenti = this.Relations["FK_Timbrature_Dipendenti"];
this.relationFK_AnagProgetti_AnagClienti = this.Relations["FK_AnagProgetti_AnagClienti"];
this.relationFK_AnagFasi_AnagProgetti = this.Relations["FK_AnagFasi_AnagProgetti"];
@@ -721,6 +745,8 @@ namespace GPW_data {
base.Tables.Add(this.tableRegistroEventi);
this.tableRilievoTemp = new RilievoTempDataTable();
base.Tables.Add(this.tableRilievoTemp);
this.tableHistTemp = new HistTempDataTable();
base.Tables.Add(this.tableHistTemp);
this.relationFK_Timbrature_Dipendenti = new global::System.Data.DataRelation("FK_Timbrature_Dipendenti", new global::System.Data.DataColumn[] {
this.tableDipendenti.idxDipendenteColumn}, new global::System.Data.DataColumn[] {
this.tableTimbrature.idxDipendenteColumn}, false);
@@ -871,6 +897,12 @@ namespace GPW_data {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private bool ShouldSerializeHistTemp() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -986,6 +1018,9 @@ namespace GPW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void RilievoTempRowChangeEventHandler(object sender, RilievoTempRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void HistTempRowChangeEventHandler(object sender, HistTempRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -9741,6 +9776,269 @@ namespace GPW_data {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class HistTempDataTable : global::System.Data.TypedTableBase<HistTempRow> {
private global::System.Data.DataColumn columntempRil;
private global::System.Data.DataColumn columnfreq;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public HistTempDataTable() {
this.TableName = "HistTemp";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal HistTempDataTable(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", "16.0.0.0")]
protected HistTempDataTable(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", "16.0.0.0")]
public global::System.Data.DataColumn tempRilColumn {
get {
return this.columntempRil;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn freqColumn {
get {
return this.columnfreq;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.0.0.0")]
public HistTempRow this[int index] {
get {
return ((HistTempRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event HistTempRowChangeEventHandler HistTempRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event HistTempRowChangeEventHandler HistTempRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event HistTempRowChangeEventHandler HistTempRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event HistTempRowChangeEventHandler HistTempRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void AddHistTempRow(HistTempRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public HistTempRow AddHistTempRow(decimal tempRil, int freq) {
HistTempRow rowHistTempRow = ((HistTempRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
tempRil,
freq};
rowHistTempRow.ItemArray = columnValuesArray;
this.Rows.Add(rowHistTempRow);
return rowHistTempRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public override global::System.Data.DataTable Clone() {
HistTempDataTable cln = ((HistTempDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new HistTempDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal void InitVars() {
this.columntempRil = base.Columns["tempRil"];
this.columnfreq = base.Columns["freq"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitClass() {
this.columntempRil = new global::System.Data.DataColumn("tempRil", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntempRil);
this.columnfreq = new global::System.Data.DataColumn("freq", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfreq);
this.columntempRil.AllowDBNull = false;
this.columnfreq.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public HistTempRow NewHistTempRow() {
return ((HistTempRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new HistTempRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(HistTempRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.HistTempRowChanged != null)) {
this.HistTempRowChanged(this, new HistTempRowChangeEvent(((HistTempRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.HistTempRowChanging != null)) {
this.HistTempRowChanging(this, new HistTempRowChangeEvent(((HistTempRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.HistTempRowDeleted != null)) {
this.HistTempRowDeleted(this, new HistTempRowChangeEvent(((HistTempRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.HistTempRowDeleting != null)) {
this.HistTempRowDeleting(this, new HistTempRowChangeEvent(((HistTempRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void RemoveHistTempRow(HistTempRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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 = "HistTempDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -16212,6 +16510,60 @@ namespace GPW_data {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class HistTempRow : global::System.Data.DataRow {
private HistTempDataTable tableHistTemp;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal HistTempRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableHistTemp = ((HistTempDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public decimal tempRil {
get {
return ((decimal)(this[this.tableHistTemp.tempRilColumn]));
}
set {
this[this.tableHistTemp.tempRilColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int freq {
get {
try {
return ((int)(this[this.tableHistTemp.freqColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'freq\' nella tabella \'HistTemp\' è DBNull.", e);
}
}
set {
this[this.tableHistTemp.freqColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsfreqNull() {
return this.IsNull(this.tableHistTemp.freqColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetfreqNull() {
this[this.tableHistTemp.freqColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -16891,6 +17243,40 @@ namespace GPW_data {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public class HistTempRowChangeEvent : global::System.EventArgs {
private HistTempRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public HistTempRowChangeEvent(HistTempRow 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", "16.0.0.0")]
public HistTempRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace GPW_data.DS_ApplicazioneTableAdapters {
@@ -30688,7 +31074,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM RilievoTemp";
@@ -30702,12 +31088,20 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtRilievo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_RT_upsertQuery";
this._commandCollection[2].CommandText = "dbo.stp_RT_getByUserPeriod";
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("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtRilievo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tempRil", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lastDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxNum", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_RT_upsertQuery";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtRilievo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tempRil", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -30757,6 +31151,35 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.RilievoTempDataTable getByUserPeriod(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> lastDate, global::System.Nullable<int> maxNum) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((idxDipendente.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((lastDate.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(lastDate.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((maxNum.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(maxNum.Value));
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
DS_Applicazione.RilievoTempDataTable dataTable = new DS_Applicazione.RilievoTempDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
@@ -30873,7 +31296,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int upsertQuery(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dtRilievo, global::System.Nullable<decimal> tempRil) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((idxDipendente.HasValue == true)) {
command.Parameters[1].Value = ((int)(idxDipendente.Value));
}
@@ -30910,6 +31333,188 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class HistTempTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public HistTempTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.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", "16.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 = "HistTemp";
tableMapping.ColumnMappings.Add("tempRil", "tempRil");
tableMapping.ColumnMappings.Add("freq", "freq");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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_RT_getHistByUser";
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("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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.HistTempDataTable dataTable, global::System.Nullable<int> idxDipendente) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((idxDipendente.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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.HistTempDataTable GetData(global::System.Nullable<int> idxDipendente) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((idxDipendente.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.HistTempDataTable dataTable = new DS_Applicazione.HistTempDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
@@ -31356,6 +31961,15 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allChangedRows.AddRange(updatedRows);
}
}
if ((this._registroEventiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._registroEventiTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._giustificativiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -31365,6 +31979,24 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allChangedRows.AddRange(updatedRows);
}
}
if ((this._calendFesteFerieTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._calendFesteFerieTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._rilievoTempTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.RilievoTemp.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._rilievoTempTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._regAttivitaTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.RegAttivita.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -31374,15 +32006,6 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allChangedRows.AddRange(updatedRows);
}
}
if ((this._registroEventiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._registroEventiTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._dipendenti2RuoliTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Dipendenti2Ruoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -31410,24 +32033,6 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allChangedRows.AddRange(updatedRows);
}
}
if ((this._calendFesteFerieTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._calendFesteFerieTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._rilievoTempTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.RilievoTemp.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._rilievoTempTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
return result;
}
@@ -31486,6 +32091,14 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allAddedRows.AddRange(addedRows);
}
}
if ((this._registroEventiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._registroEventiTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._giustificativiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -31494,6 +32107,22 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allAddedRows.AddRange(addedRows);
}
}
if ((this._calendFesteFerieTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._calendFesteFerieTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._rilievoTempTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.RilievoTemp.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._rilievoTempTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._regAttivitaTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.RegAttivita.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -31502,14 +32131,6 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allAddedRows.AddRange(addedRows);
}
}
if ((this._registroEventiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._registroEventiTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._dipendenti2RuoliTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Dipendenti2Ruoli.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -31534,22 +32155,6 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allAddedRows.AddRange(addedRows);
}
}
if ((this._calendFesteFerieTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._calendFesteFerieTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._rilievoTempTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.RilievoTemp.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._rilievoTempTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
return result;
}
@@ -31560,22 +32165,6 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
int result = 0;
if ((this._rilievoTempTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.RilievoTemp.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._rilievoTempTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._calendFesteFerieTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._calendFesteFerieTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._timbratureExplTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.TimbratureExpl.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -31600,14 +32189,6 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allChangedRows.AddRange(deletedRows);
}
}
if ((this._registroEventiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._registroEventiTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._regAttivitaTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.RegAttivita.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -31616,6 +32197,22 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allChangedRows.AddRange(deletedRows);
}
}
if ((this._rilievoTempTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.RilievoTemp.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._rilievoTempTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._calendFesteFerieTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._calendFesteFerieTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._giustificativiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -31624,6 +32221,14 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
allChangedRows.AddRange(deletedRows);
}
}
if ((this._registroEventiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._registroEventiTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._timbratureTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Timbrature.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
+68 -27
View File
@@ -2807,6 +2807,19 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_RT_getByUserPeriod" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByUserPeriod" GetMethodModifier="Public" GetMethodName="getByUserPeriod" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByUserPeriod" UserSourceName="getByUserPeriod">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_RT_getByUserPeriod</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@lastDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_RT_upsertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="upsertQuery" Modifier="Public" Name="upsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="upsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -2822,6 +2835,26 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HistTempTableAdapter" GeneratorDataComponentClassName="HistTempTableAdapter" Name="HistTemp" UserDataComponentName="HistTempTableAdapter">
<MainSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_RT_getHistByUser" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_RT_getHistByUser</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="tempRil" DataSetColumn="tempRil" />
<Mapping SourceColumn="freq" DataSetColumn="freq" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -2830,7 +2863,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Timbrature" msprop:Generator_TableClassName="TimbratureDataTable" msprop:Generator_TableVarName="tableTimbrature" msprop:Generator_RowChangedName="TimbratureRowChanged" msprop:Generator_TablePropName="Timbrature" msprop:Generator_RowDeletingName="TimbratureRowDeleting" msprop:Generator_RowChangingName="TimbratureRowChanging" msprop:Generator_RowEvHandlerName="TimbratureRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureRowDeleted" msprop:Generator_RowClassName="TimbratureRow" msprop:Generator_UserTableName="Timbrature" msprop:Generator_RowEvArgName="TimbratureRowChangeEvent">
<xs:element name="Timbrature" msprop:Generator_TableClassName="TimbratureDataTable" msprop:Generator_TableVarName="tableTimbrature" msprop:Generator_TablePropName="Timbrature" msprop:Generator_RowDeletingName="TimbratureRowDeleting" msprop:Generator_RowChangingName="TimbratureRowChanging" msprop:Generator_RowEvHandlerName="TimbratureRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureRowDeleted" msprop:Generator_UserTableName="Timbrature" msprop:Generator_RowChangedName="TimbratureRowChanged" msprop:Generator_RowEvArgName="TimbratureRowChangeEvent" msprop:Generator_RowClassName="TimbratureRow">
<xs:complexType>
<xs:sequence>
<xs:element name="dataOra" msprop:Generator_ColumnVarNameInTable="columndataOra" msprop:Generator_ColumnPropNameInRow="dataOra" msprop:Generator_ColumnPropNameInTable="dataOraColumn" msprop:Generator_UserColumnName="dataOra" type="xs:dateTime" />
@@ -2854,7 +2887,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TimbratureExpl" msprop:Generator_TableClassName="TimbratureExplDataTable" msprop:Generator_TableVarName="tableTimbratureExpl" msprop:Generator_RowChangedName="TimbratureExplRowChanged" msprop:Generator_TablePropName="TimbratureExpl" msprop:Generator_RowDeletingName="TimbratureExplRowDeleting" msprop:Generator_RowChangingName="TimbratureExplRowChanging" msprop:Generator_RowEvHandlerName="TimbratureExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureExplRowDeleted" msprop:Generator_RowClassName="TimbratureExplRow" msprop:Generator_UserTableName="TimbratureExpl" msprop:Generator_RowEvArgName="TimbratureExplRowChangeEvent">
<xs:element name="TimbratureExpl" msprop:Generator_TableClassName="TimbratureExplDataTable" msprop:Generator_TableVarName="tableTimbratureExpl" msprop:Generator_TablePropName="TimbratureExpl" msprop:Generator_RowDeletingName="TimbratureExplRowDeleting" msprop:Generator_RowChangingName="TimbratureExplRowChanging" msprop:Generator_RowEvHandlerName="TimbratureExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureExplRowDeleted" msprop:Generator_UserTableName="TimbratureExpl" msprop:Generator_RowChangedName="TimbratureExplRowChanged" msprop:Generator_RowEvArgName="TimbratureExplRowChangeEvent" msprop:Generator_RowClassName="TimbratureExplRow">
<xs:complexType>
<xs:sequence>
<xs:element name="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
@@ -2911,7 +2944,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagDevices" msprop:Generator_TableClassName="AnagDevicesDataTable" msprop:Generator_TableVarName="tableAnagDevices" msprop:Generator_RowChangedName="AnagDevicesRowChanged" msprop:Generator_TablePropName="AnagDevices" msprop:Generator_RowDeletingName="AnagDevicesRowDeleting" msprop:Generator_RowChangingName="AnagDevicesRowChanging" msprop:Generator_RowEvHandlerName="AnagDevicesRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagDevicesRowDeleted" msprop:Generator_RowClassName="AnagDevicesRow" msprop:Generator_UserTableName="AnagDevices" msprop:Generator_RowEvArgName="AnagDevicesRowChangeEvent">
<xs:element name="AnagDevices" msprop:Generator_TableClassName="AnagDevicesDataTable" msprop:Generator_TableVarName="tableAnagDevices" msprop:Generator_TablePropName="AnagDevices" msprop:Generator_RowDeletingName="AnagDevicesRowDeleting" msprop:Generator_RowChangingName="AnagDevicesRowChanging" msprop:Generator_RowEvHandlerName="AnagDevicesRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagDevicesRowDeleted" msprop:Generator_UserTableName="AnagDevices" msprop:Generator_RowChangedName="AnagDevicesRowChanged" msprop:Generator_RowEvArgName="AnagDevicesRowChangeEvent" msprop:Generator_RowClassName="AnagDevicesRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxDevice" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxDevice" msprop:Generator_ColumnPropNameInRow="IdxDevice" msprop:Generator_ColumnPropNameInTable="IdxDeviceColumn" msprop:Generator_UserColumnName="IdxDevice" type="xs:int" />
@@ -2949,7 +2982,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_RowClassName="DipendentiRow" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent">
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -3077,7 +3110,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxCliente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxCliente" msprop:Generator_ColumnPropNameInRow="idxCliente" msprop:Generator_ColumnPropNameInTable="idxClienteColumn" msprop:Generator_UserColumnName="idxCliente" type="xs:int" />
@@ -3170,7 +3203,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
@@ -3215,7 +3248,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti2Ruoli" msprop:Generator_TableClassName="Dipendenti2RuoliDataTable" msprop:Generator_TableVarName="tableDipendenti2Ruoli" msprop:Generator_TablePropName="Dipendenti2Ruoli" msprop:Generator_RowDeletingName="Dipendenti2RuoliRowDeleting" msprop:Generator_RowChangingName="Dipendenti2RuoliRowChanging" msprop:Generator_RowEvHandlerName="Dipendenti2RuoliRowChangeEventHandler" msprop:Generator_RowDeletedName="Dipendenti2RuoliRowDeleted" msprop:Generator_UserTableName="Dipendenti2Ruoli" msprop:Generator_RowChangedName="Dipendenti2RuoliRowChanged" msprop:Generator_RowEvArgName="Dipendenti2RuoliRowChangeEvent" msprop:Generator_RowClassName="Dipendenti2RuoliRow">
<xs:element name="Dipendenti2Ruoli" msprop:Generator_TableClassName="Dipendenti2RuoliDataTable" msprop:Generator_TableVarName="tableDipendenti2Ruoli" msprop:Generator_RowChangedName="Dipendenti2RuoliRowChanged" msprop:Generator_TablePropName="Dipendenti2Ruoli" msprop:Generator_RowDeletingName="Dipendenti2RuoliRowDeleting" msprop:Generator_RowChangingName="Dipendenti2RuoliRowChanging" msprop:Generator_RowEvHandlerName="Dipendenti2RuoliRowChangeEventHandler" msprop:Generator_RowDeletedName="Dipendenti2RuoliRowDeleted" msprop:Generator_RowClassName="Dipendenti2RuoliRow" msprop:Generator_UserTableName="Dipendenti2Ruoli" msprop:Generator_RowEvArgName="Dipendenti2RuoliRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -3229,7 +3262,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -3279,7 +3312,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_logCommUt" msprop:Generator_TableClassName="v_logCommUtDataTable" msprop:Generator_TableVarName="tablev_logCommUt" msprop:Generator_RowChangedName="v_logCommUtRowChanged" msprop:Generator_TablePropName="v_logCommUt" msprop:Generator_RowDeletingName="v_logCommUtRowDeleting" msprop:Generator_RowChangingName="v_logCommUtRowChanging" msprop:Generator_RowEvHandlerName="v_logCommUtRowChangeEventHandler" msprop:Generator_RowDeletedName="v_logCommUtRowDeleted" msprop:Generator_RowClassName="v_logCommUtRow" msprop:Generator_UserTableName="v_logCommUt" msprop:Generator_RowEvArgName="v_logCommUtRowChangeEvent">
<xs:element name="v_logCommUt" msprop:Generator_TableClassName="v_logCommUtDataTable" msprop:Generator_TableVarName="tablev_logCommUt" msprop:Generator_TablePropName="v_logCommUt" msprop:Generator_RowDeletingName="v_logCommUtRowDeleting" msprop:Generator_RowChangingName="v_logCommUtRowChanging" msprop:Generator_RowEvHandlerName="v_logCommUtRowChangeEventHandler" msprop:Generator_RowDeletedName="v_logCommUtRowDeleted" msprop:Generator_UserTableName="v_logCommUt" msprop:Generator_RowChangedName="v_logCommUtRowChanged" msprop:Generator_RowEvArgName="v_logCommUtRowChangeEvent" msprop:Generator_RowClassName="v_logCommUtRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msdata:Caption="dataLav" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -3315,7 +3348,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegAttivita" msprop:Generator_TableClassName="RegAttivitaDataTable" msprop:Generator_TableVarName="tableRegAttivita" msprop:Generator_TablePropName="RegAttivita" msprop:Generator_RowDeletingName="RegAttivitaRowDeleting" msprop:Generator_RowChangingName="RegAttivitaRowChanging" msprop:Generator_RowEvHandlerName="RegAttivitaRowChangeEventHandler" msprop:Generator_RowDeletedName="RegAttivitaRowDeleted" msprop:Generator_UserTableName="RegAttivita" msprop:Generator_RowChangedName="RegAttivitaRowChanged" msprop:Generator_RowEvArgName="RegAttivitaRowChangeEvent" msprop:Generator_RowClassName="RegAttivitaRow">
<xs:element name="RegAttivita" msprop:Generator_TableClassName="RegAttivitaDataTable" msprop:Generator_TableVarName="tableRegAttivita" msprop:Generator_RowChangedName="RegAttivitaRowChanged" msprop:Generator_TablePropName="RegAttivita" msprop:Generator_RowDeletingName="RegAttivitaRowDeleting" msprop:Generator_RowChangingName="RegAttivitaRowChanging" msprop:Generator_RowEvHandlerName="RegAttivitaRowChangeEventHandler" msprop:Generator_RowDeletedName="RegAttivitaRowDeleted" msprop:Generator_RowClassName="RegAttivitaRow" msprop:Generator_UserTableName="RegAttivita" msprop:Generator_RowEvArgName="RegAttivitaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxRA" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxRA" msprop:Generator_ColumnPropNameInRow="idxRA" msprop:Generator_ColumnPropNameInTable="idxRAColumn" msprop:Generator_UserColumnName="idxRA" type="xs:int" />
@@ -3335,7 +3368,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalendFesteFerie" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_TablePropName="CalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent" msprop:Generator_RowClassName="CalendFesteFerieRow">
<xs:element name="CalendFesteFerie" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_TablePropName="CalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_RowClassName="CalendFesteFerieRow" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" msprop:Generator_UserColumnName="data" type="xs:dateTime" />
@@ -3356,7 +3389,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagOrari" msprop:Generator_TableClassName="AnagOrariDataTable" msprop:Generator_TableVarName="tableAnagOrari" msprop:Generator_TablePropName="AnagOrari" msprop:Generator_RowDeletingName="AnagOrariRowDeleting" msprop:Generator_RowChangingName="AnagOrariRowChanging" msprop:Generator_RowEvHandlerName="AnagOrariRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOrariRowDeleted" msprop:Generator_UserTableName="AnagOrari" msprop:Generator_RowChangedName="AnagOrariRowChanged" msprop:Generator_RowEvArgName="AnagOrariRowChangeEvent" msprop:Generator_RowClassName="AnagOrariRow">
<xs:element name="AnagOrari" msprop:Generator_TableClassName="AnagOrariDataTable" msprop:Generator_TableVarName="tableAnagOrari" msprop:Generator_RowChangedName="AnagOrariRowChanged" msprop:Generator_TablePropName="AnagOrari" msprop:Generator_RowDeletingName="AnagOrariRowDeleting" msprop:Generator_RowChangingName="AnagOrariRowChanging" msprop:Generator_RowEvHandlerName="AnagOrariRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOrariRowDeleted" msprop:Generator_RowClassName="AnagOrariRow" msprop:Generator_UserTableName="AnagOrari" msprop:Generator_RowEvArgName="AnagOrariRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="codOrario" msprop:Generator_ColumnVarNameInTable="columncodOrario" msprop:Generator_ColumnPropNameInRow="codOrario" msprop:Generator_ColumnPropNameInTable="codOrarioColumn" msprop:Generator_UserColumnName="codOrario">
@@ -3392,7 +3425,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TimbMeseExpl" msprop:Generator_TableClassName="TimbMeseExplDataTable" msprop:Generator_TableVarName="tableTimbMeseExpl" msprop:Generator_RowChangedName="TimbMeseExplRowChanged" msprop:Generator_TablePropName="TimbMeseExpl" msprop:Generator_RowDeletingName="TimbMeseExplRowDeleting" msprop:Generator_RowChangingName="TimbMeseExplRowChanging" msprop:Generator_RowEvHandlerName="TimbMeseExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbMeseExplRowDeleted" msprop:Generator_RowClassName="TimbMeseExplRow" msprop:Generator_UserTableName="TimbMeseExpl" msprop:Generator_RowEvArgName="TimbMeseExplRowChangeEvent">
<xs:element name="TimbMeseExpl" msprop:Generator_TableClassName="TimbMeseExplDataTable" msprop:Generator_TableVarName="tableTimbMeseExpl" msprop:Generator_TablePropName="TimbMeseExpl" msprop:Generator_RowDeletingName="TimbMeseExplRowDeleting" msprop:Generator_RowChangingName="TimbMeseExplRowChanging" msprop:Generator_RowEvHandlerName="TimbMeseExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbMeseExplRowDeleted" msprop:Generator_UserTableName="TimbMeseExpl" msprop:Generator_RowChangedName="TimbMeseExplRowChanged" msprop:Generator_RowEvArgName="TimbMeseExplRowChangeEvent" msprop:Generator_RowClassName="TimbMeseExplRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -3417,7 +3450,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Giustificativi" msprop:Generator_TableClassName="GiustificativiDataTable" msprop:Generator_TableVarName="tableGiustificativi" msprop:Generator_RowChangedName="GiustificativiRowChanged" msprop:Generator_TablePropName="Giustificativi" msprop:Generator_RowDeletingName="GiustificativiRowDeleting" msprop:Generator_RowChangingName="GiustificativiRowChanging" msprop:Generator_RowEvHandlerName="GiustificativiRowChangeEventHandler" msprop:Generator_RowDeletedName="GiustificativiRowDeleted" msprop:Generator_RowClassName="GiustificativiRow" msprop:Generator_UserTableName="Giustificativi" msprop:Generator_RowEvArgName="GiustificativiRowChangeEvent">
<xs:element name="Giustificativi" msprop:Generator_TableClassName="GiustificativiDataTable" msprop:Generator_TableVarName="tableGiustificativi" msprop:Generator_TablePropName="Giustificativi" msprop:Generator_RowDeletingName="GiustificativiRowDeleting" msprop:Generator_RowChangingName="GiustificativiRowChanging" msprop:Generator_RowEvHandlerName="GiustificativiRowChangeEventHandler" msprop:Generator_RowDeletedName="GiustificativiRowDeleted" msprop:Generator_UserTableName="Giustificativi" msprop:Generator_RowChangedName="GiustificativiRowChanged" msprop:Generator_RowEvArgName="GiustificativiRowChangeEvent" msprop:Generator_RowClassName="GiustificativiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
@@ -3433,7 +3466,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_DipendentiAndAnomalie" msprop:Generator_TableClassName="stp_DipendentiAndAnomalieDataTable" msprop:Generator_TableVarName="tablestp_DipendentiAndAnomalie" msprop:Generator_RowChangedName="stp_DipendentiAndAnomalieRowChanged" msprop:Generator_TablePropName="stp_DipendentiAndAnomalie" msprop:Generator_RowDeletingName="stp_DipendentiAndAnomalieRowDeleting" msprop:Generator_RowChangingName="stp_DipendentiAndAnomalieRowChanging" msprop:Generator_RowEvHandlerName="stp_DipendentiAndAnomalieRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DipendentiAndAnomalieRowDeleted" msprop:Generator_RowClassName="stp_DipendentiAndAnomalieRow" msprop:Generator_UserTableName="stp_DipendentiAndAnomalie" msprop:Generator_RowEvArgName="stp_DipendentiAndAnomalieRowChangeEvent">
<xs:element name="stp_DipendentiAndAnomalie" msprop:Generator_TableClassName="stp_DipendentiAndAnomalieDataTable" msprop:Generator_TableVarName="tablestp_DipendentiAndAnomalie" msprop:Generator_TablePropName="stp_DipendentiAndAnomalie" msprop:Generator_RowDeletingName="stp_DipendentiAndAnomalieRowDeleting" msprop:Generator_RowChangingName="stp_DipendentiAndAnomalieRowChanging" msprop:Generator_RowEvHandlerName="stp_DipendentiAndAnomalieRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DipendentiAndAnomalieRowDeleted" msprop:Generator_UserTableName="stp_DipendentiAndAnomalie" msprop:Generator_RowChangedName="stp_DipendentiAndAnomalieRowChanged" msprop:Generator_RowEvArgName="stp_DipendentiAndAnomalieRowChangeEvent" msprop:Generator_RowClassName="stp_DipendentiAndAnomalieRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -3454,7 +3487,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TE_RA_Expl" msprop:Generator_TableClassName="TE_RA_ExplDataTable" msprop:Generator_TableVarName="tableTE_RA_Expl" msprop:Generator_RowChangedName="TE_RA_ExplRowChanged" msprop:Generator_TablePropName="TE_RA_Expl" msprop:Generator_RowDeletingName="TE_RA_ExplRowDeleting" msprop:Generator_RowChangingName="TE_RA_ExplRowChanging" msprop:Generator_RowEvHandlerName="TE_RA_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TE_RA_ExplRowDeleted" msprop:Generator_RowClassName="TE_RA_ExplRow" msprop:Generator_UserTableName="TE_RA_Expl" msprop:Generator_RowEvArgName="TE_RA_ExplRowChangeEvent">
<xs:element name="TE_RA_Expl" msprop:Generator_TableClassName="TE_RA_ExplDataTable" msprop:Generator_TableVarName="tableTE_RA_Expl" msprop:Generator_TablePropName="TE_RA_Expl" msprop:Generator_RowDeletingName="TE_RA_ExplRowDeleting" msprop:Generator_RowChangingName="TE_RA_ExplRowChanging" msprop:Generator_RowEvHandlerName="TE_RA_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TE_RA_ExplRowDeleted" msprop:Generator_UserTableName="TE_RA_Expl" msprop:Generator_RowChangedName="TE_RA_ExplRowChanged" msprop:Generator_RowEvArgName="TE_RA_ExplRowChangeEvent" msprop:Generator_RowClassName="TE_RA_ExplRow">
<xs:complexType>
<xs:sequence>
<xs:element name="dataLav" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
@@ -3519,7 +3552,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="regAttDayExpl" msprop:Generator_TableClassName="regAttDayExplDataTable" msprop:Generator_TableVarName="tableregAttDayExpl" msprop:Generator_RowChangedName="regAttDayExplRowChanged" msprop:Generator_TablePropName="regAttDayExpl" msprop:Generator_RowDeletingName="regAttDayExplRowDeleting" msprop:Generator_RowChangingName="regAttDayExplRowChanging" msprop:Generator_RowEvHandlerName="regAttDayExplRowChangeEventHandler" msprop:Generator_RowDeletedName="regAttDayExplRowDeleted" msprop:Generator_RowClassName="regAttDayExplRow" msprop:Generator_UserTableName="regAttDayExpl" msprop:Generator_RowEvArgName="regAttDayExplRowChangeEvent">
<xs:element name="regAttDayExpl" msprop:Generator_TableClassName="regAttDayExplDataTable" msprop:Generator_TableVarName="tableregAttDayExpl" msprop:Generator_TablePropName="regAttDayExpl" msprop:Generator_RowDeletingName="regAttDayExplRowDeleting" msprop:Generator_RowChangingName="regAttDayExplRowChanging" msprop:Generator_RowEvHandlerName="regAttDayExplRowChangeEventHandler" msprop:Generator_RowDeletedName="regAttDayExplRowDeleted" msprop:Generator_UserTableName="regAttDayExpl" msprop:Generator_RowChangedName="regAttDayExplRowChanged" msprop:Generator_RowEvArgName="regAttDayExplRowChangeEvent" msprop:Generator_RowClassName="regAttDayExplRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -3567,7 +3600,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagProgetti_Expl" msprop:Generator_TableClassName="AnagProgetti_ExplDataTable" msprop:Generator_TableVarName="tableAnagProgetti_Expl" msprop:Generator_TablePropName="AnagProgetti_Expl" msprop:Generator_RowDeletingName="AnagProgetti_ExplRowDeleting" msprop:Generator_RowChangingName="AnagProgetti_ExplRowChanging" msprop:Generator_RowEvHandlerName="AnagProgetti_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgetti_ExplRowDeleted" msprop:Generator_UserTableName="AnagProgetti_Expl" msprop:Generator_RowChangedName="AnagProgetti_ExplRowChanged" msprop:Generator_RowEvArgName="AnagProgetti_ExplRowChangeEvent" msprop:Generator_RowClassName="AnagProgetti_ExplRow">
<xs:element name="AnagProgetti_Expl" msprop:Generator_TableClassName="AnagProgetti_ExplDataTable" msprop:Generator_TableVarName="tableAnagProgetti_Expl" msprop:Generator_RowChangedName="AnagProgetti_ExplRowChanged" msprop:Generator_TablePropName="AnagProgetti_Expl" msprop:Generator_RowDeletingName="AnagProgetti_ExplRowDeleting" msprop:Generator_RowChangingName="AnagProgetti_ExplRowChanging" msprop:Generator_RowEvHandlerName="AnagProgetti_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgetti_ExplRowDeleted" msprop:Generator_RowClassName="AnagProgetti_ExplRow" msprop:Generator_UserTableName="AnagProgetti_Expl" msprop:Generator_RowEvArgName="AnagProgetti_ExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" msprop:Generator_UserColumnName="RagSociale" minOccurs="0">
@@ -3608,7 +3641,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegistroEventi" msprop:Generator_TableClassName="RegistroEventiDataTable" msprop:Generator_TableVarName="tableRegistroEventi" msprop:Generator_RowChangedName="RegistroEventiRowChanged" msprop:Generator_TablePropName="RegistroEventi" msprop:Generator_RowDeletingName="RegistroEventiRowDeleting" msprop:Generator_RowChangingName="RegistroEventiRowChanging" msprop:Generator_RowEvHandlerName="RegistroEventiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroEventiRowDeleted" msprop:Generator_RowClassName="RegistroEventiRow" msprop:Generator_UserTableName="RegistroEventi" msprop:Generator_RowEvArgName="RegistroEventiRowChangeEvent">
<xs:element name="RegistroEventi" msprop:Generator_TableClassName="RegistroEventiDataTable" msprop:Generator_TableVarName="tableRegistroEventi" msprop:Generator_TablePropName="RegistroEventi" msprop:Generator_RowDeletingName="RegistroEventiRowDeleting" msprop:Generator_RowChangingName="RegistroEventiRowChanging" msprop:Generator_RowEvHandlerName="RegistroEventiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroEventiRowDeleted" msprop:Generator_UserTableName="RegistroEventi" msprop:Generator_RowChangedName="RegistroEventiRowChanged" msprop:Generator_RowEvArgName="RegistroEventiRowChangeEvent" msprop:Generator_RowClassName="RegistroEventiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataOra" msprop:Generator_ColumnVarNameInTable="columnDataOra" msprop:Generator_ColumnPropNameInRow="DataOra" msprop:Generator_ColumnPropNameInTable="DataOraColumn" msprop:Generator_UserColumnName="DataOra" type="xs:dateTime" />
@@ -3629,7 +3662,7 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RilievoTemp" msprop:Generator_TableClassName="RilievoTempDataTable" msprop:Generator_TableVarName="tableRilievoTemp" msprop:Generator_RowChangedName="RilievoTempRowChanged" msprop:Generator_TablePropName="RilievoTemp" msprop:Generator_RowDeletingName="RilievoTempRowDeleting" msprop:Generator_RowChangingName="RilievoTempRowChanging" msprop:Generator_RowEvHandlerName="RilievoTempRowChangeEventHandler" msprop:Generator_RowDeletedName="RilievoTempRowDeleted" msprop:Generator_RowClassName="RilievoTempRow" msprop:Generator_UserTableName="RilievoTemp" msprop:Generator_RowEvArgName="RilievoTempRowChangeEvent">
<xs:element name="RilievoTemp" msprop:Generator_TableClassName="RilievoTempDataTable" msprop:Generator_TableVarName="tableRilievoTemp" msprop:Generator_TablePropName="RilievoTemp" msprop:Generator_RowDeletingName="RilievoTempRowDeleting" msprop:Generator_RowChangingName="RilievoTempRowChanging" msprop:Generator_RowEvHandlerName="RilievoTempRowChangeEventHandler" msprop:Generator_RowDeletedName="RilievoTempRowDeleted" msprop:Generator_UserTableName="RilievoTemp" msprop:Generator_RowChangedName="RilievoTempRowChanged" msprop:Generator_RowEvArgName="RilievoTempRowChangeEvent" msprop:Generator_RowClassName="RilievoTempRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -3638,6 +3671,14 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="HistTemp" msprop:Generator_TableClassName="HistTempDataTable" msprop:Generator_TableVarName="tableHistTemp" msprop:Generator_TablePropName="HistTemp" msprop:Generator_RowDeletingName="HistTempRowDeleting" msprop:Generator_RowChangingName="HistTempRowChanging" msprop:Generator_RowEvHandlerName="HistTempRowChangeEventHandler" msprop:Generator_RowDeletedName="HistTempRowDeleted" msprop:Generator_UserTableName="HistTemp" msprop:Generator_RowChangedName="HistTempRowChanged" msprop:Generator_RowEvArgName="HistTempRowChangeEvent" msprop:Generator_RowClassName="HistTempRow">
<xs:complexType>
<xs:sequence>
<xs:element name="tempRil" msprop:Generator_ColumnVarNameInTable="columntempRil" msprop:Generator_ColumnPropNameInRow="tempRil" msprop:Generator_ColumnPropNameInTable="tempRilColumn" msprop:Generator_UserColumnName="tempRil" type="xs:decimal" />
<xs:element name="freq" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnfreq" msprop:Generator_ColumnPropNameInRow="freq" msprop:Generator_ColumnPropNameInTable="freqColumn" msprop:Generator_UserColumnName="freq" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -3734,13 +3775,13 @@ SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dt
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
<msdata:Relationship name="FK_AnagProgetti_AnagClienti" msdata:parent="AnagClienti" msdata:child="AnagProgetti" msdata:parentkey="idxCliente" msdata:childkey="idxCliente" msprop:Generator_UserChildTable="AnagProgetti" msprop:Generator_ChildPropName="GetAnagProgettiRows" msprop:Generator_UserRelationName="FK_AnagProgetti_AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" msprop:Generator_RelationVarName="relationFK_AnagProgetti_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" />
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_UserParentTable="AnagProgetti" />
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_UserParentTable="AnagFasi" />
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_UserParentTable="AnagOrari" msprop:Generator_ParentPropName="AnagOrariRow" />
<msdata:Relationship name="FK_RilievoTemp_Dipendenti" msdata:parent="Dipendenti" msdata:child="RilievoTemp" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RilievoTemp" msprop:Generator_ChildPropName="GetRilievoTempRows" msprop:Generator_UserRelationName="FK_RilievoTemp_Dipendenti" msprop:Generator_RelationVarName="relationFK_RilievoTemp_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_AnagProgetti_AnagClienti" msdata:parent="AnagClienti" msdata:child="AnagProgetti" msdata:parentkey="idxCliente" msdata:childkey="idxCliente" msprop:Generator_UserChildTable="AnagProgetti" msprop:Generator_ChildPropName="GetAnagProgettiRows" msprop:Generator_UserRelationName="FK_AnagProgetti_AnagClienti" msprop:Generator_RelationVarName="relationFK_AnagProgetti_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" />
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" msprop:Generator_ParentPropName="AnagOrariRow" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_UserParentTable="AnagOrari" />
<msdata:Relationship name="FK_RilievoTemp_Dipendenti" msdata:parent="Dipendenti" msdata:child="RilievoTemp" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RilievoTemp" msprop:Generator_ChildPropName="GetRilievoTempRows" msprop:Generator_UserRelationName="FK_RilievoTemp_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_RilievoTemp_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+29 -28
View File
@@ -4,31 +4,32 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="249" ViewPortY="472" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="438" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Timbrature" ZOrder="26" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TimbratureExpl" ZOrder="4" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagDevices" ZOrder="20" X="937" Y="134" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:Dipendenti" ZOrder="12" X="279" Y="478" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagClienti" ZOrder="14" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="8" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="25" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagFasi" ZOrder="7" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_logCommUt" ZOrder="1" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:RegAttivita" ZOrder="9" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="5" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagOrari" ZOrder="17" X="278" Y="1055" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="19" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Giustificativi" ZOrder="6" X="885" Y="1385" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="18" X="82" Y="1313" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="11" X="-3" Y="176" Height="365" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:regAttDayExpl" ZOrder="15" X="19" Y="886" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="13" X="1236" Y="992" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:RegistroEventi" ZOrder="10" X="85" Y="1476" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:RilievoTemp" ZOrder="3" X="528" Y="1434" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Timbrature" ZOrder="27" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TimbratureExpl" ZOrder="5" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagDevices" ZOrder="21" X="937" Y="134" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:Dipendenti" ZOrder="13" X="279" Y="478" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagClienti" ZOrder="15" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="9" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="26" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagFasi" ZOrder="8" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_logCommUt" ZOrder="2" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:RegAttivita" ZOrder="10" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="6" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagOrari" ZOrder="18" X="278" Y="1055" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="20" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Giustificativi" ZOrder="7" X="885" Y="1385" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="19" X="82" Y="1313" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="12" X="-3" Y="176" Height="365" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:regAttDayExpl" ZOrder="16" X="19" Y="886" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="14" X="1236" Y="992" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:RegistroEventi" ZOrder="11" X="85" Y="1476" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:RilievoTemp" ZOrder="4" X="528" Y="1434" Height="191" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:HistTemp" ZOrder="1" X="321" Y="1507" Height="115" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="27" LineWidth="11">
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="28" LineWidth="11">
<RoutePoints>
<Point>
<X>385</X>
@@ -40,7 +41,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AnagProgetti_AnagClienti" ZOrder="16" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagProgetti_AnagClienti" ZOrder="17" LineWidth="11">
<RoutePoints>
<Point>
<X>1234</X>
@@ -60,7 +61,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="24" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>1186</X>
@@ -80,7 +81,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="23" LineWidth="11">
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="24" LineWidth="11">
<RoutePoints>
<Point>
<X>871</X>
@@ -96,7 +97,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="22" LineWidth="11">
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="23" LineWidth="11">
<RoutePoints>
<Point>
<X>579</X>
@@ -108,7 +109,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="22" LineWidth="11">
<RoutePoints>
<Point>
<X>324</X>
@@ -120,7 +121,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="2" LineWidth="11">
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="3" LineWidth="11">
<RoutePoints>
<Point>
<X>553</X>
+4 -1
View File
@@ -28,6 +28,7 @@ namespace GPW_data
public DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter taRE;
public DS_ApplicazioneTableAdapters.CalendFesteFerieTableAdapter taCFF;
public DS_ApplicazioneTableAdapters.RilievoTempTableAdapter taRT;
public DS_ApplicazioneTableAdapters.HistTempTableAdapter taHT;
public DS_UtilityTableAdapters.nextValContatoreTableAdapter taNextVal;
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
@@ -60,6 +61,7 @@ namespace GPW_data
taRE = new DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter();
taCFF = new DS_ApplicazioneTableAdapters.CalendFesteFerieTableAdapter();
taRT = new DS_ApplicazioneTableAdapters.RilievoTempTableAdapter();
taHT = new DS_ApplicazioneTableAdapters.HistTempTableAdapter();
taNextVal = new DS_UtilityTableAdapters.nextValContatoreTableAdapter();
taAKV = new DS_UtilityTableAdapters.AnagKeyValueTableAdapter();
taVSProjFasiSearch = new DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter();
@@ -91,8 +93,9 @@ namespace GPW_data
taTimbRegAtt.Connection.ConnectionString = connGPW;
taRE.Connection.ConnectionString = connGPW;
taCFF.Connection.ConnectionString = connGPW;
taNextVal.Connection.ConnectionString = connGPW;
taRT.Connection.ConnectionString = connGPW;
taHT.Connection.ConnectionString = connGPW;
taNextVal.Connection.ConnectionString = connGPW;
taAKV.Connection.ConnectionString = connGPW;
taVSProjFasiSearch.Connection.ConnectionString = connGPW;
taVSPF.Connection.ConnectionString = connGPW;
+44
View File
@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GPW_data
{
/// <summary>
/// elenco stato controllo
/// </summary>
public enum statoControllo
{
edit,
insert,
item
}
/// <summary>
/// definisce i tipi di codice che il barcode può leggere
/// </summary>
public enum tipoCodiceBarcode
{
/// <summary>
/// Tipo non riconosciuto
/// </summary>
ND,
/// <summary>
/// [idx] - il barcode rappresenta un codice dipendente tipo "idx" + numero
/// </summary>
idxDipendente,
/// <summary>
/// [matr] - il barcode rappresenta un codice dipendente tipo "matr" + matricola
/// </summary>
matrDipendente,
/// <summary>
/// [CF] - il barcode rappresenta un codice dipendente tipo "cf" + cod fiscale dipendente
/// </summary>
cfDipendente,
/// <summary>
/// codice che indica un comando (prefisso da web.config)
/// </summary>
Comando
}
}
+14
View File
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GPW_data
{
public class chartJsTSerie
{
public DateTime x { get; set; }
public decimal y { get; set; }
}
}
-36
View File
@@ -355,40 +355,4 @@ namespace GPW_data
}
}
/// <summary>
/// elenco stato controllo
/// </summary>
public enum statoControllo
{
edit,
insert,
item
}
/// <summary>
/// definisce i tipi di codice che il barcode può leggere
/// </summary>
public enum tipoCodiceBarcode
{
/// <summary>
/// Tipo non riconosciuto
/// </summary>
ND,
/// <summary>
/// [idx] - il barcode rappresenta un codice dipendente tipo "idx" + numero
/// </summary>
idxDipendente,
/// <summary>
/// [matr] - il barcode rappresenta un codice dipendente tipo "matr" + matricola
/// </summary>
matrDipendente,
/// <summary>
/// [CF] - il barcode rappresenta un codice dipendente tipo "cf" + cod fiscale dipendente
/// </summary>
cfDipendente,
/// <summary>
/// codice che indica un comando (prefisso da web.config)
/// </summary>
Comando
}
}
+39 -35
View File
@@ -3,51 +3,55 @@ using System.Web.UI;
namespace GPW_Smart
{
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkID=303951
public static void RegisterBundles(BundleCollection bundles)
public class BundleConfig
{
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
"~/Scripts/WebForms/WebForms.js",
"~/Scripts/WebForms/WebUIValidation.js",
"~/Scripts/WebForms/MenuStandards.js",
"~/Scripts/WebForms/Focus.js",
"~/Scripts/WebForms/GridView.js",
"~/Scripts/WebForms/DetailsView.js",
"~/Scripts/WebForms/TreeView.js",
"~/Scripts/WebForms/WebParts.js"));
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkID=303951
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
"~/Scripts/WebForms/WebForms.js",
"~/Scripts/WebForms/WebUIValidation.js",
"~/Scripts/WebForms/MenuStandards.js",
"~/Scripts/WebForms/Focus.js",
"~/Scripts/WebForms/GridView.js",
"~/Scripts/WebForms/DetailsView.js",
"~/Scripts/WebForms/TreeView.js",
"~/Scripts/WebForms/WebParts.js"));
// Order is very important for these files to work, they have explicit dependencies
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
// Order is very important for these files to work, they have explicit dependencies
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
// Use the Development version of Modernizr to develop with and learn from. Then, when youre
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
// Use the Development version of Modernizr to develop with and learn from. Then, when youre
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jSteamware").Include(
"~/Scripts/jSteamware*"));
bundles.Add(new ScriptBundle("~/bundles/jSteamware").Include(
"~/Scripts/jSteamware*"));
bundles.Add(new ScriptBundle("~/bundles/jsChart").Include(
"~/Scripts/Chart.js"));
bundles.Add(new ScriptBundle("~/bundles/jsMoment").Include(
"~/Scripts/moment.js"));
//// aggiungo bundle dinamico x less --> css
//bundles.Add(new DynamicFolderBundle("less", "*.less"));
//// aggiungo bundle dinamico x less --> css
//bundles.Add(new DynamicFolderBundle("less", "*.less"));
// abilito boundle "forzato"!
BundleTable.EnableOptimizations = true;
;
// abilito boundle "forzato"!
BundleTable.EnableOptimizations = true;
;
}
}
}
}
+1
View File
@@ -13,6 +13,7 @@ namespace GPW_Smart
var settings = new FriendlyUrlSettings();
settings.AutoRedirectMode = RedirectMode.Permanent;
routes.EnableFriendlyUrls(settings);
}
}
}
+21
View File
@@ -0,0 +1,21 @@
using System.Web.Http;
namespace GPW_Smart
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Servizi e configurazione dell'API Web
// Route dell'API Web
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
}
}
}
+47
View File
@@ -0,0 +1,47 @@
/*
* DOM element rendering detection
* https://davidwalsh.name/detect-node-insertion
*/
@keyframes chartjs-render-animation {
from { opacity: 0.99; }
to { opacity: 1; }
}
.chartjs-render-monitor {
animation: chartjs-render-animation 0.001s;
}
/*
* DOM element resizing detection
* https://github.com/marcj/css-element-queries
*/
.chartjs-size-monitor,
.chartjs-size-monitor-expand,
.chartjs-size-monitor-shrink {
position: absolute;
direction: ltr;
left: 0;
top: 0;
right: 0;
bottom: 0;
overflow: hidden;
pointer-events: none;
visibility: hidden;
z-index: -1;
}
.chartjs-size-monitor-expand > div {
position: absolute;
width: 1000000px;
height: 1000000px;
left: 0;
top: 0;
}
.chartjs-size-monitor-shrink > div {
position: absolute;
width: 200%;
height: 200%;
left: 0;
top: 0;
}
+1
View File
@@ -0,0 +1 @@
@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}
+2 -1
View File
@@ -23,7 +23,8 @@
background-repeat: no-repeat;
}
canvas {
background: #f0f0f0;
/*border: 1px solid #339933;
background: #fafffa;*/
width: 100%;
height: auto;
}
+22 -28
View File
@@ -1,6 +1,5 @@
.logo
{
.logo {
background-image: url(../images/logo_sw.png);
-ms-filter: "alpha(opacity=50)";
filter: alpha(opacity=50);
@@ -9,11 +8,11 @@
width: 800px;
height: 300px;
margin: 50px auto 50px auto;
vertical-align:middle;
vertical-align: middle;
background-repeat: no-repeat;
}
.logo:hover
{
.logo:hover {
background-image: url(../images/logo_sw.png);
-ms-filter: "alpha(opacity=100)";
filter: alpha(opacity=100);
@@ -22,19 +21,19 @@
width: 800px;
height: 300px;
margin: 50px auto 50px auto;
vertical-align:middle;
vertical-align: middle;
background-repeat: no-repeat;
}
canvas {
background: #f0f0f0;
/*border: 1px solid #339933;
background: #fafffa;*/
width: 100%;
height: auto;
}
.bodyMainCenter
{
.bodyMainCenter {
/* background-image: url(../images/logo_sw.png); -khtml-opacity: .50; -moz-opacity: .50; -ms-filter: "alpha(opacity=50)"; filter: alpha(opacity=50); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5); opacity: .50; */
vertical-align: middle;
border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/
@@ -45,28 +44,27 @@ canvas {
background-attachment: scroll;
background-repeat: no-repeat;
}
.bodyCenter
{
.bodyCenter {
vertical-align: middle;
text-align: center;
height: 100%;
width: 100%;
}
.centerMenu
{
.centerMenu {
background-color: White;
text-align: center;
border-width: thin;
border-style: groove;
border-color: Blue;
}
A:hover
{
A:hover {
color: red;
}
.bodyMain
{
.bodyMain {
/* background-image: url(../images/logo_sw.png); -khtml-opacity: .50; -moz-opacity: .50; -ms-filter: "alpha(opacity=50)"; filter: alpha(opacity=50); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5); opacity: .50; */
vertical-align: top;
border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/
@@ -76,16 +74,15 @@ A:hover
background-attachment: scroll;
background-repeat: no-repeat;
}
.bodyMainEmpty
{
.bodyMainEmpty {
vertical-align: top;
border-left: maroon 1px solid;
height: 100%;
width: 100%;
}
.bodyMainWhite
{
.bodyMainWhite {
vertical-align: top;
border-left: maroon 1px solid;
height: 100%;
@@ -95,21 +92,18 @@ A:hover
background-repeat: no-repeat;
}
.bodyMainWhite a:hover
{
.bodyMainWhite a:hover {
color: white;
}
.bodyMainNoLogo
{
.bodyMainNoLogo {
vertical-align: top;
border-left: maroon 1px solid;
height: 100%;
width: 100%;
}
.bodyMainLogoPiccolo
{
.bodyMainLogoPiccolo {
background-image: url(../images/sfondoMedio.png);
background-position: 97% 210px;
vertical-align: top;
@@ -120,6 +114,6 @@ A:hover
background-repeat: no-repeat;
}
.textError{
.textError {
color: red;
}
+1 -1
View File
@@ -1 +1 @@
.logo{background-image:url(../images/logo_sw.png);-ms-filter:"alpha(opacity=50)";filter:alpha(opacity=50);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=.5);opacity:.5;width:800px;height:300px;margin:50px auto 50px auto;vertical-align:middle;background-repeat:no-repeat;}.logo:hover{background-image:url(../images/logo_sw.png);-ms-filter:"alpha(opacity=100)";filter:alpha(opacity=100);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=1);opacity:1;width:800px;height:300px;margin:50px auto 50px auto;vertical-align:middle;background-repeat:no-repeat;}canvas{background:#f0f0f0;width:100%;height:auto;}.bodyMainCenter{vertical-align:middle;border-left:#0d0083 1px solid;text-align:center;height:100%;width:100%;background-position:center;background-attachment:scroll;background-repeat:no-repeat;}.bodyCenter{vertical-align:middle;text-align:center;height:100%;width:100%;}.centerMenu{background-color:#fff;text-align:center;border-width:thin;border-style:groove;border-color:#00f;}A:hover{color:#f00;}.bodyMain{vertical-align:top;border-left:#0d0083 1px solid;height:100%;width:100%;background-position:center;background-attachment:scroll;background-repeat:no-repeat;}.bodyMainEmpty{vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;}.bodyMainWhite{vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;background-position:center;background-attachment:scroll;background-repeat:no-repeat;}.bodyMainWhite a:hover{color:#fff;}.bodyMainNoLogo{vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;}.bodyMainLogoPiccolo{background-image:url(../images/sfondoMedio.png);background-position:97% 210px;vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;background-attachment:scroll;background-repeat:no-repeat;}.textError{color:#f00;}
.logo{background-image:url(../images/logo_sw.png);-ms-filter:"alpha(opacity=50)";filter:alpha(opacity=50);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=.5);opacity:.5;width:800px;height:300px;margin:50px auto 50px auto;vertical-align:middle;background-repeat:no-repeat;}.logo:hover{background-image:url(../images/logo_sw.png);-ms-filter:"alpha(opacity=100)";filter:alpha(opacity=100);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=1);opacity:1;width:800px;height:300px;margin:50px auto 50px auto;vertical-align:middle;background-repeat:no-repeat;}canvas{width:100%;height:auto;}.bodyMainCenter{vertical-align:middle;border-left:#0d0083 1px solid;text-align:center;height:100%;width:100%;background-position:center;background-attachment:scroll;background-repeat:no-repeat;}.bodyCenter{vertical-align:middle;text-align:center;height:100%;width:100%;}.centerMenu{background-color:#fff;text-align:center;border-width:thin;border-style:groove;border-color:#00f;}A:hover{color:#f00;}.bodyMain{vertical-align:top;border-left:#0d0083 1px solid;height:100%;width:100%;background-position:center;background-attachment:scroll;background-repeat:no-repeat;}.bodyMainEmpty{vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;}.bodyMainWhite{vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;background-position:center;background-attachment:scroll;background-repeat:no-repeat;}.bodyMainWhite a:hover{color:#fff;}.bodyMainNoLogo{vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;}.bodyMainLogoPiccolo{background-image:url(../images/sfondoMedio.png);background-position:97% 210px;vertical-align:top;border-left:#800000 1px solid;height:100%;width:100%;background-attachment:scroll;background-repeat:no-repeat;}.textError{color:#f00;}
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace GPW_Smart.Controllers
{
public class TempHistController : ApiController
{
// GET api/<controller>
public IEnumerable<string> Get()
{
return new string[] { "value1", "value2" };
}
// GET api/<controller>/5
public string Get(int id)
{
return "value";
}
// POST api/<controller>
public void Post([FromBody] string value)
{
}
// PUT api/<controller>/5
public void Put(int id, [FromBody] string value)
{
}
// DELETE api/<controller>/5
public void Delete(int id)
{
}
}
}
@@ -0,0 +1,72 @@
using GPW_data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace GPW_Smart.Controllers
{
public class TempRilController : ApiController
{
// GET api/TempRil
public string Get()
{
return "NA";
}
// GET api/TempRil/5
public List<chartJsTSerie> Get(int id)
{
List<chartJsTSerie> answ = new List<chartJsTSerie>();
// recupero dati
var tabDati = DataProxy.DP.taRT.getByUserPeriod(id, DateTime.Today, 0);
foreach (var item in tabDati)
{
answ.Add(new chartJsTSerie() { x = item.dtRilievo, y = item.tempRil });
}
// restituisco oggetto!
return answ;
}
// GET api/TempRil/5?date=2020-09-01&numRec=10
public List<chartJsTSerie> Get(int id, string date, int numRec)
{
DateTime dtRif = DateTime.Today;
DateTime.TryParse(date, out dtRif);
List<chartJsTSerie> answ = new List<chartJsTSerie>();
// recupero dati
var tabDati = DataProxy.DP.taRT.getByUserPeriod(id, dtRif, numRec);
foreach (var item in tabDati)
{
answ.Add(new chartJsTSerie() { x = item.dtRilievo, y = item.tempRil });
}
// restituisco oggetto!
return answ;
}
//// POST api/TempRil
//public void Post([FromBody] string value)
//{
//}
//// PUT api/TempRil/5
//public void Put(int id, [FromBody] string value)
//{
//}
//// DELETE api/TempRil/5
//public void Delete(int id)
//{
//}
}
}
+31 -5
View File
@@ -140,6 +140,10 @@
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
@@ -165,6 +169,12 @@
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.7\lib\net45\System.Web.Http.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.WebHost, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.7\lib\net45\System.Web.Http.WebHost.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
@@ -216,6 +226,8 @@
<Content Include="Content\bootstrap-reboot.min.css" />
<Content Include="Content\bootstrap.css" />
<Content Include="Content\bootstrap.min.css" />
<Content Include="Content\Chart.css" />
<Content Include="Content\Chart.min.css" />
<Content Include="Content\font-awesome.css" />
<Content Include="Content\font-awesome.min.css" />
<Content Include="Content\fonts.css">
@@ -488,8 +500,14 @@
<Content Include="logs\PlaceHolder.file" />
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
<Content Include="Scripts\Chart.js" />
<Content Include="Scripts\Chart.min.js" />
<Content Include="Scripts\moment-with-locales.js" />
<Content Include="Scripts\moment-with-locales.min.js" />
<Content Include="Scripts\moment.js" />
<Content Include="Scripts\moment.min.js" />
<Content Include="Test.aspx" />
<Content Include="WebUserControls\cmp_chart.ascx" />
<Content Include="WS\gateway.asmx" />
<None Include="compilerconfig.json" />
<None Include="compilerconfig.json.defaults">
<DependentUpon>compilerconfig.json</DependentUpon>
@@ -691,6 +709,8 @@
<Content Include="Scripts\popper.js.map" />
<Content Include="Scripts\popper-utils.min.js.map" />
<Content Include="Scripts\popper-utils.js.map" />
<Content Include="Scripts\moment.min.js.map" />
<Content Include="Scripts\moment-with-locales.min.js.map" />
<None Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</None>
@@ -723,6 +743,7 @@
</Compile>
<Compile Include="App_Start\BundleConfig.cs" />
<Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="App_Start\WebApiConfig.cs" />
<Compile Include="attivitaIns.aspx.cs">
<DependentUpon>attivitaIns.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -733,6 +754,8 @@
<Compile Include="BaseUserControl.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Controllers\TempHistController.cs" />
<Compile Include="Controllers\TempRilController.cs" />
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -814,6 +837,13 @@
<Compile Include="TempRil.aspx.designer.cs">
<DependentUpon>TempRil.aspx</DependentUpon>
</Compile>
<Compile Include="Test.aspx.cs">
<DependentUpon>Test.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Test.aspx.designer.cs">
<DependentUpon>Test.aspx</DependentUpon>
</Compile>
<Compile Include="Timbrature.aspx.cs">
<DependentUpon>Timbrature.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -941,10 +971,6 @@
<Compile Include="WebUserControls\mod_timbrature.ascx.designer.cs">
<DependentUpon>mod_timbrature.ascx</DependentUpon>
</Compile>
<Compile Include="WS\gateway.asmx.cs">
<DependentUpon>gateway.asmx</DependentUpon>
<SubType>Component</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\GPW_Data\GPW_Data.csproj">
+2
View File
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Security;
@@ -13,6 +14,7 @@ namespace GPW_Smart
{
void Application_Start(object sender, EventArgs e)
{
GlobalConfiguration.Configure(WebApiConfig.Register);
// Code that runs on application startup
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
+16151
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+52 -46
View File
@@ -2,62 +2,68 @@
<%@ Register Src="~/WebUserControls/cmp_footer.ascx" TagPrefix="uc1" TagName="cmp_footer" %>
<%@ Register Src="~/WebUserControls/cmp_menuTop.ascx" TagPrefix="uc1" TagName="cmp_menuTop" %>
<%@ Register Src="~/WebUserControls/cmp_chart.ascx" TagPrefix="uc1" TagName="cmp_chart" %>
<!DOCTYPE html>
<html lang="it">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="GPW SMART site" />
<meta name="author" content="Steamware" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="icon" href="~/images/favicon.png" type="image/png" />
<title>GPW</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="GPW SMART site" />
<meta name="author" content="Steamware" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="icon" href="~/images/favicon.png" type="image/png" />
<title>GPW</title>
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
</asp:PlaceHolder>
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
<%: Scripts.Render("~/bundles/jsMoment") %>
<%: Scripts.Render("~/bundles/jsChart") %>
</asp:PlaceHolder>
<webopt:BundleReference runat="server" Path="~/Content/css" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<webopt:BundleReference runat="server" Path="~/Content/css" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
</head>
<body class="pt-0">
<form runat="server">
<asp:ScriptManager runat="server">
<Scripts>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="bootstrap" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<form runat="server">
<asp:ScriptManager runat="server">
<Scripts>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="bootstrap" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<uc1:cmp_menuTop runat="server" ID="cmp_menuTop" />
<div class="container-flow body-content mb-5">
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<uc1:cmp_footer runat="server" ID="cmp_footer" />
</form>
<uc1:cmp_menuTop runat="server" ID="cmp_menuTop" />
<div class="container-flow body-content mb-5">
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<asp:ContentPlaceHolder ID="SecondContent" runat="server">
</asp:ContentPlaceHolder>
<uc1:cmp_footer runat="server" ID="cmp_footer" />
</form>
</body>
</html>
+19 -8
View File
@@ -7,11 +7,13 @@
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace GPW_Smart {
public partial class Site {
namespace GPW_Smart
{
public partial class Site
{
/// <summary>
/// Controllo cmp_menuTop.
/// </summary>
@@ -20,7 +22,7 @@ namespace GPW_Smart {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::GPW_Smart.WebUserControls.cmp_menuTop cmp_menuTop;
/// <summary>
/// Controllo updPanelPagina.
/// </summary>
@@ -29,7 +31,7 @@ namespace GPW_Smart {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.UpdatePanel updPanelPagina;
/// <summary>
/// Controllo MainContent.
/// </summary>
@@ -38,7 +40,16 @@ namespace GPW_Smart {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent;
/// <summary>
/// Controllo SecondContent.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder SecondContent;
/// <summary>
/// Controllo cmp_footer.
/// </summary>
+6
View File
@@ -1,7 +1,13 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TempRil.aspx.cs" Inherits="GPW_Smart.TempRil" %>
<%@ Register Src="~/WebUserControls/cmp_rilTemp.ascx" TagPrefix="uc1" TagName="cmp_rilTemp" %>
<%@ Register Src="~/WebUserControls/cmp_chart.ascx" TagPrefix="uc1" TagName="cmp_chart" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<uc1:cmp_rilTemp runat="server" id="cmp_rilTemp" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SecondContent" runat="server">
<uc1:cmp_chart runat="server" ID="cmp_chart" />
</asp:Content>
+9
View File
@@ -22,5 +22,14 @@ namespace GPW_Smart
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::GPW_Smart.WebUserControls.cmp_rilTemp cmp_rilTemp;
/// <summary>
/// Controllo cmp_chart.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::GPW_Smart.WebUserControls.cmp_chart cmp_chart;
}
}
+20
View File
@@ -0,0 +1,20 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="GPW_Smart.Test" %>
<%@ Register Src="~/WebUserControls/cmp_chart.ascx" TagPrefix="uc1" TagName="cmp_chart" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<uc1:cmp_chart runat="server" ID="cmp_chart" />
</div>
</form>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GPW_Smart
{
public partial class Test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+35
View File
@@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace GPW_Smart
{
public partial class Test
{
/// <summary>
/// Controllo form1.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// Controllo cmp_chart.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::GPW_Smart.WebUserControls.cmp_chart cmp_chart;
}
}
-1
View File
@@ -1 +0,0 @@
<%@ WebService Language="C#" CodeBehind="gateway.asmx.cs" Class="GPW_Smart.WS.gateway" %>
-85
View File
@@ -1,85 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Services;
using System.Web.Services;
namespace GPW_Smart.WS
{
/// <summary>
/// Descrizione di riepilogo per gateway
/// </summary>
[WebService(Namespace = "http://www.steamware.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// Per consentire la chiamata di questo servizio Web dallo script utilizzando ASP.NET AJAX, rimuovere il commento dalla riga seguente.
[System.Web.Script.Services.ScriptService]
public class gateway : System.Web.Services.WebService
{
[WebMethod]
public string HelloWorld()
{
return "Hello World";
}
/// <summary>
/// Restituisce un array di informazioni...
/// - TITOLO
/// - MaxValore
/// - vettore etichette
/// - vettore valori
/// </summary>
/// <returns></returns>
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public List<object> userScoreData(int idxUser, DateTime dataRif)
{
// init valori..
List<object> allData = new List<object>();
List<string> etichette = new List<string>();
List<int> valori = new List<int>();
#if false
// aggiungo TITOLO della serie dati...
string titolo = string.Format("VMD - {0:yyyy-MM-dd}", dataRif);
allData.Add(titolo);
int maxVal = 4;
allData.Add(maxVal);
// leggo info...
DS_Applicazione.VisVMDDataTable tab = DtProxy.man.taVVMD.getByPaziente(idxUser, dataRif);
// se contiene valori...
if (tab.Rows.Count > 0)
{
// recupero SOLO i PENALTY... e sono 8...
int valore = 0;
for (int i = 0; i < tab.Columns.Count; i++)
{
// recupero nome colonna, se è "_" inserisco...
if (tab.Columns[i].ToString().IndexOf("_p") >= 0)
{
etichette.Add(tab.Columns[i].ToString().Replace("_p", ""));
Int32.TryParse(tab[0][i].ToString(), out valore);
valori.Add(valore);
}
}
}
// altrimenti valori vuoti...
else
{
for (int i = 0; i < 8; i++)
{
etichette.Add(i.ToString());
valori.Add(0);
}
}
allData.Add(etichette);
allData.Add(valori);
#endif
// restituisco oggetto!
return allData;
}
}
}
+8 -4
View File
@@ -136,8 +136,7 @@
</appSettings>
<connectionStrings>
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;"
providerName="System.Data.SqlClient"/>
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
@@ -431,9 +430,14 @@
<remove name="Session" />
<add name="Session" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
</modules>
</system.webServer>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers></system.webServer>
<elmah>
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="ErrorLog"/>
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="ErrorLog" />
<security allowRemoteAccess="false" />
</elmah>
<location path="elmah.axd" inheritInChildApplications="false">
+80 -109
View File
@@ -1,116 +1,87 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_chart.ascx.cs" Inherits="GPW_Smart.WebUserControls.cmp_chart" %>
<canvas id="myChart" width="300" height="150"></canvas>
<asp:HiddenField runat="server" ID="hfIdxPaziente" />
<canvas id="myChart"></canvas>
<asp:HiddenField runat="server" ID="hfIdxDip" />
<asp:HiddenField runat="server" ID="hfData" />
<%--<script>
// funzione eseguita se successo al caricamento
function OnSuccess_(reponse) {
// recupero obj chart
var ctx = document.getElementById("myChart");
var aData = reponse.d;
var titolo = aData[0];
var maxVal = aData[1];
var aLabels = aData[2];
var aDatasets1 = aData[3];
<div class="row">
<div class="col-6 text-right">Periodo</div>
<div class="col-6">
<asp:DropDownList runat="server" ID="ddlMaxNum" AutoPostBack="true">
<asp:ListItem Text="1 mese" Value="30"></asp:ListItem>
<asp:ListItem Text="2 mesi" Value="60"></asp:ListItem>
<asp:ListItem Text="3 mesi" Value="90"></asp:ListItem>
<asp:ListItem Text="6 mesi" Value="180"></asp:ListItem>
<asp:ListItem Text="1 anno" Value="366"></asp:ListItem>
<asp:ListItem Text="Tutto" Value="0"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
var options = {
responsive: true,
maintainAspectRatio: true,
scale: {
ticks: {
beginAtZero: true,
max: maxVal,
min: -0.5
}
},
animation: {
duration: 0
},
legend: {
display: false
}
};
var data = {
labels: aLabels,
datasets: [
// valori effettivi!
{
label: titolo,
backgroundColor: "rgba(54, 162, 235, 0.4)",
borderColor: "rgba(54, 162, 235, 1)",
borderWidth: 4,
pointBackgroundColor: "rgba(54, 100, 165, 1)",
pointRadius: 8,
data: aDatasets1
},
// verde scuro
{
backgroundColor: "rgba(34, 255, 34, 0.35)",
borderColor: "rgba(34, 255, 34, 1)",
borderWidth: 1,
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
},
// verde
{
backgroundColor: "rgba(54, 255, 54, 0.35)",
borderColor: "rgba(54, 255, 54, 1)",
borderWidth: 1,
data: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
},
// giallo
{
backgroundColor: "rgba(255, 255, 54, 0.25)",
borderColor: "rgba(255, 255, 54, 1)",
borderWidth: 1,
data: [2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
},
// arancione
{
backgroundColor: "rgba(255, 135, 54, 0.15)",
borderColor: "rgba(255, 135, 54, 1)",
borderWidth: 1,
data: [3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
},
// rosso esterno
{
backgroundColor: "rgba(255, 54, 54, 0.05)",
borderColor: "rgba(255, 54, 54, 1)",
borderWidth: 1,
data: [4, 4, 4, 4, 4, 4, 4, 4, 4, 4]
}
]
};
<script>
// funzione eseguita se successo al caricamento
function OnSuccess_(reponse) {
var myChart = new Chart(ctx, {
type: 'radar',
data: data,
options: options
});
}
// errore in reload!
function OnErrorCall_(repo) {
alert("Errore recupero dati grafico!");
}
// effettuo plotting grafico!
function plotRadar() {
// caricamento pagina
$.ajax({
type: "POST",
url: "Services/WS_data.asmx/userScoreData",
data: "{ idxUser: <%=hfIdxPaziente.Value %>, dataRif: '<%=hfData.Value%>' }",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess_,
error: OnErrorCall_
});
//alert("Loaded 01!");
}
// recupero dati restituiti
var dataTS = reponse;
// funzione di drawing ad OGNI pageload!
function pageLoad() {
plotRadar();
}
</script>--%>
var myOptions = {
scales: {
xAxes: [{
type: 'time',
distribution: 'linear',
}]
}
//responsive: true,
//maintainAspectRatio: true,
, animation: {
duration: 200
},
//legend: {
// display: false
//}
};
//console.log('Recieved our data', dataTS);
// recupero obj chart
var ctx = document.getElementById('myChart').getContext('2d');
var chart = new Chart(ctx, {
type: 'line',
data: {
datasets: [{
//backgroundColor: 'rgb(180,180,180)',
borderColor: 'rgb(60, 180, 120)',
lineTension: 0,
label: 'Temperatura Rilevata',
data: dataTS
}]
},
options: myOptions
});
}
// errore in reload!
function OnErrorCall_(repo) {
alert("Errore recupero dati grafico!");
}
// effettuo plotting grafico!
function plotTS() {
// caricamento pagina
$.ajax({
type: "GET",
url: "api/TempRil/<%=hfIdxDip.Value %>?date=<%=hfData.Value%>&numRec=<%=ddlMaxNum.SelectedValue%>",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess_,
error: OnErrorCall_
});
}
// funzione di drawing ad OGNI pageload!
function pageLoad() {
// chiamo recupero dati + plot
plotTS();
}
</script>
+20 -3
View File
@@ -1,4 +1,6 @@
using System;
using GPW_data;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -7,11 +9,26 @@ using System.Web.UI.WebControls;
namespace GPW_Smart.WebUserControls
{
public partial class cmp_chart : System.Web.UI.UserControl
public partial class cmp_chart : BaseUserControl
{
protected DateTime dataRif
{
get
{
DateTime answ = DateTime.Today;
string dtRif = memLayer.ML.QSS("dataRif");
if (!string.IsNullOrEmpty(dtRif))
{
DateTime.TryParse(dtRif, out answ);
}
return answ;
}
}
protected void Page_Load(object sender, EventArgs e)
{
// imposto valori...
hfIdxDip.Value = $"{DataProxy.idxDipendente}";
hfData.Value = dataRif.ToString("yyyy-MM-dd");
}
}
}
+11 -2
View File
@@ -15,13 +15,13 @@ namespace GPW_Smart.WebUserControls
{
/// <summary>
/// Controllo hfIdxPaziente.
/// Controllo hfIdxDip.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfIdxPaziente;
protected global::System.Web.UI.WebControls.HiddenField hfIdxDip;
/// <summary>
/// Controllo hfData.
@@ -31,5 +31,14 @@ namespace GPW_Smart.WebUserControls
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfData;
/// <summary>
/// Controllo ddlMaxNum.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlMaxNum;
}
}
+9
View File
@@ -6,6 +6,7 @@
<package id="AspNet.ScriptManager.bootstrap" version="4.4.1" targetFramework="net462" />
<package id="AspNet.ScriptManager.jQuery" version="3.4.1" targetFramework="net462" />
<package id="bootstrap" version="4.4.1" targetFramework="net462" />
<package id="Chart.js" version="2.9.3" targetFramework="net462" />
<package id="Crc32C.NET" version="1.0.5.0" targetFramework="net462" />
<package id="DnsClient" version="1.3.1" targetFramework="net462" />
<package id="elmah" version="1.2.2" targetFramework="net462" />
@@ -21,11 +22,19 @@
<package id="Microsoft.AspNet.SessionState.SessionStateModule" version="1.1.0" targetFramework="net462" />
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.AspNet.Web.Optimization.WebForms" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.AspNet.WebApi" version="5.2.7" targetFramework="net462" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net462" />
<package id="Microsoft.AspNet.WebApi.Client.it" version="5.2.7" targetFramework="net462" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net462" />
<package id="Microsoft.AspNet.WebApi.Core.it" version="5.2.7" targetFramework="net462" />
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.7" targetFramework="net462" />
<package id="Microsoft.AspNet.WebApi.WebHost.it" version="5.2.7" targetFramework="net462" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.0" targetFramework="net462" />
<package id="Microsoft.NETCore.Platforms" version="3.1.0" targetFramework="net462" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net462" />
<package id="Microsoft.Web.RedisSessionStateProvider" version="4.0.1" targetFramework="net462" />
<package id="Modernizr" version="2.8.3" targetFramework="net462" />
<package id="Moment.js" version="2.27.0" targetFramework="net462" />
<package id="MongoDB.Bson" version="2.10.3" targetFramework="net462" />
<package id="MongoDB.Driver" version="2.10.3" targetFramework="net462" />
<package id="MongoDB.Driver.Core" version="2.10.3" targetFramework="net462" />
+2
View File
@@ -161,7 +161,9 @@
<DesignTime>True</DesignTime>
<DependentUpon>DS_Utility.xsd</DependentUpon>
</Compile>
<Compile Include="Enums.cs" />
<Compile Include="licenzeGPW.cs" />
<Compile Include="Objects.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
Vendored
+1 -1
View File
@@ -10,7 +10,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=4118']) {
withEnv(['NEXT_BUILD_NUMBER=4119']) {
// env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'GPW'