From 2de7c431d7a4855edaf42b6f7b8eadb93c5e5ace Mon Sep 17 00:00:00 2001 From: Annamaria Sassi Date: Fri, 6 Mar 2026 16:43:48 +0100 Subject: [PATCH] Interfaccia parametri e jwd mancanti --- Test.UI/Components/Pages/TestError.razor.cs | 4 ++-- WebWindowComplex/TableComp.razor | 23 +++++++++++++++++-- WebWindowComplex/TableComp.razor.cs | 3 +++ WebWindowComplex/WebWindowComplex.csproj | 16 ++++++++++++- .../WebWindowConfigurator.csproj | 23 ++++++++++++++++++- 5 files changed, 63 insertions(+), 6 deletions(-) diff --git a/Test.UI/Components/Pages/TestError.razor.cs b/Test.UI/Components/Pages/TestError.razor.cs index 70cd78b..4eb0b6e 100644 --- a/Test.UI/Components/Pages/TestError.razor.cs +++ b/Test.UI/Components/Pages/TestError.razor.cs @@ -611,9 +611,9 @@ namespace Test.UI.Components.Pages } private Task RemoveJwd() { - //InitialJwd = ""; + //InitialJwd = "{}"; //currJwd = InitialJwd; - CurrData.CurrJwd = ""; + CurrData.CurrJwd = "{}"; // rileggo altri dati return ReloadData(); } diff --git a/WebWindowComplex/TableComp.razor b/WebWindowComplex/TableComp.razor index 293ef25..a069e23 100644 --- a/WebWindowComplex/TableComp.razor +++ b/WebWindowComplex/TableComp.razor @@ -6,11 +6,30 @@ } else if (!okParams) { -
Parametri Mancanti!
+
+
+
+ +
+
+
Parametri Mancanti!
+
+
+
} else if (!okJwd) { -
JWD Mancante!
+
+
+
+ +
+
+
JWD Mancante!
+
+
+
+ } else { diff --git a/WebWindowComplex/TableComp.razor.cs b/WebWindowComplex/TableComp.razor.cs index fd5a501..cbb56e6 100644 --- a/WebWindowComplex/TableComp.razor.cs +++ b/WebWindowComplex/TableComp.razor.cs @@ -637,7 +637,10 @@ namespace WebWindowComplex { WindowFromJson = JsonConvert.DeserializeObject(LiveData.CurrJwd, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", ""); if (WindowFromJson == null || WindowFromJson.AreaList == null || WindowFromJson.AreaList.Count == 0) + { WindowFromJson = BuildFrameDefault(); + Log.Info("Ricostruito jwd"); + } UpdateInputList(WindowFromJson); setCurrWindow(WindowFromJson); //SOLO SE non sono in edit... diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj index 9307516..4410efe 100644 --- a/WebWindowComplex/WebWindowComplex.csproj +++ b/WebWindowComplex/WebWindowComplex.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 3.1.3.615 + 3.1.3.616 Annamaria Sassi Egalware Componente gestione Configurazioni avanzate Window per LUX @@ -290,6 +290,20 @@ + + + + + + + + + + + + + + diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj index 570f86c..5e2f2e7 100644 --- a/WebWindowConfigurator/WebWindowConfigurator.csproj +++ b/WebWindowConfigurator/WebWindowConfigurator.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 3.1.3.615 + 3.1.3.616 Annamaria Sassi Egalware Componente gestione JWD per LUX @@ -276,6 +276,27 @@ + + + + + + + + + + + + + + + + + + + + +