From 186005656f422f0305f759c23258c192f58ba9ba Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 21 Feb 2024 17:54:15 +0100 Subject: [PATCH 01/10] update conf x path disegni --- MP-TAB3/Program.cs | 3 +-- MP-TAB3/appsettings.Production.json | 2 +- MP-TAB3/appsettings.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/MP-TAB3/Program.cs b/MP-TAB3/Program.cs index ee5757b0..318e051f 100644 --- a/MP-TAB3/Program.cs +++ b/MP-TAB3/Program.cs @@ -59,9 +59,8 @@ app.UseHttpsRedirection(); app.UseStaticFiles(); - +// gestione static files: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-8.0 string BasePathDisegni = configuration.GetValue("OptConf:BasePathDisegni"); - // gestione cartella x PDF app.UseStaticFiles(new StaticFileOptions { diff --git a/MP-TAB3/appsettings.Production.json b/MP-TAB3/appsettings.Production.json index 89d96edf..f562d43f 100644 --- a/MP-TAB3/appsettings.Production.json +++ b/MP-TAB3/appsettings.Production.json @@ -7,6 +7,6 @@ } }, "OptConf": { - "BasePathDisegni": "c:\\inetpub\\wwwroot\\MP\\disegni" + "BasePathDisegni": "C:\\Steamware\\disegni" } } diff --git a/MP-TAB3/appsettings.json b/MP-TAB3/appsettings.json index 65fd4245..684b54e4 100644 --- a/MP-TAB3/appsettings.json +++ b/MP-TAB3/appsettings.json @@ -24,7 +24,7 @@ "ImgStBasePath": "C:\\Steamware\\images\\ST", "CodModulo": "MoonPro", "samplerMaxCall": 15, - "BasePathDisegni": "\\\\iis01\\c$\\inetpub\\wwwroot\\MP" + "BasePathDisegni": "\\\\iis01\\W$\\Files\\Disegni" }, "AlarmDest": "samuele.locatelli@egalware.com, ceo@steamware.net", "MailKitMailSettings": { From 7df41a840382a82aa19b148a60762bfde19e522b Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 21 Feb 2024 18:31:16 +0100 Subject: [PATCH 02/10] Update cong estione embed dei PDF --- MP-TAB3/Components/MachineBlock.razor | 8 +++++++- MP-TAB3/Components/MachineBlock.razor.cs | 10 ++++++++++ MP-TAB3/MP-TAB3.csproj | 2 +- MP-TAB3/Resources/ChangeLog.html | 2 +- MP-TAB3/Resources/VersNum.txt | 2 +- MP-TAB3/Resources/manifest.xml | 2 +- 6 files changed, 21 insertions(+), 5 deletions(-) diff --git a/MP-TAB3/Components/MachineBlock.razor b/MP-TAB3/Components/MachineBlock.razor index 2435062b..b9865128 100644 --- a/MP-TAB3/Components/MachineBlock.razor +++ b/MP-TAB3/Components/MachineBlock.razor @@ -236,7 +236,8 @@ else
- + @* *@ +
@@ -245,3 +246,8 @@ else } } + +@if (showDraw) +{ + +} \ No newline at end of file diff --git a/MP-TAB3/Components/MachineBlock.razor.cs b/MP-TAB3/Components/MachineBlock.razor.cs index c129bc10..4de27c7b 100644 --- a/MP-TAB3/Components/MachineBlock.razor.cs +++ b/MP-TAB3/Components/MachineBlock.razor.cs @@ -37,6 +37,16 @@ namespace MP_TAB3.Components #endregion Public Properties + private bool showDraw { get; set; } = false; + + /// + /// Toggle visibilità button + /// + protected void ToggleDraw() + { + showDraw = !showDraw; + } + #region Public Methods /// diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index 836d3efe..eae5e9b8 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2402.2117 + 6.16.2402.2118 enable MP_TAB3 diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html index 3cfc36eb..f9b00273 100644 --- a/MP-TAB3/Resources/ChangeLog.html +++ b/MP-TAB3/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2402.2117

+

Versione: 6.16.2402.2118


Note di rilascio:
  • diff --git a/MP-TAB3/Resources/VersNum.txt b/MP-TAB3/Resources/VersNum.txt index 5fd8124c..58918492 100644 --- a/MP-TAB3/Resources/VersNum.txt +++ b/MP-TAB3/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2402.2117 +6.16.2402.2118 diff --git a/MP-TAB3/Resources/manifest.xml b/MP-TAB3/Resources/manifest.xml index 781ee989..8179e600 100644 --- a/MP-TAB3/Resources/manifest.xml +++ b/MP-TAB3/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2402.2117 + 6.16.2402.2118 https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html false From ee17743d078d1c3fefc76a0410bd0b5e6ee082a6 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 21 Feb 2024 18:36:44 +0100 Subject: [PATCH 03/10] Altro test componente x tablet --- MP-TAB3/Components/MachineBlock.razor | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MP-TAB3/Components/MachineBlock.razor b/MP-TAB3/Components/MachineBlock.razor index b9865128..9b7be130 100644 --- a/MP-TAB3/Components/MachineBlock.razor +++ b/MP-TAB3/Components/MachineBlock.razor @@ -247,7 +247,9 @@ else } } -@if (showDraw) +@if (showDraw && RecMSE != null) { - + + + @* *@ } \ No newline at end of file From 68c66fec24d6f85fd83ede9e6f9b373d4b2ea9f8 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 21 Feb 2024 18:42:14 +0100 Subject: [PATCH 04/10] test con iframe --- MP-TAB3/Components/MachineBlock.razor | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MP-TAB3/Components/MachineBlock.razor b/MP-TAB3/Components/MachineBlock.razor index 9b7be130..98c6765a 100644 --- a/MP-TAB3/Components/MachineBlock.razor +++ b/MP-TAB3/Components/MachineBlock.razor @@ -249,7 +249,10 @@ else @if (showDraw && RecMSE != null) { - +