Correzioni

This commit is contained in:
Annamaria Sassi
2026-01-27 16:51:26 +01:00
parent f18f2bb05a
commit 3f96d71c30
10 changed files with 98 additions and 97 deletions
+14 -10
View File
@@ -168,6 +168,10 @@ namespace WebWindowComplex
{
get => m_SplittedList;
}
protected List<Split> SplitList
{
get => m_SplitList;
}
protected string SelColorMaterial { get; set; } = "";
protected string SelFamilyHardware { get; set; } = "";
@@ -175,11 +179,6 @@ namespace WebWindowComplex
protected string SelMaterial { get; set; } = ""!;
protected string SelProfile { get; set; } = "";
protected List<Split> SplitList
{
get => m_SplitList;
}
#endregion Protected Properties
#region Protected Methods
@@ -1122,6 +1121,11 @@ namespace WebWindowComplex
{
Sash sash = (Sash)found;
SashDimension anta = sash.SashList.ElementAt(SashIdSearch);
for(int index = anta.ElementDimensionList.Count; index < profileNameList.Count; index++)
{
double valStd = Window.m_ParameterList.GetValueOrDefault(profileNameList.ElementAt(index) + "_DimStd");
anta.ElementDimensionList.Add(new ElementDimension(sash, index + 1, valStd));
}
for (int i = 0; i < anta.ElementDimensionList.Count; i++)
{
anta.ElementDimensionList.ElementAt(i).SetNameElement(profileNameList.ElementAt(i));
@@ -1131,14 +1135,14 @@ namespace WebWindowComplex
case AreaTypes.SPLIT:
{
Split split = (Split)found;
for (int i = 0; i < split.ElemDimHorizList.Count; i++)
{
split.ElemDimHorizList.ElementAt(i).SetNameElement(profileNameList.ElementAt(i));
}
for (int i = split.ElemDimHorizList.Count; i < split.ElemDimVertList.Count; i++)
for (int i = 0; i < split.ElemDimVertList.Count; i++)
{
split.ElemDimVertList.ElementAt(i).SetNameElement(profileNameList.ElementAt(i));
}
for (int i = split.ElemDimVertList.Count; i < split.ElemDimHorizList.Count; i++)
{
split.ElemDimHorizList.ElementAt(i).SetNameElement(profileNameList.ElementAt(i));
}
break;
}
}