Rimosso preselezione vecchio modo

This commit is contained in:
Annamaria Sassi
2026-03-31 09:26:07 +02:00
parent 030fd93895
commit 7449dd50c8
7 changed files with 6 additions and 37 deletions
-23
View File
@@ -108,12 +108,6 @@ namespace WebWindowComplex
[Parameter]
public LivePayload LiveData { get; set; } = null!;
/// <summary>
/// Preselezione valori
/// </summary>
[Parameter]
public SelectPayload? SelectionData { get; set; } = null;
/// <summary>
/// Preselezione valori
/// </summary>
@@ -196,8 +190,6 @@ namespace WebWindowComplex
SvgPreview = LiveData.SvgPreview,
ProfElementList = LiveData.ProfElementList
};
// Aggiornati parametri di ingresso selezionati
UpdateSelParameter();
// provo a deserializzare SE necessario
if (needDeser)
{
@@ -2076,21 +2068,6 @@ namespace WebWindowComplex
}
}
/// <summary>
/// Metodo per settare i parmateri di ingresso selezionati
/// </summary>
private void UpdateSelParameter()
{
if (SelectionData != null && SelectionData.IsValid())
{
SelFamilyHardware = SelectionData.FamilyHardware ?? "";
SelColorMaterial = SelectionData.ColorMaterial ?? "";
SelWood = SelectionData.Wood ?? "";
SelGlass = SelectionData.Glass ?? "";
SelProfile = SelectionData.Profile ?? "";
}
}
#endregion Private Methods
}
}