-
-
+<%@ Register Src="~/WebUserControls/mod_periodoAnalisi.ascx" TagPrefix="uc1" TagName="mod_periodoAnalisi" %>
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.cs
index 75a0ac6..9bff371 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.cs
@@ -144,4 +144,15 @@ public partial class WebUserControls_mod_filtraMtzProg : SteamWare.UserControl
}
}
+ public bool showPeriodo
+ {
+ get
+ {
+ return mod_periodoAnalisi.Visible;
+ }
+ set
+ {
+ mod_periodoAnalisi.Visible = value;
+ }
+ }
}
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.designer.cs
index a62ea7c..f3683ce 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.designer.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_filtraMtzProg.ascx.designer.cs
@@ -82,4 +82,13 @@ public partial class WebUserControls_mod_filtraMtzProg {
/// To modify move field declaration from designer file to code-behind file.
///
protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine;
+
+ ///
+ /// mod_periodoAnalisi control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::mod_periodoAnalisi mod_periodoAnalisi;
}
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx
index e7b4a58..f5861fa 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx
@@ -41,12 +41,11 @@
OldValuesParameterFormatString="Original_{0}" FilterExpression=" (codImpianto LIKE '%{0}%') OR (nomeImpianto LIKE '%{0}%') OR (codMacchina LIKE '%{0}%') OR (nomeMacchina LIKE '%{0}%') OR (descrizione LIKE '%{0}%') OR (descrPriorita LIKE '%{0}%') OR (descrTipo LIKE '%{0}%') ">
-
-
-
+
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.cs
index 2c9738f..029b10c 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_mtzPrevPending.ascx.cs
@@ -84,6 +84,14 @@ public partial class mod_mtzPrevPending : ApplicationUserControl
{
ods.FilterExpression += " AND (idxMacchina = {3})";
}
+ if (memLayer.ML.isInSessionObject("_inizio"))
+ {
+ ods.FilterExpression += " AND (data >= {4})";
+ }
+ if (memLayer.ML.isInSessionObject("_fine"))
+ {
+ ods.FilterExpression += " AND (data <= {5})";
+ }
ods.DataBind();
}
///
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.cs
index 607c9b9..e935db4 100644
--- a/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.cs
+++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_periodoAnalisi.ascx.cs
@@ -61,6 +61,15 @@ public partial class mod_periodoAnalisi : System.Web.UI.UserControl
case "9_last_year":
_intervallo = _datario.estremiAnno(DateTime.Now.AddYears(-1));
break;
+ case "10_next_7":
+ _intervallo = _datario.prossimiGiorni(DateTime.Now, 7);
+ break;
+ case "11_next_15":
+ _intervallo = _datario.prossimiGiorni(DateTime.Now, 15);
+ break;
+ case "12_next_30":
+ _intervallo = _datario.prossimiGiorni(DateTime.Now, 30);
+ break;
default:
break;
}
diff --git a/Projects/WebGIM/GIM_site/bin/GIM_data.dll b/Projects/WebGIM/GIM_site/bin/GIM_data.dll
index b4a53a4..0d63339 100644
Binary files a/Projects/WebGIM/GIM_site/bin/GIM_data.dll and b/Projects/WebGIM/GIM_site/bin/GIM_data.dll differ
diff --git a/Projects/WebGIM/GIM_site/bin/GIM_site.dll b/Projects/WebGIM/GIM_site/bin/GIM_site.dll
index da969b1..b3ed2ae 100644
Binary files a/Projects/WebGIM/GIM_site/bin/GIM_site.dll and b/Projects/WebGIM/GIM_site/bin/GIM_site.dll differ
diff --git a/Projects/WebGIM/GIM_site/bin/SteamWare.dll b/Projects/WebGIM/GIM_site/bin/SteamWare.dll
index 08c3b6a..63e3bdc 100644
Binary files a/Projects/WebGIM/GIM_site/bin/SteamWare.dll and b/Projects/WebGIM/GIM_site/bin/SteamWare.dll differ
diff --git a/Projects/WebGIM/GIM_site/bin/SteamWare.xml b/Projects/WebGIM/GIM_site/bin/SteamWare.xml
index 3a28f26..e61484f 100644
--- a/Projects/WebGIM/GIM_site/bin/SteamWare.xml
+++ b/Projects/WebGIM/GIM_site/bin/SteamWare.xml
@@ -4876,6 +4876,14 @@
+
+
+ restituisce l'intervallo di N giorni dalla data indicata in avanti
+
+
+
+
+
restituisce l'intervallo della settimana corrente per la data indicata
diff --git a/Projects/WebGIM/GIM_site/mtzProg.aspx b/Projects/WebGIM/GIM_site/mtzProg.aspx
index e7a6436..e528d7b 100644
--- a/Projects/WebGIM/GIM_site/mtzProg.aspx
+++ b/Projects/WebGIM/GIM_site/mtzProg.aspx
@@ -25,7 +25,7 @@