Fix date x controllo periodo analisi (da web.config) sia x term che GMW standard

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@218 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2010-09-03 10:12:14 +00:00
parent ee86b1a0be
commit 550529ee14
19 changed files with 30 additions and 2 deletions
+3
View File
@@ -90,6 +90,9 @@
<add key="NumY" value="5" />
<add key="NumZ" value="1" />
<!--Setup periodo controlli date-->
<add key="defDayFrom" value="-60"/>
<!--Setup codici postazioni-->
<add key="IdxPosNewFusi" value="80"/>
<add key="IdxPosNewWip" value="84"/>
@@ -191,7 +191,15 @@ public partial class mod_periodoAnalisi : System.Web.UI.UserControl
public void setPeriodoFree()
{
// imposto come periodo libero
DropDownList1.SelectedIndex = 0;
// inserisco un intervallo date da parametro web.config
intervalloDate interv = new intervalloDate();
interv.fine = DateTime.Now.Date.AddDays(1);
interv.inizio = interv.fine.AddDays(memLayer.ML.confReadInt("defDayFrom"));
intervalloAnalisi = interv;
// update!
doUpdate();
}
#region gestione eventi
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
View File
@@ -35,6 +35,9 @@
<add key="NumY" value="5"/>
<add key="NumZ" value="1"/>
<!--Setup periodo controlli date-->
<add key="defDayFrom" value="-60"/>
<!--Setup codici postazioni-->
<add key="IdxPosNewFusi" value="80"/>
<add key="IdxPosNewWip" value="84"/>
Binary file not shown.
Binary file not shown.
+4 -1
View File
@@ -83,7 +83,10 @@
<add key="NumX" value="10" />
<add key="NumY" value="5" />
<add key="NumZ" value="1" />
<!--Setup periodo controlli date-->
<add key="defDayFrom" value="-60"/>
<!--Setup codici postazioni-->
<add key="IdxPosNewFusi" value="80"/>
<add key="IdxPosNewWip" value="84"/>
@@ -190,7 +190,15 @@ public partial class mod_periodoAnalisi : System.Web.UI.UserControl
public void setPeriodoFree()
{
// imposto come periodo libero
DropDownList1.SelectedIndex = 0;
// inserisco un intervallo date da parametro web.config
intervalloDate interv = new intervalloDate();
interv.fine = DateTime.Now.Date.AddDays(1);
interv.inizio = interv.fine.AddDays(memLayer.ML.confReadInt("defDayFrom"));
intervalloAnalisi = interv;
// update!
doUpdate();
}
#region gestione eventi
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
View File
@@ -35,6 +35,9 @@
<add key="NumY" value="5"/>
<add key="NumZ" value="1"/>
<!--Setup periodo controlli date-->
<add key="defDayFrom" value="-60"/>
<!--Setup codici postazioni-->
<add key="IdxPosNewFusi" value="80"/>
<add key="IdxPosNewWip" value="84"/>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -350,7 +350,7 @@
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW"
"ProductCode" = "8:{608D41A2-B7A3-4CBD-B57D-997F9B1C9AC4}"
"PackageCode" = "8:{55C6BFF3-7835-4C1A-9DF9-6AF176F8A47D}"
"PackageCode" = "8:{F1DC295F-A84D-4629-8F7E-C543B1520101}"
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"