@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) {
Bottom rail
Quantity
}
} else if (currStep == CompileStep.Split) {
@for (int i = 0; i < SplitList.Count; i += 2) { Split currSplit = SplitList[i];
Split @(i + 1)
Number
@foreach (var dim in currSplit.SplitPositionList) { string desc = ""; @if (currSplit.SelSplitShape == Json.WindowConst.SplitShapes.VERTICAL) { desc = "Larghezza split "; } else { desc = "Altezza split "; }
@desc @(currSplit.SplitPositionList.IndexOf(dim) + 1)
}
if (i + 1 < SplitList.Count) { Split NextSplit = SplitList[i + 1];
Split @(i + 2)
Number
@foreach (var dim in NextSplit.SplitPositionList) { string desc = ""; @if (NextSplit.SelSplitShape == Json.WindowConst.SplitShapes.VERTICAL) { desc = "Larghezza split "; } else { desc = "Altezza split "; }
@desc @(NextSplit.SplitPositionList.IndexOf(dim) + 1)
}
} }
} else if (currStep == CompileStep.Sash) {
@foreach (var item in SashList) {
Number
Orientation
Bottom rail
Quantity
@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)
}
}
}
@outSvg