Gestione joint sash con aggiunta split nel frame

This commit is contained in:
Annamaria Sassi
2026-03-16 18:28:59 +01:00
parent 83161fd2c4
commit 10e1a79b0a
4 changed files with 35 additions and 3 deletions
+5 -1
View File
@@ -202,7 +202,9 @@ namespace WebWindowComplex.Compo
if (frame != null && (frame.Shape is Json.WindowConst.Shapes.ARC ||
frame.Shape is Json.WindowConst.Shapes.ARC_FULL ||
frame.Shape is Json.WindowConst.Shapes.DOUBLEARC ||
frame.Shape is Json.WindowConst.Shapes.THREECENTERARC))
frame.Shape is Json.WindowConst.Shapes.THREECENTERARC) &&
(CurrSashGroup.ParentArea.ParentArea is Split &&
CurrSashGroup.ParentArea.ParentArea.AreaList.LastOrDefault().AreaList.FirstOrDefault().Equals(CurrSashGroup)))
{
if(CurrSashGroup.SashList.Count == 1)
{
@@ -221,6 +223,8 @@ namespace WebWindowComplex.Compo
CurrSashDim.JointList.ElementAt(i).SelJointType = JointType;
}
}
else
CurrSashDim.JointList.ElementAt(i).SelJointType = JointType;
}
return EC_UpdateSashDim.InvokeAsync(CurrSashDim);
}
+12
View File
@@ -184,6 +184,18 @@ namespace WebWindowComplex.Models
Frame frame = ParentWindow.AreaList.First();
if(frame != null)
{
// Aggiorno joint di tutte le ante
if(AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault() is Sash)
{
Sash sash = (Sash)AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault();
foreach(var anta in sash.SashList)
{
foreach (var j in anta.JointList)
j.SelJointType = anta.JointList.FirstOrDefault().SelJointType;
}
}
// Aggiorno altezza sotto aree
frame.SearchAreaList(frame, frame.AvailHeightArea(), "Height");
}
}
+12 -1
View File
@@ -6,7 +6,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>3.1.3.1617</Version>
<Version>3.1.3.1618</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
@@ -36,3 +36,14 @@
</Project>
@@ -6,7 +6,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>3.1.3.1617</Version>
<Version>3.1.3.1618</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Componente gestione JWD per LUX</Description>
@@ -41,3 +41,8 @@