- Eliminate aree deprecate
- Aggiunti parametri min e max degli elementi del frame e split
This commit is contained in:
@@ -39,20 +39,6 @@ namespace WebWindowComplex.DTO
|
||||
/// </summary>
|
||||
public List<string> Glass { get; set; } = null!;
|
||||
|
||||
#if false
|
||||
/// <summary>
|
||||
/// Elenco profili ammessi
|
||||
/// </summary>
|
||||
[Obsolete("Sostituire con info ProfileList")]
|
||||
public List<string>? Profile { get; set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// Elenco profili ammessi
|
||||
/// </summary>
|
||||
[Obsolete("Sostituire con info ProfileList")]
|
||||
public Dictionary<string, List<Threshold>>? Threshold { get; set; } = null;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Lista info profili nel nuovo formato compatto
|
||||
/// </summary>
|
||||
@@ -70,10 +56,6 @@ namespace WebWindowComplex.DTO
|
||||
bool matOK = Material != null && Material.Count > 0;
|
||||
bool colorOK = ColorMaterial != null && ColorMaterial.Count > 0;
|
||||
bool profileOK = ProfileList != null && ProfileList.Count > 0;
|
||||
#if false
|
||||
bool profileOKOld = Profile != null && Profile.Count > 0;
|
||||
bool thresholdOK = Threshold != null && Threshold.Count > 0;
|
||||
#endif
|
||||
return famHwOK && glassOK && hwOK && colorOK && matOK && profileOK;
|
||||
}
|
||||
/// <summary>
|
||||
@@ -88,10 +70,6 @@ namespace WebWindowComplex.DTO
|
||||
bool matOK = Material != null && Material.Count > 0;
|
||||
bool colorOK = ColorMaterial != null && ColorMaterial.Count > 0;
|
||||
bool profileOK = ProfileList != null && ProfileList.Count > 0;
|
||||
#if false
|
||||
bool profileOKOld = Profile != null && Profile.Count > 0;
|
||||
bool thresholdOK = Threshold != null && Threshold.Count > 0;
|
||||
#endif
|
||||
return famHwOK || glassOK || hwOK || colorOK || matOK || profileOK;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user