@if (currStep == CompileStep.Frame)
{
Dimension
@foreach (FrameDimension dimension in m_Frame.DimensionList)
{
@dimension.nIndex
@dimension.sName
}
Joints frame
@foreach (Joint joint in m_Frame.JointList)
{
}
@if (m_SashList.Count == 0)
{
}
}
else if (currStep == CompileStep.Split)
{
@for (int i = 0; i < SplitList.Count; i += 2)
{
Split currSplit = SplitList[i];
if (i + 1 < SplitList.Count)
{
Split NextSplit = SplitList[i + 1];
}
}
}
else if (currStep == CompileStep.Sash)
{
@foreach (var item in SashList)
{
Orientation
@for (int i = 0; i < item.SashList.Count; i += 2)
{
SashDimension sash = item.SashList[i];
@if (item.SashList.Count == 1)
{
Opening
}
else
{
Sash opening @(i + 1)
}
Dimension
@if (i + 1 < item.SashList.Count)
{
SashDimension sashNext = item.SashList[i + 1];
@if (item.SashList.Count == 1)
{
Opening
}
else
{
Sash opening @(i + 2)
}
Dimension
}
}
Sash joints
@foreach (Joint joint in item.JointList)
{
}
}
}
else if (currStep == CompileStep.Fill)
{
@foreach (var Fill in FillList)
{
@if (FillList.Count == 1)
{
Fill
}
else
{
Fill @(FillList.IndexOf(Fill) + 1)
}
}
}