@* *@ @if(currStep != CompileStep.Template) { }
@if (currStep == CompileStep.Template) { @foreach (var item in IN_TemplateDTOList) { string colorClass = ""; @if (SelTemplateDTO != null && item.Index == SelTemplateDTO.Index) colorClass = "table-success"; else colorClass = ""; }
# Image Description
@item.Index @item.Description
} @if (currStep == CompileStep.Frame) { @if(m_CurrWindow != null) { m_PreviousWindow = m_CurrWindow; }
Dimension
@foreach (FrameDimension dimension in FrameWindow.DimensionList) {
@dimension.sName mm
}
Frame joints
@foreach (Joint joint in FrameWindow.JointList) {
}
@if (m_SashList.Count == 0) {
Bottom rail
Quantity
}
} else if (currStep == CompileStep.Split) {
@for (int i = 0; i
Split @(i + 1)
Number
@foreach (var dim in currSplit.SplitPositionList) { string desc = ""; @if (currSplit.SelSplitShape == Json.WindowConst.SplitShapes.VERTICAL) { @if (currSplit.SplitPositionList.IndexOf(dim) == 0) { desc = "Larghezza a sx di split"; } else { desc = "Larghezza a dx di split"; } } else { @if (currSplit.SplitPositionList.IndexOf(dim) == 0) { desc = "Altezza sotto split"; } else { desc = "Altezza sopra split"; } }
@desc %
}
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) { @if (NextSplit.SplitPositionList.IndexOf(dim) == 0) { desc = "Larghezza a sx di split"; } else { desc = "Larghezza a dx di split"; } } else { @if (NextSplit.SplitPositionList.IndexOf(dim) == 0) { desc = "Altezza sotto split"; } else { desc = "Altezza sopra split"; } }
@desc %
}
} }
@* @foreach (var item in SplitList) {
Split @(SplitList.IndexOf(item) + 1)
Number
@foreach (var dim in item.SplitPositionList) { string desc = ""; @if (item.SelSplitShape == Json.WindowConst.SplitShapes.VERTICAL) { desc = "Larghezza split "; } else { desc = "Altezza split "; }
@desc @(item.SplitPositionList.IndexOf(dim) + 1)
}
} *@
} else if (currStep == CompileStep.Sash) {
@foreach (var item in SashList) {
Number
Orientation
Bottom rail
Quantity
@* @foreach (SashDimension sash in item.SashList) {
@if (item.SashList.Count == 1) {
Opening
} else {
Sash opening @(item.SashList.IndexOf(sash) + 1)
}
Dimension
} *@
@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)
}
}
}
@if(currStep != CompileStep.Template) {
@outSvg
}