Modificata proprietà SplitStartVert

This commit is contained in:
Annamaria Sassi
2026-03-05 15:41:28 +01:00
parent ff8e65ecef
commit df44ae4bf2
23 changed files with 151 additions and 201 deletions
+14 -49
View File
@@ -410,7 +410,7 @@ namespace WebWindowComplex
DataSave dataSave = new DataSave()
{
currJwd = CurrJwd,
open = false,
Dosave = false,
};
return EC_OnClose.InvokeAsync(dataSave);
}
@@ -572,7 +572,7 @@ namespace WebWindowComplex
DataSave dataSave = new DataSave()
{
currJwd = CurrJwd,
open = true,
Dosave = true,
};
return EC_OnClose.InvokeAsync(dataSave);
}
@@ -661,9 +661,7 @@ namespace WebWindowComplex
{
checkWarnings();
if (SashList.Count > 0)
{
currAntaIndex = 0;
}
if (updRequested)
{
// se mancasse dizionario forme chiamo quello
@@ -794,12 +792,12 @@ namespace WebWindowComplex
if (m_CurrWindow.AreaList.First().Shape == Shapes.TRIANGLE)
{
for (int i = 0; i < 2; i++)
m_CurrWindow.AreaList.First().JointList[i].SetSelJointType(m_PreviousWindow.AreaList.First().JointList[i].SelJointType);
m_CurrWindow.AreaList.First().JointList[i].SelJointType = m_PreviousWindow.AreaList.First().JointList[i].SelJointType;
}
else
{
for (int i = 0; i < 4; i++)
m_CurrWindow.AreaList.First().JointList[i].SetSelJointType(m_PreviousWindow.AreaList.First().JointList[i].SelJointType);
m_CurrWindow.AreaList.First().JointList[i].SelJointType = m_PreviousWindow.AreaList.First().JointList[i].SelJointType;
}
}
if (m_CurrWindow != null)
@@ -900,7 +898,7 @@ namespace WebWindowComplex
}
/// <summary>
/// Metodo per settare i parmateri di ingresso selezionati
/// Metodo per settare i paramteri di ingresso selezionati
/// </summary>
protected void UpdateInputList(JsonWindow WindowFromJson)
{
@@ -1192,30 +1190,6 @@ namespace WebWindowComplex
AdvStep(CompileStep.Tree);
}
///// <summary>
///// Metodo per cercare un area precisa
///// </summary>
///// <param name="currentArea"> Area che si sta analizzando </param>
///// <param name="idSearch"> Id Area che si sta cercando </param>
///// <param name="itemSearch"> Area che si sta cercando </param>
///// <returns></returns>
//private Area SearchArea(Area currentArea, int idSearch, Area itemSearch)
//{
// if (currentArea.GroupId == idSearch && currentArea.AreaType.Equals(itemSearch.AreaType))
// {
// return currentArea;
// }
// foreach (Area child in currentArea.AreaList)
// {
// Area found = SearchArea(child, idSearch, itemSearch);
// if (found != null)
// {
// return found;
// }
// }
// return null;
//}
/// <summary>
/// Metodo per cercare un area precisa partendo da GroupId
/// </summary>
@@ -1351,6 +1325,13 @@ namespace WebWindowComplex
}
}
/// <summary>
/// Metodo per calcolare overlap per gli elementi delle ante
/// </summary>
/// <param name="sash"> sash group </param>
/// <param name="anta"> anta </param>
/// <param name="indexAnta"> indice anta </param>
/// <param name="elemList"> lista elementi </param>
private void SetOverlapSash(Sash sash, SashDimension anta, int indexAnta, List<ElementDimension> elemList)
{
string overlapNameBottom = "";
@@ -1802,22 +1783,6 @@ namespace WebWindowComplex
m_SplittedList = new List<Splitted>();
CreateWindowsList((m_CurrWindow!).AreaList.First(), false);
ReqListGroupId(FrameWindow, reqList);
//// richiedo update element della sash (se presenti)
//if (SashList.Count > 0)
//{
// foreach (var item in SashList)
// {
// reqList.Add(item.GroupId);
// }
//}
//// richiedo update element degli split (se presenti)
//if (SplitList.Count > 0)
//{
// foreach (var item in SplitList)
// {
// reqList.Add(item.GroupId);
// }
//}
await DoReqElement(reqList);
}
}
@@ -1991,7 +1956,7 @@ namespace WebWindowComplex
}
public class DataSave
{
public string currJwd { get; set; }
public bool open { get; set; } = false;
public string currJwd { get; set; } = "";
public bool Dosave { get; set; } = true;
}
}