diff --git a/MP-ADM/WebUserControls/cmp_planStats_Fasi.ascx.cs b/MP-ADM/WebUserControls/cmp_planStats_Fasi.ascx.cs
index d7e64307..1ebde56c 100644
--- a/MP-ADM/WebUserControls/cmp_planStats_Fasi.ascx.cs
+++ b/MP-ADM/WebUserControls/cmp_planStats_Fasi.ascx.cs
@@ -12,7 +12,7 @@ namespace MP_ADM.WebUserControls
{
#region Public Properties
- public string selValue
+ public string SelCodGrp
{
get
{
diff --git a/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx b/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx
new file mode 100644
index 00000000..d1d754f1
--- /dev/null
+++ b/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx
@@ -0,0 +1,40 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_planStats_Mac.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_planStats_Mac" %>
+
+<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx.cs b/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx.cs
new file mode 100644
index 00000000..b038edf7
--- /dev/null
+++ b/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx.cs
@@ -0,0 +1,91 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace MP_ADM.WebUserControls
+{
+ public partial class cmp_planStats_Mac : BaseUserControl
+ {
+ #region Public Properties
+
+ public string CodGrp
+ {
+ get
+ {
+ return hfCodGrp.Value;
+ }
+ set
+ {
+ hfCodGrp.Value = value;
+ }
+ }
+
+ public string SelIdxMacchina
+ {
+ get
+ {
+ string answ = "";
+ if (grView.SelectedIndex >= 0)
+ {
+ answ = $"{grView.SelectedValue}";
+ }
+ return answ;
+ }
+ }
+
+ #endregion Public Properties
+
+ #region Private Methods
+
+ private void Cmp_numRow_eh_newNum(object sender, EventArgs e)
+ {
+ grView.PageSize = cmp_numRow.numRowPag;
+ }
+
+ #endregion Private Methods
+
+ #region Protected Methods
+
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ raiseSelNew();
+ }
+
+ ///
+ /// comando reset
+ ///
+ ///
+ ///
+ protected void lbtReset_Click(object sender, EventArgs e)
+ {
+ doReset();
+ raiseReset();
+ }
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ cmp_numRow.numRowPag = memLayer.ML.CRI("_righeDataGridShort") / 2;
+ grView.PageSize = cmp_numRow.numRowPag;
+ }
+ cmp_numRow.eh_newNum += Cmp_numRow_eh_newNum;
+ }
+
+ #endregion Protected Methods
+
+ #region Public Methods
+
+ public void doReset()
+ {
+ grView.SelectedIndex = -1;
+ grView.DataBind();
+ }
+
+ #endregion Public Methods
+ }
+}
\ No newline at end of file
diff --git a/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx.designer.cs b/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx.designer.cs
new file mode 100644
index 00000000..c02ecd01
--- /dev/null
+++ b/MP-ADM/WebUserControls/cmp_planStats_Mac.ascx.designer.cs
@@ -0,0 +1,53 @@
+//------------------------------------------------------------------------------
+//
+// Codice generato da uno strumento.
+//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
+//------------------------------------------------------------------------------
+
+namespace MP_ADM.WebUserControls
+{
+
+
+ public partial class cmp_planStats_Mac
+ {
+
+ ///
+ /// Controllo hfCodGrp.
+ ///
+ ///
+ /// 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.HiddenField hfCodGrp;
+
+ ///
+ /// Controllo grView.
+ ///
+ ///
+ /// 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.GridView grView;
+
+ ///
+ /// Controllo ods.
+ ///
+ ///
+ /// 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 ods;
+
+ ///
+ /// Controllo cmp_numRow.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::MP_ADM.WebUserControls.cmp_numRow cmp_numRow;
+ }
+}
diff --git a/MP-ADM/WebUserControls/mod_planStats.ascx b/MP-ADM/WebUserControls/mod_planStats.ascx
index 7fc38826..9f931ee3 100644
--- a/MP-ADM/WebUserControls/mod_planStats.ascx
+++ b/MP-ADM/WebUserControls/mod_planStats.ascx
@@ -2,6 +2,7 @@
<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagPrefix="uc1" TagName="mod_ricercaGenerica" %>
<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %>
<%@ Register Src="~/WebUserControls/cmp_planStats_Fasi.ascx" TagPrefix="uc1" TagName="cmp_planStats_Fasi" %>
+<%@ Register Src="~/WebUserControls/cmp_planStats_Mac.ascx" TagPrefix="uc1" TagName="cmp_planStats_Mac" %>
@@ -60,10 +61,10 @@
- <%----%>
-
+
-
+ <%----%>
+
@@ -73,42 +74,10 @@