Correzioni
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user