@if (isLoading) { } else { if (listErrPre != null && listErrPre.Count > 0) {
Errori validazione!
    @foreach (var item in listErrPre) {
  • @item.Value
  • }
} else if (listErrLink != null && listErrLink.Count > 0) {
Errore configurazione:
    @foreach (var item in listErrLink) {
  • @item.Value
  • }
} else {
@if (currStep != CompileStep.Template) { }
@if (string.IsNullOrEmpty(LiveData.CurrJwd)) { @if (currStep == CompileStep.Template && ListPayload.TemplateDTO != null) { @foreach (var item in ListPayload.TemplateDTO) { string colorClass = ""; @if (SelTemplateDTO != null && item.Index == SelTemplateDTO.Index) colorClass = "table-success"; else colorClass = ""; }
# Image Description
@item.Index @item.Description
} } @if (currStep == CompileStep.Tree) {
@for (int i = 0; i < ItemTableList.Count; i++) { @for (int j = 0; j < m_maxCol; j++) { CompileStep cs = CompileStep.Frame; int ind = -1; @if (j + 1 == ItemTableList[i].Col) { @if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.FRAME) { cs = CompileStep.Frame; } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.SPLIT) { cs = CompileStep.Split; ind = ItemTableList[i].IndexItem; } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.SASH) { cs = CompileStep.Sash; ind = ItemTableList[i].IndexItem; } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.FILL) { cs = CompileStep.Fill; ind = ItemTableList[i].IndexItem; } } else { } } }
@FillTable(i, j)
} else if (currStep == CompileStep.Frame) { @if (m_CurrWindow != null) { m_PreviousWindow = m_CurrWindow; }

Frame


Dimension
@foreach (FrameDimension dimension in FrameWindow.DimensionList) {
@dimension.sName mm
}
Threshold

Joints
@foreach (Joint joint in FrameWindow.JointList) {
}
@if (m_SashList.Count == 0) {
Bottom rail
Quantity
}
@if (!(FrameWindow.AreaList[0] is Split) || (SashList.Count == 0 && SplitList.Count == 0)) { }
} else if (currStep == CompileStep.Split) { @if (currSplit >= SplitList.Count || currSplit == -1) { currStep = CompileStep.Tree; } else { Split item = SplitList[currSplit];
@(descParentSplit(item))
Split
@if ((item.nSplitQtyVert == 1 && item.nSplitQtyHoriz == 0) || (item.nSplitQtyVert == 0 && item.nSplitQtyHoriz == 1)) {
}
@if (item.nSplitQtyVert > 0) {
QtyVert
} @if (item.nSplitQtyHoriz > 0) {
QtyHoriz
}
@if (item.SplitVertList.Count > 0 && item.SplitHorizList.Count > 0) {
@foreach (var dim in item.SplitVertList) {
Width %
}
@foreach (var dim in item.SplitHorizList) {
Height %
}
} else if (item.SplitHorizList.Count > 0) { @foreach (var dim in item.SplitHorizList) {
Height %
} } else if (item.SplitVertList.Count > 0) { @foreach (var dim in item.SplitVertList) {
Width %
} }
@if (item.SelSplitShape == Json.WindowConst.SplitShapes.GRID) {
}
} } else if (currStep == CompileStep.Sash) { @if (currSash >= SashList.Count || currSash == -1) { currStep = CompileStep.Tree; } else { Sash item = SashList[currSash];
@if (SashList.Count > 1) {

Window @(currSash + 1)

} else {

Window

}
Qty sash
Qty bottom rail

Joints
@foreach (Joint joint in item.JointList) {
}
Hardware
@for (int i = 0; i <= item.SashList.Count / 2; i++) { for (int j = 0; j < 2 && (i * 2 + j <= item.SashList.Count - 1); j++) { SashDimension sash = item.SashList[i * 2 + j]; Area anta; @if (item.AreaList[i * 2 + j] is Splitted) { anta = item.AreaList[i * 2 + j]; } else { anta = item; }
@if (item.SashList.Count == 1) {
Sash
} else {
Sash @(i * 2 + j + 1)
}
Dimension %
@if (!(anta.AreaList[0] is Split)) {
}
@for (int k = 0; k <= item.SashList.Count - 1; k++) { @if (k != i * 2 + j) { int IndexCopy = k; int IndexModify = i * 2 + j;
} }
} }
} } else if (currStep == CompileStep.Fill) { @if (currFill >= FillList.Count || currFill == -1) { currStep = CompileStep.Tree; } else { Fill item = FillList[currFill]; } } else if (currStep == CompileStep.General) { }
@if (currStep != CompileStep.Template) {
@outSvg
} if (listWarnings != null && listWarnings.Count > 0) {
Mancata corrispondenza valori:
    @foreach (var item in listWarnings) {
  • @item.Value
  • }
} } }
@if (bError) { }