diff --git a/Test.UI/Components/Pages/Gerarchia.razor b/Test.UI/Components/Pages/Gerarchia.razor
index 1e7901d..6c0c77f 100644
--- a/Test.UI/Components/Pages/Gerarchia.razor
+++ b/Test.UI/Components/Pages/Gerarchia.razor
@@ -5,10 +5,12 @@
diff --git a/Test.UI/Components/Pages/Gerarchia.razor.cs b/Test.UI/Components/Pages/Gerarchia.razor.cs
index d170762..ca282c5 100644
--- a/Test.UI/Components/Pages/Gerarchia.razor.cs
+++ b/Test.UI/Components/Pages/Gerarchia.razor.cs
@@ -4,6 +4,7 @@ using EgwCoreLib.Lux.Data.Services;
using Microsoft.AspNetCore.Components;
using Newtonsoft.Json;
using NLog;
+using System.Diagnostics;
using WebWindowComplex;
using WebWindowComplex.DTO;
@@ -13,7 +14,7 @@ namespace Test.UI.Components.Pages
{
#region Public Properties
- public Template SelTemplate { get; set; } = new Template(0, "---SELECT---", "", "");
+ public Template SelTemplate { get; set; } = new Template(0, "---SELECT---", "", "");
#endregion Public Properties
@@ -27,7 +28,7 @@ namespace Test.UI.Components.Pages
#endregion Public Methods
#region Protected Fields
-
+
protected string currJwd = "...";
protected Dictionary
>(rawVal) ?? new List
>(rawValHW) ?? new List
Frame
Split
- Area split
- Orientation
- Bottom rail
- Opening
- }
- else
- {
- Sash opening @(i * 2 + j + 1)
- }
- Sash joints
- Orientation
Bottom rail
+ Anta @(i + 1)
+ @if (item.SashList.Count == 1)
+ {
+ Opening
+ }
+ else
+ {
+ Sash opening @(i * 2 + j + 1)
+ }
Sash joints
+ Anta @(i + 1)
+ Hardware
+ @("Area " + currSplitParent.Description + " " + numSash )
- numSash++;
+ @("Sash " + (j + 1))
}
- else if(currSplitParent.Description.Contains("Split"))
+ else if (SashList[j].Equals(currSplit.ParentArea.ParentArea))
+ {
+ @for (int k = 0; k < SashList[j].AreaList.Count; k++)
+ {
+ @if (SashList[j].AreaList[k].AreaList[0].Equals(currSplit))
+ {
+ @("Sash " + (j + 1) + " - anta " + (k + 1))
+ }
+ }
+ }
+ }
+ }
+ else if (currSplit.ParentArea is Splitted)
+ {
+ for(int j = 0; j < SplittedList.Count; j++)
+ {
+ if (SplittedList[j].Equals(currSplit.ParentArea))
{
- @("Area " + currSplitParent.Description + " " + numSplit)
numSplit++;
+ @("Area di split " + numSplit)
}
- else
- {
- @("Area " + currSplitParent.Description)
- }
- Split
- @("Frame")
+ }
+ Split
+ Orientation
Orientation
+ Bottom rail
+ Opening
+ }
+ else
+ {
+ Sash opening @(i * 2 + j + 1)
+ }
+ Sash joints
+ Bottom rail
- Opening
- }
- else
- {
- Sash opening @(i * 2 + j + 1)
- }
+ Anta @(i + 1)
Sash joints
-