diff --git a/NKC_WF/WebUserControls/cmp_stackBuilding.ascx b/NKC_WF/WebUserControls/cmp_stackBuilding.ascx index 0ca7b57..7ff6189 100644 --- a/NKC_WF/WebUserControls/cmp_stackBuilding.ascx +++ b/NKC_WF/WebUserControls/cmp_stackBuilding.ascx @@ -12,9 +12,7 @@
- - PRINT - + PRINT
@@ -50,6 +48,18 @@ + + +
+
+
+
+
+ + + + + diff --git a/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.cs b/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.cs index 4dac399..5db4c68 100644 --- a/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.cs @@ -113,6 +113,7 @@ namespace NKC_WF.WebUserControls public void doUpdate() { repCtrl.DataBind(); + repProgress.DataBind(); checkPrint(); } @@ -172,5 +173,16 @@ namespace NKC_WF.WebUserControls // aggiorno stato BATCH ComLib.updateBatchPositionByBunk(StackId); } + + public string getProgressStyle(object _num, object _den) + { + string answ = "width: 10%"; + int num = 0; + int den = 1; + int.TryParse(_num.ToString(), out num); + int.TryParse(_den.ToString(), out den); + answ = $"width: {num * 100 / den}%"; + return answ; + } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.designer.cs index 27287a7..397364a 100644 --- a/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_stackBuilding.ascx.designer.cs @@ -85,5 +85,23 @@ namespace NKC_WF.WebUserControls /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// Controllo repProgress. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Repeater repProgress; + + /// + /// Controllo odsAdvance. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsAdvance; } }