Compare commits
2 Commits
develop
...
TestTemplate
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d530fc46e | |||
| b13dc6540d |
@@ -25,16 +25,3 @@ else if (!string.IsNullOrEmpty(outSave))
|
|||||||
<p>
|
<p>
|
||||||
@currJwd
|
@currJwd
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@*
|
|
||||||
IN_ColorMaterialList="@AvailColorMaterialList"
|
|
||||||
IN_FamilyHardwareList="@AvailFamilyHardwareList"
|
|
||||||
IN_GlassList="@AvailGlassList"
|
|
||||||
IN_HardwareList="@AvailHardwareList"
|
|
||||||
IN_MaterialList="@AvailMaterialList"
|
|
||||||
LiveSVG="@currSvg"
|
|
||||||
CurrJwd="@InitialJwd"
|
|
||||||
IN_SelFamilyHardware="@SelFamilyHardware"
|
|
||||||
IN_SelColorMaterial="@SelColorMaterial"
|
|
||||||
IN_SelMaterial="@SelMaterial"
|
|
||||||
IN_SelGlass="@SelGlass" *@
|
|
||||||
@@ -44,8 +44,8 @@ namespace Test.UI.Components.Pages
|
|||||||
protected List<Hardware> AvailHardwareList { get; set; } = new List<Hardware>();
|
protected List<Hardware> AvailHardwareList { get; set; } = new List<Hardware>();
|
||||||
protected List<string> AvailFamilyHardwareList { get; set; } = new List<string>()
|
protected List<string> AvailFamilyHardwareList { get; set; } = new List<string>()
|
||||||
{
|
{
|
||||||
new string("Arc"),
|
new string("Profilo78"),
|
||||||
new string("Profilo78")
|
new string("Arc")
|
||||||
};
|
};
|
||||||
protected List<string> AvailColorMaterialList { get; set; } = new List<string>()
|
protected List<string> AvailColorMaterialList { get; set; } = new List<string>()
|
||||||
{
|
{
|
||||||
@@ -93,10 +93,6 @@ namespace Test.UI.Components.Pages
|
|||||||
protected override async Task OnInitializedAsync()
|
protected override async Task OnInitializedAsync()
|
||||||
{
|
{
|
||||||
ConfInit();
|
ConfInit();
|
||||||
//SelFamilyHardware = "Natura";
|
|
||||||
//SelColorMaterial = "Black";
|
|
||||||
//SelColorMaterial = "Pine";
|
|
||||||
//SelGlass = "4T/16/4T";
|
|
||||||
InitialJwd = File.ReadAllText("Data\\AntaDoppia.jwd");
|
InitialJwd = File.ReadAllText("Data\\AntaDoppia.jwd");
|
||||||
currJwd = InitialJwd;
|
currJwd = InitialJwd;
|
||||||
// rileggo altri dati
|
// rileggo altri dati
|
||||||
@@ -113,7 +109,7 @@ namespace Test.UI.Components.Pages
|
|||||||
};
|
};
|
||||||
CurrData = new LivePayload()
|
CurrData = new LivePayload()
|
||||||
{
|
{
|
||||||
CurrJwd = InitialJwd,
|
InitJwd = InitialJwd,
|
||||||
SvgPreview = currSvg
|
SvgPreview = currSvg
|
||||||
};
|
};
|
||||||
DLService.CalcDonePipe.EA_NewMessage += CalcDonePipe_EA_NewMessage;
|
DLService.CalcDonePipe.EA_NewMessage += CalcDonePipe_EA_NewMessage;
|
||||||
|
|||||||
@@ -3,21 +3,32 @@
|
|||||||
|
|
||||||
<PageTitle>Gerarchia</PageTitle>
|
<PageTitle>Gerarchia</PageTitle>
|
||||||
|
|
||||||
<WebWindowComplex.TableComp IN_TemplateDTOList="@AvailTemplateList"
|
<WebWindowComplex.TableComp ListPayload="SetupList"
|
||||||
IN_SelTemplate="@SelTemplate"
|
LiveDaListPayloadta="CurrData"
|
||||||
IN_FamilyHardwareList="@AvailFamilyHardwareList"
|
CurrSelection="SelectData"
|
||||||
IN_SelFamilyHardware="@SelFamilyHardware"
|
|
||||||
IN_HardwareList="@AvailHardwareList"
|
|
||||||
IN_ColorMaterialList="@AvailColorMaterialList"
|
|
||||||
IN_SelColorMaterial="@SelColorMaterial"
|
|
||||||
IN_MaterialList="@AvailMaterialList"
|
|
||||||
IN_SelMaterial="@SelMaterial"
|
|
||||||
IN_GlassList="@AvailGlassList"
|
|
||||||
IN_SelGlass="@SelGlass"
|
|
||||||
EC_OnUpdate="SaveJWD"
|
EC_OnUpdate="SaveJWD"
|
||||||
EC_OnSelectedTemplate="SetTemplate"
|
EC_OnClose="CloseObj"
|
||||||
LiveSVG="@currSvg">
|
EC_OnSelectedTemplate="SetTemplate">
|
||||||
</WebWindowComplex.TableComp>
|
</WebWindowComplex.TableComp>
|
||||||
|
|
||||||
|
|
||||||
|
@if (!string.IsNullOrEmpty(outClose))
|
||||||
|
{
|
||||||
|
<div class="alert alert-danger fs-4">
|
||||||
|
@outClose
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
else if (!string.IsNullOrEmpty(outSave))
|
||||||
|
{
|
||||||
|
<div class="alert alert-success fs-4">
|
||||||
|
@outSave
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
<p>
|
||||||
|
|
||||||
|
@(temp);
|
||||||
|
</p>
|
||||||
|
|
||||||
@*
|
@*
|
||||||
<p>
|
<p>
|
||||||
@m_CurrArgs.GetValueOrDefault("Jwd")
|
@m_CurrArgs.GetValueOrDefault("Jwd")
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
using EgwCoreLib.Lux.Core;
|
using Egw.Window.Data;
|
||||||
|
using EgwCoreLib.Lux.Core;
|
||||||
using EgwCoreLib.Lux.Core.RestPayload;
|
using EgwCoreLib.Lux.Core.RestPayload;
|
||||||
using EgwCoreLib.Lux.Data.Services;
|
using EgwCoreLib.Lux.Data.Services;
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using NLog;
|
using NLog;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Numerics;
|
||||||
using System.Security.AccessControl;
|
using System.Security.AccessControl;
|
||||||
using Egw.Window.Data;
|
|
||||||
using WebWindowComplex;
|
using WebWindowComplex;
|
||||||
using WebWindowComplex.DTO;
|
using WebWindowComplex.DTO;
|
||||||
|
|
||||||
@@ -16,6 +17,8 @@ namespace Test.UI.Components.Pages
|
|||||||
{
|
{
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
|
string temp = "";
|
||||||
|
|
||||||
public string InitialJwd = "";
|
public string InitialJwd = "";
|
||||||
public Template SelTemplate { get; set; } = new Template(0, "---SELECT---", "", "");
|
public Template SelTemplate { get; set; } = new Template(0, "---SELECT---", "", "");
|
||||||
|
|
||||||
@@ -33,6 +36,7 @@ namespace Test.UI.Components.Pages
|
|||||||
#region Protected Fields
|
#region Protected Fields
|
||||||
|
|
||||||
protected string currJwd = "...";
|
protected string currJwd = "...";
|
||||||
|
protected string prevJwd = "";
|
||||||
protected Dictionary<string, string> m_CurrArgs = new Dictionary<string, string>();
|
protected Dictionary<string, string> m_CurrArgs = new Dictionary<string, string>();
|
||||||
|
|
||||||
#endregion Protected Fields
|
#endregion Protected Fields
|
||||||
@@ -43,8 +47,8 @@ namespace Test.UI.Components.Pages
|
|||||||
protected List<Hardware> AvailHardwareList { get; set; } = new List<Hardware>();
|
protected List<Hardware> AvailHardwareList { get; set; } = new List<Hardware>();
|
||||||
protected List<string> AvailFamilyHardwareList { get; set; } = new List<string>()
|
protected List<string> AvailFamilyHardwareList { get; set; } = new List<string>()
|
||||||
{
|
{
|
||||||
new string("Natura"),
|
new string("Profilo78"),
|
||||||
new string("Optima")
|
new string("Arc")
|
||||||
};
|
};
|
||||||
protected List<string> AvailColorMaterialList { get; set; } = new List<string>()
|
protected List<string> AvailColorMaterialList { get; set; } = new List<string>()
|
||||||
{
|
{
|
||||||
@@ -54,17 +58,17 @@ namespace Test.UI.Components.Pages
|
|||||||
};
|
};
|
||||||
protected List<string> AvailMaterialList { get; set; } = new List<string>()
|
protected List<string> AvailMaterialList { get; set; } = new List<string>()
|
||||||
{
|
{
|
||||||
new string("Pine"),
|
new string("Pino"),
|
||||||
new string("Fir")
|
new string("Abete")
|
||||||
};
|
};
|
||||||
protected List<string> AvailGlassList { get; set; } = new List<string>()
|
protected List<string> AvailGlassList { get; set; } = new List<string>()
|
||||||
{
|
{
|
||||||
new string("4/12/4"),
|
new string("Vetro BE 2S 4/12/4"),
|
||||||
new string("4/16/4"),
|
new string("Vetro BE 2S 4/16/4"),
|
||||||
new string("4/12/4/12/4"),
|
new string("Vetro BE 3S 4/12/4/12/4"),
|
||||||
new string("4/16/4/16/4"),
|
new string("Vetro BE 3S 4/16/4/16/4"),
|
||||||
new string("4T/12/4T"),
|
new string("Vetro BE 2S 4T/12/4T"),
|
||||||
new string("4T/16/4T")
|
new string("Vetro BE 2S 4T/16/4T")
|
||||||
};
|
};
|
||||||
protected string SelFamilyHardware { get; set; } = "";
|
protected string SelFamilyHardware { get; set; } = "";
|
||||||
protected string SelColorMaterial { get; set; } = "";
|
protected string SelColorMaterial { get; set; } = "";
|
||||||
@@ -92,14 +96,48 @@ namespace Test.UI.Components.Pages
|
|||||||
protected override async Task OnInitializedAsync()
|
protected override async Task OnInitializedAsync()
|
||||||
{
|
{
|
||||||
ConfInit();
|
ConfInit();
|
||||||
SelFamilyHardware = "Natura";
|
// rileggo altri dati
|
||||||
SelColorMaterial = "Black";
|
|
||||||
SelMaterial = "Pine";
|
|
||||||
SelGlass = "4T/16/4T";
|
|
||||||
DLService.CalcDonePipe.EA_NewMessage += CalcDonePipe_EA_NewMessage;
|
|
||||||
await ReloadData();
|
await ReloadData();
|
||||||
|
// preparo conf oggetti x controllo
|
||||||
|
SetupList = new BaseListPayload()
|
||||||
|
{
|
||||||
|
ColorMaterial = AvailColorMaterialList,
|
||||||
|
FamilyHardware = AvailFamilyHardwareList,
|
||||||
|
Glass = AvailGlassList,
|
||||||
|
Hardware = AvailHardwareList,
|
||||||
|
Material = AvailMaterialList,
|
||||||
|
TemplateDTO = AvailTemplateList
|
||||||
|
};
|
||||||
|
CurrData = new LivePayload()
|
||||||
|
{
|
||||||
|
//CurrJwd = InitialJwd,
|
||||||
|
CurrJwd = "",
|
||||||
|
SvgPreview = currSvg
|
||||||
|
};
|
||||||
|
SelectData = new SelectPayload()
|
||||||
|
{
|
||||||
|
FamilyHardware = "Profilo78",
|
||||||
|
ColorMaterial = "Black",
|
||||||
|
Material = "Pino",
|
||||||
|
Glass = "Vetro BE 2S 4T / 16 / 4T",
|
||||||
|
Template = null,
|
||||||
|
};
|
||||||
|
DLService.CalcDonePipe.EA_NewMessage += CalcDonePipe_EA_NewMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Configurazione elenchi anagrafiche
|
||||||
|
/// </summary>
|
||||||
|
protected BaseListPayload SetupList = new BaseListPayload();
|
||||||
|
/// <summary>
|
||||||
|
/// Predisposizione valori live SVG/JWD
|
||||||
|
/// </summary>
|
||||||
|
protected LivePayload CurrData = new LivePayload();
|
||||||
|
/// <summary>
|
||||||
|
/// Predisposizione elementi selezionati
|
||||||
|
/// </summary>
|
||||||
|
protected SelectPayload SelectData = new SelectPayload();
|
||||||
|
|
||||||
#endregion Protected Methods
|
#endregion Protected Methods
|
||||||
|
|
||||||
#region Private Fields
|
#region Private Fields
|
||||||
@@ -119,6 +157,9 @@ namespace Test.UI.Components.Pages
|
|||||||
|
|
||||||
private string windowUid = "CurrWindow";
|
private string windowUid = "CurrWindow";
|
||||||
|
|
||||||
|
private string outClose = "";
|
||||||
|
private string outSave = "";
|
||||||
|
|
||||||
#endregion Private Fields
|
#endregion Private Fields
|
||||||
|
|
||||||
#region Private Methods
|
#region Private Methods
|
||||||
@@ -133,6 +174,8 @@ namespace Test.UI.Components.Pages
|
|||||||
if (currArgs.msgUid.Equals($"{subChannel}:{windowUid}"))
|
if (currArgs.msgUid.Equals($"{subChannel}:{windowUid}"))
|
||||||
{
|
{
|
||||||
currSvg = currArgs.newMessage;
|
currSvg = currArgs.newMessage;
|
||||||
|
CurrData.SvgPreview = currArgs.newMessage;
|
||||||
|
m_CurrArgs.TryGetValue("Jwd", out temp);
|
||||||
}
|
}
|
||||||
await InvokeAsync(StateHasChanged);
|
await InvokeAsync(StateHasChanged);
|
||||||
}
|
}
|
||||||
@@ -187,13 +230,23 @@ namespace Test.UI.Components.Pages
|
|||||||
|
|
||||||
private async Task SaveJWD(Dictionary<string, string> CurrArgs)
|
private async Task SaveJWD(Dictionary<string, string> CurrArgs)
|
||||||
{
|
{
|
||||||
|
outClose = "";
|
||||||
|
outSave = "";
|
||||||
m_CurrArgs = CurrArgs;
|
m_CurrArgs = CurrArgs;
|
||||||
// chiamo la chiamata POST alla API, che manda la richiesta via REDIS
|
// verifico se contiene JWD, lo aggiorno
|
||||||
if (currJwd != null)
|
if (CurrArgs.ContainsKey("Jwd"))
|
||||||
{
|
{
|
||||||
|
currJwd = CurrArgs["Jwd"];
|
||||||
|
CurrData.CurrJwd = currJwd;
|
||||||
|
}
|
||||||
|
// se il SSE variato --> invio
|
||||||
|
if (!currJwd.Equals(prevJwd))
|
||||||
|
{
|
||||||
|
prevJwd = currJwd;
|
||||||
CalcRequestDTO calcRequestDTO = new CalcRequestDTO();
|
CalcRequestDTO calcRequestDTO = new CalcRequestDTO();
|
||||||
calcRequestDTO.EnvType = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW;
|
calcRequestDTO.EnvType = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW;
|
||||||
calcRequestDTO.DictExec = m_CurrArgs;
|
calcRequestDTO.DictExec = m_CurrArgs;
|
||||||
|
// chiamo la chiamata POST alla API, che manda la richiesta via REDIS
|
||||||
await ICService.CallRestPost($"{apiUrl}/{GenericBasePath}", $"{calcTag}/{CalcUid}", calcRequestDTO);
|
await ICService.CallRestPost($"{apiUrl}/{GenericBasePath}", $"{calcTag}/{CalcUid}", calcRequestDTO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -202,14 +255,26 @@ namespace Test.UI.Components.Pages
|
|||||||
{
|
{
|
||||||
string rawVal = "";
|
string rawVal = "";
|
||||||
currSel = selTemp;
|
currSel = selTemp;
|
||||||
// brutale,d a rivedere...
|
// brutale,da rivedere...
|
||||||
if (File.Exists(selTemp.JwdFileName))
|
if (File.Exists(selTemp.JwdFileName))
|
||||||
{
|
{
|
||||||
rawVal = File.ReadAllText(selTemp.JwdFileName);
|
rawVal = File.ReadAllText(selTemp.JwdFileName);
|
||||||
}
|
}
|
||||||
SelTemplate = new Template(selTemp.Index, selTemp.Description, selTemp.SVGFileName, rawVal);
|
SelTemplate = new Template(selTemp.Index, selTemp.Description, selTemp.SVGFileName, rawVal);
|
||||||
|
SelectData.Template = SelTemplate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Effettua chiusura oggetto con eventuale save
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="reqSave"></param>
|
||||||
|
private void CloseObj(bool reqSave)
|
||||||
|
{
|
||||||
|
outClose = !reqSave ? "Richiesto chiusura!" : "";
|
||||||
|
outSave = reqSave ? "Richiesto salvataggio!" : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Private Methods
|
#endregion Private Methods
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
],
|
],
|
||||||
"BottomRail": false,
|
"BottomRail": false,
|
||||||
"BottomRailQty": 0,
|
"BottomRailQty": 0,
|
||||||
"Hardware": "000000",
|
"Hardware": "000558",
|
||||||
"IdGroup": 4,
|
"IdGroup": 4,
|
||||||
"AreaList": [
|
"AreaList": [
|
||||||
{
|
{
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
],
|
],
|
||||||
"BottomRail": false,
|
"BottomRail": false,
|
||||||
"BottomRailQty": 0,
|
"BottomRailQty": 0,
|
||||||
"Hardware": "000000",
|
"Hardware": "000558",
|
||||||
"IdGroup": 7,
|
"IdGroup": 7,
|
||||||
"AreaList": [
|
"AreaList": [
|
||||||
{
|
{
|
||||||
|
|||||||
+369
-369
@@ -1,371 +1,371 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"Description": "Rect_Sash_Compl",
|
"id": "000548",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000547",
|
"description": "Rect_DoubleSash",
|
||||||
"OpeningType": "CO",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Vasistas",
|
"id": "000546",
|
||||||
"FamilyName": "Vasistas",
|
"familyName": "Trap",
|
||||||
"Id": "000573",
|
"description": "Trap_Sash",
|
||||||
"OpeningType": "VA",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Trapezoidal",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_Rect_TripleSash_HiddenHinges",
|
"id": "000547",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Rect",
|
||||||
"Id": "000561",
|
"description": "Rect_Sash_Compl",
|
||||||
"OpeningType": "AR",
|
"openingType": "ComplanarSlide",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 3,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_TurnOnly_Rect_DoubleSash",
|
"id": "000561",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000563",
|
"description": "Profilo78_Rect_TripleSash_HiddenHinges",
|
||||||
"OpeningType": "AB",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 3,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_TurnOnly_Rect_TripleSash",
|
"id": "000563",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000564",
|
"description": "Profilo78_TurnOnly_Rect_DoubleSash",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 2,
|
"shape": "Rectangular",
|
||||||
"SashQty": 3,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "SegArc_2S_TurnOnly",
|
"id": "000564",
|
||||||
"FamilyName": "SegArc",
|
"familyName": "Profilo78",
|
||||||
"Id": "000603",
|
"description": "Profilo78_TurnOnly_Rect_TripleSash",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 3,
|
||||||
"Shape": "Arc"
|
"sashPosition": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Arc_2S_TurnOnly",
|
"id": "000603",
|
||||||
"FamilyName": "Arc",
|
"familyName": "SegArc",
|
||||||
"Id": "000602",
|
"description": "SegArc_2S_TurnOnly",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Arc",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "FullArc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "SegArc_1S_TurnOnly",
|
"id": "000602",
|
||||||
"FamilyName": "SegArc",
|
"familyName": "Arc",
|
||||||
"Id": "000601",
|
"description": "Arc_2S_TurnOnly",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "FullArc",
|
||||||
"SashQty": 1,
|
"sashQty": 2,
|
||||||
"Shape": "Arc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "SemiArc_1S",
|
"id": "000601",
|
||||||
"FamilyName": "SemiArc",
|
"familyName": "SegArc",
|
||||||
"Id": "000610",
|
"description": "SegArc_1S_TurnOnly",
|
||||||
"OpeningType": "AR",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Arc",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "SemiFullArc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "SemiSegArc_S1",
|
"id": "000610",
|
||||||
"FamilyName": "SemiSegArc",
|
"familyName": "SemiArc",
|
||||||
"Id": "000611",
|
"description": "SemiArc_1S",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "SemiFullArc",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "SemiArc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Arc_1S",
|
"id": "000611",
|
||||||
"FamilyName": "Arc",
|
"familyName": "SemiSegArc",
|
||||||
"Id": "000596",
|
"description": "SemiSegArc_S1",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "SemiArc",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "FullArc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "SegArc_2S",
|
"id": "000596",
|
||||||
"FamilyName": "SegArc",
|
"familyName": "Arc",
|
||||||
"Id": "000599",
|
"description": "Arc_1S",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "FullArc",
|
||||||
"SashQty": 2,
|
"sashQty": 1,
|
||||||
"Shape": "Arc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "SegArc_1S",
|
"id": "000599",
|
||||||
"FamilyName": "SegArc",
|
"familyName": "SegArc",
|
||||||
"Id": "000597",
|
"description": "SegArc_2S",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Arc",
|
||||||
"SashQty": 1,
|
"sashQty": 2,
|
||||||
"Shape": "Arc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Test aria 4",
|
"id": "000597",
|
||||||
"FamilyName": "Test aria 4",
|
"familyName": "SegArc",
|
||||||
"Id": "000609",
|
"description": "SegArc_1S",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Arc",
|
||||||
"SashQty": 2,
|
"sashQty": 1,
|
||||||
"Shape": "Arc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Arc_2S",
|
"id": "000598",
|
||||||
"FamilyName": "Arc",
|
"familyName": "Arc",
|
||||||
"Id": "000598",
|
"description": "Arc_2S",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "FullArc",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "FullArc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Arc_1S_TurnOnly",
|
"id": "000600",
|
||||||
"FamilyName": "Arc",
|
"familyName": "Arc",
|
||||||
"Id": "000600",
|
"description": "Arc_1S_TurnOnly",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "FullArc",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "FullArc"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Trap_S1_TurnOnly",
|
"id": "000606",
|
||||||
"FamilyName": "Trap",
|
"familyName": "Trap",
|
||||||
"Id": "000606",
|
"description": "Trap_S1_TurnOnly",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Trapezoidal",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Trapezoidal"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Trap_S2",
|
"id": "000605",
|
||||||
"FamilyName": "Trap",
|
"familyName": "Trap",
|
||||||
"Id": "000605",
|
"description": "Trap_S2",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Trapezoidal",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Trapezoidal"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Trap_S2_TurnOnly",
|
"id": "000607",
|
||||||
"FamilyName": "Trap",
|
"familyName": "Trap",
|
||||||
"Id": "000607",
|
"description": "Trap_S2_TurnOnly",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Trapezoidal",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Trapezoidal"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Trap_S1",
|
"id": "000604",
|
||||||
"FamilyName": "Trap",
|
"familyName": "Trap",
|
||||||
"Id": "000604",
|
"description": "Trap_S1",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Trapezoidal",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Trapezoidal"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Slide_quadruple",
|
"id": "000595",
|
||||||
"FamilyName": "Slide",
|
"familyName": "Slide",
|
||||||
"Id": "000595",
|
"description": "Slide_quadruple",
|
||||||
"OpeningType": "AS",
|
"openingType": "LiftSlide",
|
||||||
"SashPosition": 2,
|
"shape": "Rectangular",
|
||||||
"SashQty": 4,
|
"sashQty": 4,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Slide_2S",
|
"id": "000592",
|
||||||
"FamilyName": "Slide",
|
"familyName": "Slide",
|
||||||
"Id": "000592",
|
"description": "Slide_2S",
|
||||||
"OpeningType": "AS",
|
"openingType": "LiftSlide",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Slide_4S",
|
"id": "000594",
|
||||||
"FamilyName": "Slide",
|
"familyName": "Slide",
|
||||||
"Id": "000594",
|
"description": "Slide_4S",
|
||||||
"OpeningType": "AS",
|
"openingType": "LiftSlide",
|
||||||
"SashPosition": 2,
|
"shape": "Rectangular",
|
||||||
"SashQty": 4,
|
"sashQty": 4,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Slide_double",
|
"id": "000593",
|
||||||
"FamilyName": "Slide",
|
"familyName": "Slide",
|
||||||
"Id": "000593",
|
"description": "Slide_double",
|
||||||
"OpeningType": "AS",
|
"openingType": "LiftSlide",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_TurnOnly_Rect_QuadrupleSash",
|
"id": "000575",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000575",
|
"description": "Profilo78_TurnOnly_Rect_QuadrupleSash",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 2,
|
"shape": "Rectangular",
|
||||||
"SashQty": 4,
|
"sashQty": 4,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_Rect_Sash",
|
"id": "000558",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000558",
|
"description": "Profilo78_Rect_Sash",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_Rect_DoubleSash",
|
"id": "000559",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000559",
|
"description": "Profilo78_Rect_DoubleSash",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_TurnOnly_Rect_TripleSash_CenterHandle",
|
"id": "000566",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000566",
|
"description": "Profilo78_TurnOnly_Rect_TripleSash_CenterHandle",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 2,
|
"shape": "Rectangular",
|
||||||
"SashQty": 3,
|
"sashQty": 3,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_TurnOnly_Rect_TripleSash_SideHandle",
|
"id": "000565",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000565",
|
"description": "Profilo78_TurnOnly_Rect_TripleSash_SideHandle",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 3,
|
"sashQty": 3,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_Rect_Sash",
|
"id": "000562",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000562",
|
"description": "Profilo78_Rect_Sash",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Profilo78_Rect_TripleSash",
|
"id": "000560",
|
||||||
"FamilyName": "Profilo78",
|
"familyName": "Profilo78",
|
||||||
"Id": "000560",
|
"description": "Profilo78_Rect_TripleSash",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 3,
|
"sashQty": 3,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_DoubleSash_4",
|
"id": "000550",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000550",
|
"description": "Rect_DoubleSash_4",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_DoubleSashStrana",
|
"id": "000552",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000552",
|
"description": "Rect_DoubleSashStrana",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 3,
|
"sashQty": 3,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_DoubleSash",
|
"id": "000549",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000549",
|
"description": "Rect_DoubleSash",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 2,
|
"sashQty": 2,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Round_Sash",
|
"id": "000555",
|
||||||
"FamilyName": "Round",
|
"familyName": "Round",
|
||||||
"Id": "000555",
|
"description": "Round_Sash",
|
||||||
"OpeningType": "BI",
|
"openingType": "Pivot",
|
||||||
"SashPosition": 1,
|
"shape": "Circular",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Circular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_Sash_Bilico",
|
"id": "000556",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000556",
|
"description": "Rect_Sash_Bilico",
|
||||||
"OpeningType": "BI",
|
"openingType": "Pivot",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_QuadrupolSash_Bandiera",
|
"id": "000554",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000554",
|
"description": "Rect_QuadrupolSash_Bandiera",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 2,
|
"shape": "Rectangular",
|
||||||
"SashQty": 4,
|
"sashQty": 4,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_Sash_Bandiera",
|
"id": "000551",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000551",
|
"description": "Rect_Sash_Bandiera",
|
||||||
"OpeningType": "AB",
|
"openingType": "TurnOnly",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_Sash",
|
"id": "000544",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000544",
|
"description": "Rect_Sash",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_TripleSash",
|
"id": "000553",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000553",
|
"description": "Rect_TripleSash",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 3,
|
"sashQty": 3,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Description": "Rect_Sash_4",
|
"id": "000545",
|
||||||
"FamilyName": "Rect",
|
"familyName": "Rect",
|
||||||
"Id": "000545",
|
"description": "Rect_Sash_4",
|
||||||
"OpeningType": "AR",
|
"openingType": "TiltTurn",
|
||||||
"SashPosition": 1,
|
"shape": "Rectangular",
|
||||||
"SashQty": 1,
|
"sashQty": 1,
|
||||||
"Shape": "Rectangular"
|
"sashPosition": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Egw.Window.Data" Version="2.7.10.218" />
|
<PackageReference Include="Egw.Window.Data" Version="2.7.10-beta.915" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,16 @@ namespace WebWindowComplex.DTO
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string CurrJwd { get; set; } = string.Empty;
|
public string CurrJwd { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// JWD Iniziale
|
||||||
|
/// </summary>
|
||||||
|
public string InitJwd { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// JWD Corrente
|
||||||
|
/// </summary>
|
||||||
|
public TemplateSelectDTO CurrTemplate { get; set; } = new TemplateSelectDTO();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Preview SVG
|
/// Preview SVG
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -84,17 +84,17 @@ namespace WebWindowComplex.Json
|
|||||||
LIFTSLIDE_RIGHT = 12
|
LIFTSLIDE_RIGHT = 12
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum OpeningTypes : int
|
//public enum OpeningTypes : int
|
||||||
{
|
//{
|
||||||
NULL = 0,
|
// NULL = 0,
|
||||||
TURNONLY = 1,
|
// TURNONLY = 1,
|
||||||
TILTTURN = 2,
|
// TILTTURN = 2,
|
||||||
TILTONLY = 3,
|
// TILTONLY = 3,
|
||||||
PIVOT = 4,
|
// PIVOT = 4,
|
||||||
FIXED = 5,
|
// FIXED = 5,
|
||||||
COMPLANARSLIDE = 6,
|
// COMPLANARSLIDE = 6,
|
||||||
LIFTSLIDE = 7
|
// LIFTSLIDE = 7
|
||||||
}
|
//}
|
||||||
|
|
||||||
public enum OpeningSides : int
|
public enum OpeningSides : int
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="@headerCss()">
|
<div class="@headerCss()">
|
||||||
<ul class="nav nav-tabs card-header-tabs">
|
<ul class="nav nav-tabs card-header-tabs">
|
||||||
@if (string.IsNullOrEmpty(LiveData.CurrJwd))
|
@if (string.IsNullOrEmpty(LiveData.InitJwd))
|
||||||
{
|
{
|
||||||
<li class="nav-item m-1">
|
<li class="nav-item m-1">
|
||||||
@if (currStep == CompileStep.Template)
|
@if (currStep == CompileStep.Template)
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body bg-transparent">
|
<div class="card-body bg-transparent">
|
||||||
<div class="text-center display-4">
|
<div class="text-center display-4">
|
||||||
@if (string.IsNullOrEmpty(LiveData.CurrJwd))
|
@if (string.IsNullOrEmpty(LiveData.InitJwd))
|
||||||
{
|
{
|
||||||
@if (currStep == CompileStep.Template && ListPayload.TemplateDTO != null)
|
@if (currStep == CompileStep.Template && ListPayload.TemplateDTO != null)
|
||||||
{
|
{
|
||||||
@@ -167,8 +167,9 @@
|
|||||||
<h5 class="card-title">Dimension</h5>
|
<h5 class="card-title">Dimension</h5>
|
||||||
@foreach (FrameDimension dimension in FrameWindow.DimensionList)
|
@foreach (FrameDimension dimension in FrameWindow.DimensionList)
|
||||||
{
|
{
|
||||||
|
int n = dimension.nIndex;
|
||||||
<div class="input-group mb-2">
|
<div class="input-group mb-2">
|
||||||
<span class="input-group-text" id="NameDimFrame@(dimension.nIndex)">@dimension.sName</span>
|
<span class="input-group-text" id="NameDimFrame@(n)">@dimension.sName</span>
|
||||||
<input type="number" class="form-control" aria-label="@dimension.dValue" @bind="@dimension.dValue">
|
<input type="number" class="form-control" aria-label="@dimension.dValue" @bind="@dimension.dValue">
|
||||||
<span class="input-group-text">mm</span>
|
<span class="input-group-text">mm</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ using Newtonsoft.Json.Linq;
|
|||||||
using System.Reflection.Metadata;
|
using System.Reflection.Metadata;
|
||||||
using System.Reflection.Metadata.Ecma335;
|
using System.Reflection.Metadata.Ecma335;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
using WebWindowComplex.DTO;
|
using WebWindowComplex.DTO;
|
||||||
using WebWindowComplex.Json;
|
using WebWindowComplex.Json;
|
||||||
using static WebWindowComplex.Json.WindowConst;
|
using static WebWindowComplex.Json.WindowConst;
|
||||||
@@ -243,6 +245,7 @@ namespace WebWindowComplex
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected string m_SelSVG { get; set; } = "";
|
protected string m_SelSVG { get; set; } = "";
|
||||||
|
protected string m_CurrJwd { get; set; } = "";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Componente SVG da mostrare
|
/// Componente SVG da mostrare
|
||||||
@@ -616,10 +619,17 @@ namespace WebWindowComplex
|
|||||||
Area.nCounterGroup = 0;
|
Area.nCounterGroup = 0;
|
||||||
UpdateSelParameter();
|
UpdateSelParameter();
|
||||||
JsonWindow WindowFromJson;
|
JsonWindow WindowFromJson;
|
||||||
if (string.IsNullOrEmpty(LiveData.CurrJwd))
|
if (string.IsNullOrEmpty(LiveData.InitJwd))
|
||||||
|
{
|
||||||
WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(m_SelTemplate.JWD, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(m_SelTemplate.JWD, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
||||||
|
m_SelTemplate = CurrSelection!.Template;
|
||||||
|
LiveData.CurrJwd = m_SelTemplate.JWD;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(LiveData.CurrJwd!, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
{
|
||||||
|
WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(LiveData.InitJwd!, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
||||||
|
LiveData.CurrJwd = LiveData.InitJwd;
|
||||||
|
}
|
||||||
if (m_CurrWindow != null)
|
if (m_CurrWindow != null)
|
||||||
{
|
{
|
||||||
m_CurrWindow.OnPreview -= M_CurrWindow_OnPreview;
|
m_CurrWindow.OnPreview -= M_CurrWindow_OnPreview;
|
||||||
@@ -681,20 +691,22 @@ namespace WebWindowComplex
|
|||||||
if (ListPayload.IsValid())
|
if (ListPayload.IsValid())
|
||||||
{
|
{
|
||||||
// controllo sia popolato anche per la componente LIVE
|
// controllo sia popolato anche per la componente LIVE
|
||||||
if (LiveData.IsValid())
|
if (!LiveData.InitJwd.Equals(""))
|
||||||
{
|
{
|
||||||
// SOLO SE modificato live data...
|
// SOLO SE modificato live data...
|
||||||
if (prevLiveData == null || !prevLiveData.Equals(LiveData))
|
if (prevLiveData == null || !prevLiveData.Equals(LiveData))
|
||||||
{
|
{
|
||||||
prevLiveData = new LivePayload()
|
prevLiveData = new LivePayload()
|
||||||
{
|
{
|
||||||
CurrJwd = LiveData.CurrJwd,
|
CurrJwd = LiveData.InitJwd,
|
||||||
SvgPreview = LiveData.SvgPreview
|
SvgPreview = LiveData.SvgPreview
|
||||||
};
|
};
|
||||||
|
if(m_CurrJwd.Equals(""))
|
||||||
|
m_CurrJwd = LiveData.InitJwd;
|
||||||
m_SelSVG = LiveData.SvgPreview;
|
m_SelSVG = LiveData.SvgPreview;
|
||||||
// Aggiornati parametri di ingresso selezionati
|
// Aggiornati parametri di ingresso selezionati
|
||||||
UpdateSelParameter();
|
UpdateSelParameter();
|
||||||
JsonWindow WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(LiveData.CurrJwd, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
JsonWindow WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(m_CurrJwd, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
||||||
setCurrWindow(WindowFromJson);
|
setCurrWindow(WindowFromJson);
|
||||||
//SOLO SE non sono in edit...
|
//SOLO SE non sono in edit...
|
||||||
if (!editLock)
|
if (!editLock)
|
||||||
@@ -706,16 +718,18 @@ namespace WebWindowComplex
|
|||||||
}
|
}
|
||||||
else if (CurrSelection != null && CurrSelection.Template != null)
|
else if (CurrSelection != null && CurrSelection.Template != null)
|
||||||
{
|
{
|
||||||
|
JsonWindow WindowFromJson;
|
||||||
// Se viene passato il template selezionato oppure se non è ancora stato selezionato un template oppure se si cambia template di selezione
|
// Se viene passato il template selezionato oppure se non è ancora stato selezionato un template oppure se si cambia template di selezione
|
||||||
if (m_SelTemplate == null || (m_SelTemplate != null && CurrSelection.Template.nIndex != m_SelTemplate.nIndex) && !string.IsNullOrEmpty(CurrSelection.Template.JWD))
|
if (m_SelTemplate == null || (m_SelTemplate != null && CurrSelection.Template.nIndex != m_SelTemplate.nIndex) && !string.IsNullOrEmpty(CurrSelection.Template.JWD))
|
||||||
{
|
{
|
||||||
m_SelTemplate = CurrSelection.Template;
|
m_SelTemplate = CurrSelection.Template;
|
||||||
// Aggiornamento parametri di ingresso selezionati
|
LiveData.CurrJwd = CurrSelection.Template.JWD;
|
||||||
UpdateSelParameter();
|
currStep = CompileStep.Tree;
|
||||||
JsonWindow WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(m_SelTemplate.JWD, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
|
||||||
setCurrWindow(WindowFromJson);
|
|
||||||
currStep = CompileStep.Template;
|
|
||||||
}
|
}
|
||||||
|
// Aggiornamento parametri di ingresso selezionati
|
||||||
|
UpdateSelParameter();
|
||||||
|
WindowFromJson = JsonConvert.DeserializeObject<JsonWindow>(LiveData.CurrJwd, new PolymorphicJsonConverter()) ?? new JsonWindow("", "", "", "");
|
||||||
|
setCurrWindow(WindowFromJson);
|
||||||
updateSvg = true;
|
updateSvg = true;
|
||||||
}
|
}
|
||||||
if (SashList.Count > 0)
|
if (SashList.Count > 0)
|
||||||
@@ -784,6 +798,7 @@ namespace WebWindowComplex
|
|||||||
SelColorMaterial = CurrSelection.ColorMaterial ?? "";
|
SelColorMaterial = CurrSelection.ColorMaterial ?? "";
|
||||||
SelMaterial = CurrSelection.Material ?? "";
|
SelMaterial = CurrSelection.Material ?? "";
|
||||||
SelGlass = CurrSelection.Glass ?? "";
|
SelGlass = CurrSelection.Glass ?? "";
|
||||||
|
m_SelTemplate = CurrSelection.Template;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -821,7 +836,7 @@ namespace WebWindowComplex
|
|||||||
|
|
||||||
private Window? m_PreviousWindow { get; set; } = null;
|
private Window? m_PreviousWindow { get; set; } = null;
|
||||||
|
|
||||||
private string m_SelFamilyHardware { get; set; } = "";
|
//private string m_SelFamilyHardware { get; set; } = "";
|
||||||
|
|
||||||
private Template m_SelTemplate { get; set; } = null!;
|
private Template m_SelTemplate { get; set; } = null!;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Version>2.7.10.818</Version>
|
<Version>2.7.10.917</Version>
|
||||||
<Authors>Annamaria Sassi</Authors>
|
<Authors>Annamaria Sassi</Authors>
|
||||||
<Company>Egalware</Company>
|
<Company>Egalware</Company>
|
||||||
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
|
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Egw.Window.Data" Version="2.7.10.218" />
|
<PackageReference Include="Egw.Window.Data" Version="2.7.10-beta.915" />
|
||||||
<PackageReference Include="EgwCoreLib.Razor" Version="1.5.2507.1815" />
|
<PackageReference Include="EgwCoreLib.Razor" Version="1.5.2507.1815" />
|
||||||
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2507.1815" />
|
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2507.1815" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
||||||
@@ -119,6 +119,24 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+99
-72
@@ -1,5 +1,6 @@
|
|||||||
using Egw.Window.Data;
|
using Egw.Window.Data;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
@@ -1172,9 +1173,9 @@ namespace WebWindowComplex
|
|||||||
internal void SetSelHardwareFromId(string sId)
|
internal void SetSelHardwareFromId(string sId)
|
||||||
{
|
{
|
||||||
if (m_HardwareList.Count == 0)
|
if (m_HardwareList.Count == 0)
|
||||||
m_SelHardware = m_HardwareCompleteList.FirstOrDefault(x => x.Id.Equals(sId)) ?? new Hardware("", "", "", "", "", 0, 0);
|
m_SelHardware = m_HardwareCompleteList.FirstOrDefault(x => x.Id.Equals(sId)) ?? new Hardware("", "", "", Enums.OpeningTypes.Null, "", 0, 0);
|
||||||
else
|
else
|
||||||
m_SelHardware = m_HardwareList.FirstOrDefault(x => x.Id.Equals(sId)) ?? new Hardware("", "", "", "", "", 0, 0);
|
m_SelHardware = m_HardwareList.FirstOrDefault(x => x.Id.Equals(sId)) ?? new Hardware("", "", "", Enums.OpeningTypes.Null, "", 0, 0);
|
||||||
if (m_SelHardware == null)
|
if (m_SelHardware == null)
|
||||||
m_SelHardware = m_HardwareList[0];
|
m_SelHardware = m_HardwareList[0];
|
||||||
//SelFamilyHardware = m_SelHardware.FamilyName;
|
//SelFamilyHardware = m_SelHardware.FamilyName;
|
||||||
@@ -1188,7 +1189,7 @@ namespace WebWindowComplex
|
|||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
m_SelHardware = m_HardwareList.FirstOrDefault(x => !string.IsNullOrEmpty(value) && x.Id.Equals(value)) ?? new Hardware("", "", "", "", "", 0, 0);
|
m_SelHardware = m_HardwareList.FirstOrDefault(x => !string.IsNullOrEmpty(value) && x.Id.Equals(value)) ?? new Hardware("", "", "", Enums.OpeningTypes.Null, "", 0, 0);
|
||||||
ParentWindow.OnUpdatePreview(ParentWindow.sSerialized());
|
ParentWindow.OnUpdatePreview(ParentWindow.sSerialized());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1238,58 +1239,112 @@ namespace WebWindowComplex
|
|||||||
return "Rectangular";
|
return "Rectangular";
|
||||||
}
|
}
|
||||||
|
|
||||||
internal OpeningTypes GetOpeningType(Openings OpeningType)
|
internal Enums.OpeningTypes GetOpeningType(Openings OpeningType)
|
||||||
{
|
{
|
||||||
switch (OpeningType)
|
switch (OpeningType)
|
||||||
{
|
{
|
||||||
case Openings.TURNONLY_LEFT:
|
case Openings.TURNONLY_LEFT:
|
||||||
case Openings.TURNONLY_RIGHT:
|
case Openings.TURNONLY_RIGHT:
|
||||||
{
|
{
|
||||||
return OpeningTypes.TURNONLY;
|
return Enums.OpeningTypes.TurnOnly;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Openings.TILTTURN_LEFT:
|
case Openings.TILTTURN_LEFT:
|
||||||
case Openings.TILTTURN_RIGHT:
|
case Openings.TILTTURN_RIGHT:
|
||||||
{
|
{
|
||||||
return OpeningTypes.TILTTURN;
|
return Enums.OpeningTypes.TiltTurn;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Openings.TILTONLY_TOP:
|
case Openings.TILTONLY_TOP:
|
||||||
case Openings.TILTONLY_BOTTOM:
|
case Openings.TILTONLY_BOTTOM:
|
||||||
{
|
{
|
||||||
return OpeningTypes.TILTONLY;
|
return Enums.OpeningTypes.TiltOnly;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Openings.PIVOT:
|
case Openings.PIVOT:
|
||||||
{
|
{
|
||||||
return OpeningTypes.PIVOT;
|
return Enums.OpeningTypes.Pivot;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Openings.FIXED:
|
case Openings.FIXED:
|
||||||
{
|
{
|
||||||
return OpeningTypes.FIXED;
|
return Enums.OpeningTypes.Fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Openings.COMPLANARSLIDE_LEFT:
|
case Openings.COMPLANARSLIDE_LEFT:
|
||||||
case Openings.COMPLANARSLIDE_RIGHT:
|
case Openings.COMPLANARSLIDE_RIGHT:
|
||||||
{
|
{
|
||||||
return OpeningTypes.COMPLANARSLIDE;
|
return Enums.OpeningTypes.ComplanarSlide;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Openings.LIFTSLIDE_LEFT:
|
case Openings.LIFTSLIDE_LEFT:
|
||||||
case Openings.LIFTSLIDE_RIGHT:
|
case Openings.LIFTSLIDE_RIGHT:
|
||||||
{
|
{
|
||||||
return OpeningTypes.LIFTSLIDE;
|
return Enums.OpeningTypes.LiftSlide;
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
return OpeningTypes.NULL;
|
return Enums.OpeningTypes.Null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private string ConvertOpeningType()
|
//private string ConvertOpeningType()
|
||||||
|
//{
|
||||||
|
// if (m_SashList.Count > 1)
|
||||||
|
// {
|
||||||
|
// for (int i = 0; i < m_SashList.Count; i++)
|
||||||
|
// {
|
||||||
|
// if (m_SashList[i].bHasHandle)
|
||||||
|
// {
|
||||||
|
// if (GetOpeningType(m_SashList[i].OpeningType) == OpeningTypes.TURNONLY)
|
||||||
|
// return "AB";
|
||||||
|
// else
|
||||||
|
// return "AR";
|
||||||
|
// }
|
||||||
|
|
||||||
|
// }
|
||||||
|
// return "";
|
||||||
|
// }
|
||||||
|
// else if (m_SashList.Count == 1)
|
||||||
|
// {
|
||||||
|
// switch (GetOpeningType(m_SashList[0].OpeningType))
|
||||||
|
// {
|
||||||
|
// case OpeningTypes.TILTTURN:
|
||||||
|
// {
|
||||||
|
// return "AR";
|
||||||
|
// }
|
||||||
|
// case OpeningTypes.TURNONLY:
|
||||||
|
// {
|
||||||
|
// return "AB";
|
||||||
|
// }
|
||||||
|
// case OpeningTypes.TILTONLY:
|
||||||
|
// {
|
||||||
|
// return "VA";
|
||||||
|
// }
|
||||||
|
// case OpeningTypes.PIVOT:
|
||||||
|
// {
|
||||||
|
// return "BI";
|
||||||
|
// }
|
||||||
|
// case OpeningTypes.COMPLANARSLIDE:
|
||||||
|
// {
|
||||||
|
// return "CO";
|
||||||
|
// }
|
||||||
|
// case OpeningTypes.LIFTSLIDE:
|
||||||
|
// {
|
||||||
|
// return "AS";
|
||||||
|
// }
|
||||||
|
// default:
|
||||||
|
// {
|
||||||
|
// return "";
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// return "";
|
||||||
|
//}
|
||||||
|
|
||||||
|
private Enums.OpeningTypes ConvertOpeningType()
|
||||||
{
|
{
|
||||||
if (m_SashList.Count > 1)
|
if (m_SashList.Count > 1)
|
||||||
{
|
{
|
||||||
@@ -1297,50 +1352,16 @@ namespace WebWindowComplex
|
|||||||
{
|
{
|
||||||
if (m_SashList[i].bHasHandle)
|
if (m_SashList[i].bHasHandle)
|
||||||
{
|
{
|
||||||
if (GetOpeningType(m_SashList[i].OpeningType) == OpeningTypes.TURNONLY)
|
return GetOpeningType(m_SashList[i].OpeningType);
|
||||||
return "AB";
|
|
||||||
else
|
|
||||||
return "AR";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return "";
|
return Enums.OpeningTypes.Null;
|
||||||
}
|
}
|
||||||
else if (m_SashList.Count == 1)
|
else
|
||||||
{
|
{
|
||||||
switch (GetOpeningType(m_SashList[0].OpeningType))
|
return GetOpeningType(m_SashList[0].OpeningType);
|
||||||
{
|
|
||||||
case OpeningTypes.TILTTURN:
|
|
||||||
{
|
|
||||||
return "AR";
|
|
||||||
}
|
|
||||||
case OpeningTypes.TURNONLY:
|
|
||||||
{
|
|
||||||
return "AB";
|
|
||||||
}
|
|
||||||
case OpeningTypes.TILTONLY:
|
|
||||||
{
|
|
||||||
return "VA";
|
|
||||||
}
|
|
||||||
case OpeningTypes.PIVOT:
|
|
||||||
{
|
|
||||||
return "BI";
|
|
||||||
}
|
|
||||||
case OpeningTypes.COMPLANARSLIDE:
|
|
||||||
{
|
|
||||||
return "CO";
|
|
||||||
}
|
|
||||||
case OpeningTypes.LIFTSLIDE:
|
|
||||||
{
|
|
||||||
return "AS";
|
|
||||||
}
|
|
||||||
default:
|
|
||||||
{
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RefreshHardwareList()
|
public void RefreshHardwareList()
|
||||||
@@ -1349,11 +1370,11 @@ namespace WebWindowComplex
|
|||||||
{
|
{
|
||||||
m_HardwareList.Clear();
|
m_HardwareList.Clear();
|
||||||
string sSashShape = FindSashShape();
|
string sSashShape = FindSashShape();
|
||||||
string sOpeningType = ConvertOpeningType();
|
Enums.OpeningTypes sOpeningType = ConvertOpeningType();
|
||||||
var iComp = StringComparison.InvariantCultureIgnoreCase;
|
var iComp = StringComparison.InvariantCultureIgnoreCase;
|
||||||
var rawList = m_HardwareCompleteList
|
var rawList = m_HardwareCompleteList
|
||||||
.Where(x => x.Id == "000000" ||
|
.Where(x => x.Id == "000000" ||
|
||||||
(!string.IsNullOrEmpty(m_SelFamilyHardware) && x.FamilyName.Equals(m_SelFamilyHardware, iComp) && x.SashQty == nSashQty && x.Shape.Equals(sSashShape, iComp) && x.OpeningType.Equals(sOpeningType, iComp))
|
(!string.IsNullOrEmpty(m_SelFamilyHardware) && x.FamilyName.Equals(m_SelFamilyHardware, iComp) && x.SashQty == nSashQty && x.Shape.Equals(sSashShape, iComp) && x.OpeningType == sOpeningType)
|
||||||
)
|
)
|
||||||
.ToList();
|
.ToList();
|
||||||
if (rawList != null && rawList.Count > 0)
|
if (rawList != null && rawList.Count > 0)
|
||||||
@@ -1735,28 +1756,34 @@ namespace WebWindowComplex
|
|||||||
AreaList.Clear();
|
AreaList.Clear();
|
||||||
SetSplitQtyVert(0);
|
SetSplitQtyVert(0);
|
||||||
SetSplitQtyHoriz(0);
|
SetSplitQtyHoriz(0);
|
||||||
if (m_SelSplitShape == SplitShapes.VERTICAL)
|
switch (SelSplitShape)
|
||||||
{
|
{
|
||||||
// Inserisco valori di default
|
case SplitShapes.VERTICAL:
|
||||||
SetSplitQtyVert(1);
|
{
|
||||||
SetSplitStartVert(true);
|
// Inserisco valori di default
|
||||||
}
|
SetSplitQtyVert(1);
|
||||||
else if (m_SelSplitShape == SplitShapes.HORIZONTAL)
|
SetSplitStartVert(true);
|
||||||
{
|
break;
|
||||||
// Inserisco valori di default
|
}
|
||||||
SetSplitQtyHoriz(1);
|
case SplitShapes.HORIZONTAL:
|
||||||
SetSplitStartVert(false);
|
{
|
||||||
}
|
// Inserisco valori di default
|
||||||
else
|
SetSplitQtyHoriz(1);
|
||||||
{
|
SetSplitStartVert(false);
|
||||||
// Inserisco valori di default
|
break;
|
||||||
SetSplitQtyVert(1);
|
}
|
||||||
SetSplitQtyHoriz(1);
|
case SplitShapes.GRID:
|
||||||
SetSplitStartVert(true);
|
{
|
||||||
|
// Inserisco valori di default
|
||||||
|
SetSplitQtyVert(1);
|
||||||
|
SetSplitQtyHoriz(1);
|
||||||
|
SetSplitStartVert(true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Aggiungo area Splitted e vetro
|
// Aggiungo area Splitted e vetro
|
||||||
int nVert = m_SplitVertList.Count > 0 ? m_SplitVertList.Count : 1;
|
int nVert = SplitVertList.Count > 0 ? SplitVertList.Count : 1;
|
||||||
int nHoriz = m_SplitHorizList.Count > 0 ? m_SplitHorizList.Count : 1;
|
int nHoriz = SplitHorizList.Count > 0 ? SplitHorizList.Count : 1;
|
||||||
for (var SplitIndex = 0; SplitIndex <= (nVert * nHoriz) - 1; SplitIndex++)
|
for (var SplitIndex = 0; SplitIndex <= (nVert * nHoriz) - 1; SplitIndex++)
|
||||||
{
|
{
|
||||||
AreaList.Add(Splitted.CreateSplitted(this));
|
AreaList.Add(Splitted.CreateSplitted(this));
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Version>2.7.10.818</Version>
|
<Version>2.7.10.917</Version>
|
||||||
<Authors>Annamaria Sassi</Authors>
|
<Authors>Annamaria Sassi</Authors>
|
||||||
<Company>Egalware</Company>
|
<Company>Egalware</Company>
|
||||||
<Description>Componente gestione JWD per LUX</Description>
|
<Description>Componente gestione JWD per LUX</Description>
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Egw.Window.Data" Version="2.7.10.218" />
|
<PackageReference Include="Egw.Window.Data" Version="2.7.10-beta.915" />
|
||||||
<PackageReference Include="EgwCoreLib.Razor" Version="1.5.2507.1815" />
|
<PackageReference Include="EgwCoreLib.Razor" Version="1.5.2507.1815" />
|
||||||
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2507.1815" />
|
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2507.1815" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
||||||
@@ -156,6 +156,21 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Egw.Window.Data" Version="2.7.10.218" />
|
<PackageReference Include="Egw.Window.Data" Version="2.7.10-beta.915" />
|
||||||
<PackageReference Include="EgwCoreLib.Razor" Version="1.5.2507.1815" />
|
<PackageReference Include="EgwCoreLib.Razor" Version="1.5.2507.1815" />
|
||||||
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2507.1815" />
|
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2507.1815" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.19" />
|
||||||
|
|||||||
+2052
-1656
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user