From f31e90b18b26f5356d73a700965d6307f49c04a8 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 8 Aug 2025 10:31:07 +0200 Subject: [PATCH] Update gestione environment - in API x cercare img x env - update metodo x BEAM/WINDOW... --- EgwCoreLib.Lux.Data/DbModel/OfferRowModel.cs | 5 ++ ...r.cs => 20250808082124_InitDb.Designer.cs} | 67 ++++++++++--------- ...634_InitDb.cs => 20250808082124_InitDb.cs} | 32 ++++----- .../DataLayerContextModelSnapshot.cs | 65 ++++++++++-------- .../Services/ImageCacheService.cs | 29 ++++---- Lux.API/Controllers/WindowController.cs | 9 +-- Lux.API/Lux.API.csproj | 2 +- Lux.UI/Components/Compo/OfferRowMan.razor | 2 +- Lux.UI/Components/Compo/OfferRowMan.razor.cs | 40 +++++++---- Lux.UI/Components/Pages/Scratch.razor.cs | 4 +- Lux.UI/Lux.UI.csproj | 7 +- Lux.UI/appsettings.json | 3 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 15 files changed, 158 insertions(+), 113 deletions(-) rename EgwCoreLib.Lux.Data/Migrations/{20250807162634_InitDb.Designer.cs => 20250808082124_InitDb.Designer.cs} (95%) rename EgwCoreLib.Lux.Data/Migrations/{20250807162634_InitDb.cs => 20250808082124_InitDb.cs} (94%) diff --git a/EgwCoreLib.Lux.Data/DbModel/OfferRowModel.cs b/EgwCoreLib.Lux.Data/DbModel/OfferRowModel.cs index 6fb94cb7..48295e22 100644 --- a/EgwCoreLib.Lux.Data/DbModel/OfferRowModel.cs +++ b/EgwCoreLib.Lux.Data/DbModel/OfferRowModel.cs @@ -32,6 +32,11 @@ namespace EgwCoreLib.Lux.Data.DbModel /// public int RowNum { get; set; } = 0; + /// + /// Campo salvato dell'Environment + /// + public string Environment { get; set; } = "WINDOW"; + /// /// Campo salvato dell'UID da codice DataMatrix calcolato /// diff --git a/EgwCoreLib.Lux.Data/Migrations/20250807162634_InitDb.Designer.cs b/EgwCoreLib.Lux.Data/Migrations/20250808082124_InitDb.Designer.cs similarity index 95% rename from EgwCoreLib.Lux.Data/Migrations/20250807162634_InitDb.Designer.cs rename to EgwCoreLib.Lux.Data/Migrations/20250808082124_InitDb.Designer.cs index 787a11d9..61780564 100644 --- a/EgwCoreLib.Lux.Data/Migrations/20250807162634_InitDb.Designer.cs +++ b/EgwCoreLib.Lux.Data/Migrations/20250808082124_InitDb.Designer.cs @@ -12,7 +12,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace EgwCoreLib.Lux.Data.Migrations { [DbContext(typeof(DataLayerContext))] - [Migration("20250807162634_InitDb")] + [Migration("20250808082124_InitDb")] partial class InitDb { /// @@ -718,13 +718,13 @@ namespace EgwCoreLib.Lux.Data.Migrations CustomerID = 2, DealerID = 2, Description = "Offerta per tre serramenti", - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(5999), - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6001), + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2063), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2064), OffertState = 0, RefNum = 1, RefRev = 1, RefYear = 2024, - ValidUntil = new DateTime(2025, 9, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(5995) + ValidUntil = new DateTime(2025, 9, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2060) }); }); @@ -742,6 +742,10 @@ namespace EgwCoreLib.Lux.Data.Migrations b.Property("Cost") .HasColumnType("double"); + b.Property("Environment") + .IsRequired() + .HasColumnType("longtext"); + b.Property("Inserted") .HasColumnType("datetime(6)"); @@ -797,11 +801,12 @@ namespace EgwCoreLib.Lux.Data.Migrations OfferRowID = 1, BomOk = false, Cost = 950.0, - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6029), + Environment = "WINDOW", + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2090), ItemBOM = "", ItemOk = false, ItemSPP = "{}", - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6031), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2092), Note = "Finestra anta singola 2025", OfferID = 1, OfferRowUID = "OFF0000000001", @@ -815,11 +820,12 @@ namespace EgwCoreLib.Lux.Data.Migrations OfferRowID = 2, BomOk = false, Cost = 160.0, - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6038), + Environment = "WINDOW", + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2098), ItemBOM = "", ItemOk = false, ItemSPP = "{}", - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6039), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2100), Note = "Persiana per Finestra anta singola 2025", OfferID = 1, OfferRowUID = "OFF0000000002", @@ -833,11 +839,12 @@ namespace EgwCoreLib.Lux.Data.Migrations OfferRowID = 3, BomOk = false, Cost = 200.0, - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6045), + Environment = "WINDOW", + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2105), ItemBOM = "", ItemOk = false, ItemSPP = "{}", - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6047), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2107), Note = "Installazione serramento", OfferID = 1, OfferRowUID = "OFF0000000003", @@ -1378,8 +1385,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 1, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2639), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2701), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1806), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1857), MovCod = "CAR", Note = "DEMO", QtyRec = 5.0, @@ -1391,8 +1398,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 2, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2704), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2705), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1860), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1861), MovCod = "CAR", Note = "DEMO", QtyRec = 8.0, @@ -1404,8 +1411,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 3, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2707), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2708), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1863), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1865), MovCod = "CAR", Note = "DEMO", QtyRec = 5.0, @@ -1417,8 +1424,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 4, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2711), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2712), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1867), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1868), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1430,8 +1437,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 5, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2714), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2716), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1870), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1872), MovCod = "CAR", Note = "DEMO", QtyRec = 10.0, @@ -1443,8 +1450,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 6, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2718), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2719), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1874), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1875), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1456,8 +1463,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 7, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2722), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2723), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1878), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1879), MovCod = "CAR", Note = "DEMO", QtyRec = 50.0, @@ -1469,8 +1476,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 8, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2725), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2726), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1881), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1883), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1482,8 +1489,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 9, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2729), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2730), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1885), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1886), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1495,8 +1502,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 10, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2732), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2734), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1888), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1890), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, diff --git a/EgwCoreLib.Lux.Data/Migrations/20250807162634_InitDb.cs b/EgwCoreLib.Lux.Data/Migrations/20250808082124_InitDb.cs similarity index 94% rename from EgwCoreLib.Lux.Data/Migrations/20250807162634_InitDb.cs rename to EgwCoreLib.Lux.Data/Migrations/20250808082124_InitDb.cs index 88e8f513..21d079bc 100644 --- a/EgwCoreLib.Lux.Data/Migrations/20250807162634_InitDb.cs +++ b/EgwCoreLib.Lux.Data/Migrations/20250808082124_InitDb.cs @@ -365,6 +365,8 @@ namespace EgwCoreLib.Lux.Data.Migrations .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), OfferID = table.Column(type: "int", nullable: false), RowNum = table.Column(type: "int", nullable: false), + Environment = table.Column(type: "longtext", nullable: false) + .Annotation("MySql:CharSet", "utf8mb4"), OfferRowUID = table.Column(type: "longtext", nullable: false) .Annotation("MySql:CharSet", "utf8mb4"), SellingItemID = table.Column(type: "int", nullable: false), @@ -765,7 +767,7 @@ namespace EgwCoreLib.Lux.Data.Migrations migrationBuilder.InsertData( table: "Offer", columns: new[] { "OfferID", "CustomerID", "DealerID", "Description", "Inserted", "Modified", "OffertState", "RefNum", "RefRev", "RefYear", "ValidUntil" }, - values: new object[] { 1, 2, 2, "Offerta per tre serramenti", new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(5999), new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6001), 0, 1, 1, 2024, new DateTime(2025, 9, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(5995) }); + values: new object[] { 1, 2, 2, "Offerta per tre serramenti", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2063), new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2064), 0, 1, 1, 2024, new DateTime(2025, 9, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2060) }); migrationBuilder.InsertData( table: "RegItem", @@ -808,12 +810,12 @@ namespace EgwCoreLib.Lux.Data.Migrations migrationBuilder.InsertData( table: "OfferRowList", - columns: new[] { "OfferRowID", "BomOk", "Cost", "Inserted", "ItemBOM", "ItemOk", "ItemSPP", "Modified", "Note", "OfferID", "OfferRowUID", "Qty", "RowNum", "SellingItemID", "SerStruct" }, + columns: new[] { "OfferRowID", "BomOk", "Cost", "Environment", "Inserted", "ItemBOM", "ItemOk", "ItemSPP", "Modified", "Note", "OfferID", "OfferRowUID", "Qty", "RowNum", "SellingItemID", "SerStruct" }, values: new object[,] { - { 1, false, 950.0, new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6029), "", false, "{}", new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6031), "Finestra anta singola 2025", 1, "OFF0000000001", 3.0, 1, 1, "{}" }, - { 2, false, 160.0, new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6038), "", false, "{}", new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6039), "Persiana per Finestra anta singola 2025", 1, "OFF0000000002", 3.0, 2, 2, "{}" }, - { 3, false, 200.0, new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6045), "", false, "{}", new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6047), "Installazione serramento", 1, "OFF0000000003", 3.0, 3, 3, "{}" } + { 1, false, 950.0, "WINDOW", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2090), "", false, "{}", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2092), "Finestra anta singola 2025", 1, "OFF0000000001", 3.0, 1, 1, "{}" }, + { 2, false, 160.0, "WINDOW", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2098), "", false, "{}", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2100), "Persiana per Finestra anta singola 2025", 1, "OFF0000000002", 3.0, 2, 2, "{}" }, + { 3, false, 200.0, "WINDOW", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2105), "", false, "{}", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2107), "Installazione serramento", 1, "OFF0000000003", 3.0, 3, 3, "{}" } }); migrationBuilder.InsertData( @@ -838,16 +840,16 @@ namespace EgwCoreLib.Lux.Data.Migrations columns: new[] { "StockMovID", "CodDoc", "DtCreate", "MovCod", "Note", "QtyRec", "StockStatusId", "UnitVal", "UserId" }, values: new object[,] { - { 1, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2639), "CAR", "DEMO", 5.0, 1, 0.0, "samuele.locatelli@egalware.com" }, - { 2, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2704), "CAR", "DEMO", 8.0, 2, 0.0, "samuele.locatelli@egalware.com" }, - { 3, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2707), "CAR", "DEMO", 5.0, 3, 0.0, "samuele.locatelli@egalware.com" }, - { 4, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2711), "CAR", "DEMO", 1.0, 4, 0.0, "samuele.locatelli@egalware.com" }, - { 5, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2714), "CAR", "DEMO", 10.0, 5, 0.0, "samuele.locatelli@egalware.com" }, - { 6, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2718), "CAR", "DEMO", 1.0, 6, 0.0, "samuele.locatelli@egalware.com" }, - { 7, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2722), "CAR", "DEMO", 50.0, 7, 0.0, "samuele.locatelli@egalware.com" }, - { 8, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2725), "CAR", "DEMO", 1.0, 8, 0.0, "samuele.locatelli@egalware.com" }, - { 9, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2729), "CAR", "DEMO", 1.0, 9, 0.0, "samuele.locatelli@egalware.com" }, - { 10, "", new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2732), "CAR", "DEMO", 1.0, 10, 0.0, "samuele.locatelli@egalware.com" } + { 1, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1806), "CAR", "DEMO", 5.0, 1, 0.0, "samuele.locatelli@egalware.com" }, + { 2, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1860), "CAR", "DEMO", 8.0, 2, 0.0, "samuele.locatelli@egalware.com" }, + { 3, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1863), "CAR", "DEMO", 5.0, 3, 0.0, "samuele.locatelli@egalware.com" }, + { 4, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1867), "CAR", "DEMO", 1.0, 4, 0.0, "samuele.locatelli@egalware.com" }, + { 5, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1870), "CAR", "DEMO", 10.0, 5, 0.0, "samuele.locatelli@egalware.com" }, + { 6, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1874), "CAR", "DEMO", 1.0, 6, 0.0, "samuele.locatelli@egalware.com" }, + { 7, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1878), "CAR", "DEMO", 50.0, 7, 0.0, "samuele.locatelli@egalware.com" }, + { 8, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1881), "CAR", "DEMO", 1.0, 8, 0.0, "samuele.locatelli@egalware.com" }, + { 9, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1885), "CAR", "DEMO", 1.0, 9, 0.0, "samuele.locatelli@egalware.com" }, + { 10, "", new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1888), "CAR", "DEMO", 1.0, 10, 0.0, "samuele.locatelli@egalware.com" } }); migrationBuilder.CreateIndex( diff --git a/EgwCoreLib.Lux.Data/Migrations/DataLayerContextModelSnapshot.cs b/EgwCoreLib.Lux.Data/Migrations/DataLayerContextModelSnapshot.cs index 208d9ee9..91a47bc1 100644 --- a/EgwCoreLib.Lux.Data/Migrations/DataLayerContextModelSnapshot.cs +++ b/EgwCoreLib.Lux.Data/Migrations/DataLayerContextModelSnapshot.cs @@ -715,13 +715,13 @@ namespace EgwCoreLib.Lux.Data.Migrations CustomerID = 2, DealerID = 2, Description = "Offerta per tre serramenti", - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(5999), - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6001), + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2063), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2064), OffertState = 0, RefNum = 1, RefRev = 1, RefYear = 2024, - ValidUntil = new DateTime(2025, 9, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(5995) + ValidUntil = new DateTime(2025, 9, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2060) }); }); @@ -739,6 +739,10 @@ namespace EgwCoreLib.Lux.Data.Migrations b.Property("Cost") .HasColumnType("double"); + b.Property("Environment") + .IsRequired() + .HasColumnType("longtext"); + b.Property("Inserted") .HasColumnType("datetime(6)"); @@ -794,11 +798,12 @@ namespace EgwCoreLib.Lux.Data.Migrations OfferRowID = 1, BomOk = false, Cost = 950.0, - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6029), + Environment = "WINDOW", + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2090), ItemBOM = "", ItemOk = false, ItemSPP = "{}", - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6031), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2092), Note = "Finestra anta singola 2025", OfferID = 1, OfferRowUID = "OFF0000000001", @@ -812,11 +817,12 @@ namespace EgwCoreLib.Lux.Data.Migrations OfferRowID = 2, BomOk = false, Cost = 160.0, - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6038), + Environment = "WINDOW", + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2098), ItemBOM = "", ItemOk = false, ItemSPP = "{}", - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6039), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2100), Note = "Persiana per Finestra anta singola 2025", OfferID = 1, OfferRowUID = "OFF0000000002", @@ -830,11 +836,12 @@ namespace EgwCoreLib.Lux.Data.Migrations OfferRowID = 3, BomOk = false, Cost = 200.0, - Inserted = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6045), + Environment = "WINDOW", + Inserted = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2105), ItemBOM = "", ItemOk = false, ItemSPP = "{}", - Modified = new DateTime(2025, 8, 7, 18, 26, 34, 71, DateTimeKind.Local).AddTicks(6047), + Modified = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(2107), Note = "Installazione serramento", OfferID = 1, OfferRowUID = "OFF0000000003", @@ -1375,8 +1382,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 1, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2639), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2701), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1806), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1857), MovCod = "CAR", Note = "DEMO", QtyRec = 5.0, @@ -1388,8 +1395,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 2, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2704), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2705), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1860), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1861), MovCod = "CAR", Note = "DEMO", QtyRec = 8.0, @@ -1401,8 +1408,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 3, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2707), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2708), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1863), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1865), MovCod = "CAR", Note = "DEMO", QtyRec = 5.0, @@ -1414,8 +1421,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 4, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2711), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2712), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1867), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1868), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1427,8 +1434,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 5, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2714), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2716), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1870), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1872), MovCod = "CAR", Note = "DEMO", QtyRec = 10.0, @@ -1440,8 +1447,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 6, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2718), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2719), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1874), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1875), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1453,8 +1460,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 7, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2722), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2723), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1878), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1879), MovCod = "CAR", Note = "DEMO", QtyRec = 50.0, @@ -1466,8 +1473,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 8, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2725), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2726), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1881), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1883), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1479,8 +1486,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 9, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2729), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2730), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1885), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1886), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, @@ -1492,8 +1499,8 @@ namespace EgwCoreLib.Lux.Data.Migrations { StockMovID = 10, CodDoc = "", - DtCreate = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2732), - DtMod = new DateTime(2025, 8, 7, 18, 26, 34, 67, DateTimeKind.Local).AddTicks(2734), + DtCreate = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1888), + DtMod = new DateTime(2025, 8, 8, 10, 21, 23, 588, DateTimeKind.Local).AddTicks(1890), MovCod = "CAR", Note = "DEMO", QtyRec = 1.0, diff --git a/EgwCoreLib.Lux.Data/Services/ImageCacheService.cs b/EgwCoreLib.Lux.Data/Services/ImageCacheService.cs index 27a966d5..f935882a 100644 --- a/EgwCoreLib.Lux.Data/Services/ImageCacheService.cs +++ b/EgwCoreLib.Lux.Data/Services/ImageCacheService.cs @@ -25,12 +25,13 @@ namespace EgwCoreLib.Lux.Data.Services cacheTag = _config.GetValue("ServerConf:ImageFileTag") ?? "svgfile"; calcTag = _config.GetValue("ServerConf:ImageCalcTag") ?? "svg-preview"; // verifico la url base - apiUrl = _config.GetValue("ServerConf:Prog.ApiUrl") ?? "https://iis01.egalware.com/lux/srv/api/window"; + apiUrl = _config.GetValue("ServerConf:Prog.ApiUrl") ?? "https://iis01.egalware.com/lux/srv/api"; + imgBasePath = _config.GetValue("ServerConf:ImageBaseUrl") ?? "window"; // fix opzioni base del RestClient restOptStd = new RestClientOptions { Timeout = TimeSpan.FromSeconds(60), - BaseUrl = new Uri(apiUrl) + BaseUrl = new Uri($"{apiUrl}/{imgBasePath}") }; Log.Info("ImageCache Service Started"); } @@ -73,12 +74,13 @@ namespace EgwCoreLib.Lux.Data.Services { var request = new RestRequest(ApiRequest, Method.Post); string rawData = JsonConvert.SerializeObject(JsonBody); - request.AddJsonBody(rawData); + request.AddJsonBody(rawData); response = await client.ExecutePostAsync(request); } return response; } #endif + /// /// Effettua una generica chiamata ApiRest /// @@ -119,25 +121,28 @@ namespace EgwCoreLib.Lux.Data.Services } /// - /// Recupera img redis SVG x uid richiesta + /// Recupera img redis SVG x id item richiesto /// + /// UID item + /// Environment item /// - public string LoadSvg(string imgUid) + public string LoadSvg(string imgUid, EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS env = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW) { // recupero img da cache - string currKey = $"{redisBaseKey}:Images:{imgUid.Replace("/", ":")}"; + string currKey = $"{redisBaseKey}:{env}:Images:{imgUid.Replace("/", ":")}"; var rawVal = _redisService.Get(currKey); return $"{rawVal}"; } /// - /// Recupera img redis SVG x id porta richiesta + /// Recupera img redis SVG x id item richiesto async /// - /// \ - public async Task LoadSvgAsync(string imgId) + /// UID item + /// Environment item + public async Task LoadSvgAsync(string imgId, EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS env = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW) { // recupero img da cache - string currKey = $"{redisBaseKey}:Images:{imgId.Replace("/", ":")}"; + string currKey = $"{redisBaseKey}:{env}:Images:{imgId.Replace("/", ":")}"; var rawVal = await _redisService.GetAsync(currKey); return $"{rawVal}"; } @@ -222,11 +227,9 @@ namespace EgwCoreLib.Lux.Data.Services private readonly string apiUrl = ""; private readonly string bomChannel = "bom:item"; - private readonly string cacheTag = "svgfile"; - private readonly string calcTag = "svgpreview"; - + private readonly string imgBasePath = ""; private readonly string liveTag = "svg"; private readonly string svgChannel = "svg:img"; diff --git a/Lux.API/Controllers/WindowController.cs b/Lux.API/Controllers/WindowController.cs index 7335da69..37e62715 100644 --- a/Lux.API/Controllers/WindowController.cs +++ b/Lux.API/Controllers/WindowController.cs @@ -97,13 +97,14 @@ namespace Lux.API.Controllers /// /// Chiamata GET: restituisce file SVG (da file o da cache) - /// PUT: api/window/svg-file/00000000-0000-0000-0000-000000000000 + /// GET: api/window/svg-file/OFF000000001?env=WINDOW /// - /// id oggetto + /// uid oggetto + /// environment oggetto /// [HttpGet("svgfile/{id}")] [HttpGet("svg-file/{id}")] - public async Task> svgFile(string id) + public async Task> svgFile(string id, Constants.EXECENVIRONMENTS env = Constants.EXECENVIRONMENTS.WINDOW) { Stopwatch sw = new Stopwatch(); sw.Start(); @@ -117,7 +118,7 @@ namespace Lux.API.Controllers id = id.Replace(".svg", ""); } - string svgContent = await _imgService.LoadSvgAsync(id); + string svgContent = await _imgService.LoadSvgAsync(id, env); byte[] bytes = System.Text.Encoding.UTF8.GetBytes(svgContent); sw.Stop(); diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj index d12818fd..3c68cb8d 100644 --- a/Lux.API/Lux.API.csproj +++ b/Lux.API/Lux.API.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 0.9.2508.0718 + 0.9.2508.0810 diff --git a/Lux.UI/Components/Compo/OfferRowMan.razor b/Lux.UI/Components/Compo/OfferRowMan.razor index a68df578..76a7ca05 100644 --- a/Lux.UI/Components/Compo/OfferRowMan.razor +++ b/Lux.UI/Components/Compo/OfferRowMan.razor @@ -57,7 +57,7 @@ else @if (DisplayMode == EgwCoreLib.Lux.Core.Enum.DisplayMode.Edit) { - + } @item.OfferRowUID diff --git a/Lux.UI/Components/Compo/OfferRowMan.razor.cs b/Lux.UI/Components/Compo/OfferRowMan.razor.cs index dffb3272..9717b215 100644 --- a/Lux.UI/Components/Compo/OfferRowMan.razor.cs +++ b/Lux.UI/Components/Compo/OfferRowMan.razor.cs @@ -1,3 +1,4 @@ +using EgwCoreLib.Lux.Data; using EgwCoreLib.Lux.Data.DbModel; using EgwCoreLib.Lux.Data.Services; using Microsoft.AspNetCore.Components; @@ -10,44 +11,59 @@ namespace Lux.UI.Components.Compo #region Public Properties [Parameter] - public int OfferID { get; set; } = 0; - + public DisplayMode DisplayMode { get; set; } = DisplayMode.Standard; [Parameter] - public DisplayMode DisplayMode { get; set; } =DisplayMode.Standard; + public int OfferID { get; set; } = 0; #endregion Public Properties - - #region Protected Properties + [Inject] + protected IConfiguration Config { get; set; } = null!; + [Inject] protected DataLayerServices DLService { get; set; } = null!; + [Inject] + protected ImageCacheService ICService { get; set; } = null!; + #endregion Protected Properties #region Protected Methods + protected void DoEdit(OfferRowModel curRec) + { + EditRecord = curRec; + } + + protected string imgUrl(string imgUid) + { + return ICService.ImageUrl($"{apiUrl}/{imgBasePath}", false, imgUid); + } + + protected override void OnInitialized() + { + apiUrl = Config.GetValue("ServerConf:Prog.ApiUrl") ?? ""; + imgBasePath = Config.GetValue("ServerConf:ImageBaseUrl") ?? ""; + } + protected override void OnParametersSet() { ReloadData(); UpdateTable(); } - protected void DoEdit(OfferRowModel curRec) - { - EditRecord = curRec; - } - - private OfferRowModel? EditRecord = null; - #endregion Protected Methods #region Private Fields private List AllRecords = new List(); + private string apiUrl = ""; private int currPage = 1; + private OfferRowModel? EditRecord = null; + private string imgBasePath = ""; private bool isLoading = false; private List ListRecords = new List(); private int numRecord = 10; diff --git a/Lux.UI/Components/Pages/Scratch.razor.cs b/Lux.UI/Components/Pages/Scratch.razor.cs index a9879534..f32c7c17 100644 --- a/Lux.UI/Components/Pages/Scratch.razor.cs +++ b/Lux.UI/Components/Pages/Scratch.razor.cs @@ -47,6 +47,7 @@ namespace Lux.UI.Components.Pages protected override void OnInitialized() { apiUrl = Config.GetValue("ServerConf:Prog.ApiUrl") ?? ""; + imgBasePath = Config.GetValue("ServerConf:ImageBaseUrl") ?? ""; calcTag = Config.GetValue("ServerConf:ImageCalcTag") ?? ""; subChannel = Config.GetValue("ServerConf:SvgChannel") ?? ""; DLService.CalcDonePipe.EA_NewMessage += CalcDonePipe_EA_NewMessage; @@ -60,7 +61,7 @@ namespace Lux.UI.Components.Pages protected async Task SendCalc() { // chiamo la chiamata POST alla API, che manda la richiesta via REDIS - await ICService.CallRestPost(apiUrl, $"{calcTag}/{windowUid}", demoJwd); + await ICService.CallRestPost($"{apiUrl}/{imgBasePath}", $"{calcTag}/{windowUid}", demoJwd); } #endregion Protected Methods @@ -76,6 +77,7 @@ namespace Lux.UI.Components.Pages /// private string demoJwd = "{\r\n\"ProfilePath\":\"Profilo78\",\r\n\"AreaList\":[\r\n{\r\n\"Shape\":\"RECTANGLE\",\r\n\"DimensionList\":[\r\n{\r\n\"nIndex\":1,\r\n\"sName\":\"Width\",\r\n\"dValue\":1200.0\r\n},\r\n{\r\n\"nIndex\":2,\r\n\"sName\":\"Height\",\r\n\"dValue\":1500.0\r\n}\r\n],\r\n\"JointList\":[\r\n{\r\n\"nIndex\":1,\r\n\"JointType\":\"FULL_V\"\r\n},\r\n{\r\n\"nIndex\":2,\r\n\"JointType\":\"FULL_V\"\r\n},\r\n{\r\n\"nIndex\":3,\r\n\"JointType\":\"FULL_V\"\r\n},\r\n{\r\n\"nIndex\":4,\r\n\"JointType\":\"FULL_V\"\r\n}\r\n],\r\n\"BottomRail\":false,\r\n\"BottomRailQty\":0,\r\n\"AreaList\":[\r\n{\r\n\"bIsSashVertical\":true,\r\n\"SashList\":[\r\n{\r\n\"OpeningType\":\"TURNONLY_LEFT\",\r\n\"bHasHandle\":false,\r\n\"dDimension\":50.0\r\n},\r\n{\r\n\"OpeningType\":\"TILTTURN_RIGHT\",\r\n\"bHasHandle\":true,\r\n\"dDimension\":50.0\r\n}\r\n],\r\n\"SashType\":\"NULL\",\r\n\"JointList\":[\r\n{\r\n\"nIndex\":1,\r\n\"JointType\":\"FULL_V\"\r\n},\r\n{\r\n\"nIndex\":2,\r\n\"JointType\":\"FULL_V\"\r\n},\r\n{\r\n\"nIndex\":3,\r\n\"JointType\":\"FULL_V\"\r\n},\r\n{\r\n\"nIndex\":4,\r\n\"JointType\":\"FULL_V\"\r\n}\r\n],\r\n\"Hardware\":\"000000\",\r\n\"AreaList\":[\r\n{\r\n\"AreaList\":[\r\n{\r\n\"FillType\":\"GLASS\",\r\n\"AreaList\":[],\r\n\"AreaType\":\"FILL\"\r\n}\r\n],\r\n\"AreaType\":\"SPLITTED\"\r\n},\r\n{\r\n\"AreaList\":[\r\n{\r\n\"FillType\":\"GLASS\",\r\n\"AreaList\":[],\r\n\"AreaType\":\"FILL\"\r\n}\r\n],\r\n\"AreaType\":\"SPLITTED\"\r\n}\r\n],\r\n\"AreaType\":\"SASH\"\r\n}\r\n],\r\n\"AreaType\":\"FRAME\"\r\n}\r\n]\r\n}"; + private string imgBasePath = ""; private string subChannel = ""; private string windowUid = "TestWindow"; diff --git a/Lux.UI/Lux.UI.csproj b/Lux.UI/Lux.UI.csproj index 0ba6269f..679cb4cd 100644 --- a/Lux.UI/Lux.UI.csproj +++ b/Lux.UI/Lux.UI.csproj @@ -5,7 +5,7 @@ enable enable aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50 - 0.9.2508.0718 + 0.9.2508.0810 @@ -17,8 +17,9 @@ - - + + + diff --git a/Lux.UI/appsettings.json b/Lux.UI/appsettings.json index 3bec57dc..cfc7e3e5 100644 --- a/Lux.UI/appsettings.json +++ b/Lux.UI/appsettings.json @@ -58,7 +58,8 @@ }, "ServerConf": { "ImageCalcTag": "svg-preview", - "Prog.ApiUrl": "https://iis01.egalware.com/lux/srv/api/window", + "Prog.ApiUrl": "https://iis01.egalware.com/lux/srv/api", + "ImageBaseUrl": "window", "PubChannel": "EgwEngineInput", "SubChannel": "EgwEngineOutput", "SvgChannel": "svg:img", diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index f499eabb..eb89a14f 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ LUX - Web Windows MES -

Versione: 0.9.2508.0718

+

Versione: 0.9.2508.0810


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index 2536a245..845ec1ee 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -0.9.2508.0718 +0.9.2508.0810 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index 600e8c2f..48ee53c2 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 0.9.2508.0718 + 0.9.2508.0810 http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html false