diff --git a/Jenkinsfile b/Jenkinsfile
index 974d78be..89d08d69 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,7 +17,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
- withEnv(['NEXT_BUILD_NUMBER=698']) {
+ withEnv(['NEXT_BUILD_NUMBER=699']) {
// env.versionNumber = VersionNumber(versionNumberString : '5.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '5.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO'
diff --git a/MP-Tablet/Fermate.aspx b/MP-Tablet/Fermate.aspx
new file mode 100644
index 00000000..fb1841b4
--- /dev/null
+++ b/MP-Tablet/Fermate.aspx
@@ -0,0 +1,22 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bootstrap.Master" AutoEventWireup="true" CodeBehind="Fermate.aspx.cs" Inherits="MoonProTablet.Fermate" %>
+<%@ Register Src="~/WebUserControls/mod_dettMacchina.ascx" TagName="mod_dettMacchina" TagPrefix="uc1" %>
+<%@ Register Src="~/WebUserControls/mod_dichiarazione.ascx" TagName="mod_dichiarazione" TagPrefix="uc2" %>
+<%@ Register Src="~/WebUserControls/mod_insComm.ascx" TagPrefix="uc1" TagName="mod_insComm" %>
+<%@ Register Src="~/WebUserControls/mod_directLinks.ascx" TagPrefix="uc1" TagName="mod_directLinks" %>
+
+
+
+
+
+
diff --git a/MP-Tablet/Fermate.aspx.cs b/MP-Tablet/Fermate.aspx.cs
new file mode 100644
index 00000000..fc1c4128
--- /dev/null
+++ b/MP-Tablet/Fermate.aspx.cs
@@ -0,0 +1,62 @@
+using SteamWare;
+using System;
+using System.Web.UI;
+
+namespace MoonProTablet
+{
+ public partial class Fermate : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ Session["TipoLink"] = "EditMacch";
+ // se c'è una data/ora in sessione la imposto...
+ if (memLayer.ML.isInSessionObject("inizioStato"))
+ {
+ try
+ {
+ DateTime dataOraEv = Convert.ToDateTime(memLayer.ML.objSessionObj("inizioStato"));
+ mod_insComm.dataEv = dataOraEv;
+ memLayer.ML.emptySessionVal("inizioStato");
+ }
+ catch
+ { }
+ }
+ }
+ mod_dichiarazione1.eh_newVal += new EventHandler(mod_dichiarazione1_eh_newVal);
+ mod_insComm.eh_inserting += mod_insComm1_eh_inserting;
+ mod_insComm.eh_reset += mod_insComm1_eh_reset;
+ }
+
+ void mod_insComm1_eh_reset(object sender, EventArgs e)
+ {
+ }
+
+ void mod_insComm1_eh_inserting(object sender, EventArgs e)
+ {
+ }
+ ///
+ /// chiama udpate x evento in controller dichiarazioni
+ ///
+ ///
+ ///
+ void mod_dichiarazione1_eh_newVal(object sender, EventArgs e)
+ {
+ mod_dettMacchina1.doUpdate();
+ // controllo: se è "aperto" ins dichiarazione metto pure quella...
+ if (!mod_dichiarazione1.insRealtime)
+ {
+ if (mod_insComm.commento != "")
+ {
+ // chiamo insert SE C'E' commento
+ mod_insComm.salvaCommento();
+ }
+ // elimino data ev! e quindi realtime!
+ memLayer.ML.emptySessionVal("dataOraEv");
+ // ricarico pagina!
+ Response.Redirect("Commenti.aspx");
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/MP-Tablet/Fermate.aspx.designer.cs b/MP-Tablet/Fermate.aspx.designer.cs
new file mode 100644
index 00000000..33fe46c6
--- /dev/null
+++ b/MP-Tablet/Fermate.aspx.designer.cs
@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+//
+// 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 MoonProTablet {
+
+
+ public partial class Fermate {
+
+ ///
+ /// Controllo mod_dettMacchina1.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::MoonProTablet.WebUserControls.mod_dettMacchina mod_dettMacchina1;
+
+ ///
+ /// Controllo mod_insComm.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::MoonProTablet.WebUserControls.mod_insComm mod_insComm;
+
+ ///
+ /// Controllo mod_dichiarazione1.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::MoonProTablet.WebUserControls.mod_dichiarazione mod_dichiarazione1;
+
+ ///
+ /// Controllo mod_directLinks.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::MoonProTablet.WebUserControls.mod_directLinks mod_directLinks;
+ }
+}
diff --git a/MP-Tablet/MP-Tablet.csproj b/MP-Tablet/MP-Tablet.csproj
index 2cdd8901..fb248a3d 100644
--- a/MP-Tablet/MP-Tablet.csproj
+++ b/MP-Tablet/MP-Tablet.csproj
@@ -225,6 +225,7 @@
+
@@ -555,6 +556,13 @@
Dichiarazione.aspx
+
+ Fermate.aspx
+ ASPXCodeBehind
+
+
+ Fermate.aspx
+
fixODL.aspx
ASPXCodeBehind
diff --git a/MP-Tablet/MP-Tablet.csproj.user b/MP-Tablet/MP-Tablet.csproj.user
index 6ee978d6..1fe66ae0 100644
--- a/MP-Tablet/MP-Tablet.csproj.user
+++ b/MP-Tablet/MP-Tablet.csproj.user
@@ -12,5 +12,29 @@
Debug|Any CPU
-
+
+
+
+
+
+
+ CurrentPage
+ True
+ False
+ False
+ False
+
+
+
+
+
+
+
+
+ True
+ True
+
+
+
+
\ No newline at end of file
diff --git a/SQL Utils/SqlUpdate_5.0.sql b/SQL Utils/SqlUpdate_5.0.sql
index 7735c16f..2f0e3e66 100644
--- a/SQL Utils/SqlUpdate_5.0.sql
+++ b/SQL Utils/SqlUpdate_5.0.sql
@@ -6,3 +6,9 @@ UPDATE LinkMenuJQM
WHERE idxLink=14 OR Testo='Logout'
GO
+
+UPDATE LinkMenuJQM
+ SET NavigateUrl = '~/Fermate.aspx'
+ WHERE Testo = 'Fermate'
+GO
+