diff --git a/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs b/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs index b3d76073..e1a67c73 100644 --- a/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs +++ b/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs @@ -155,6 +155,7 @@ namespace EgwCoreLib.Lux.Data.Services /// Elenco completo Config Profile /// /// + [Obsolete("Superato da gestione profili direttametne dal Calc")] public async Task> ConfProfileGetAllAsync() { string source = "DB"; diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj index 2a4c46f5..9b1d0a0b 100644 --- a/Lux.API/Lux.API.csproj +++ b/Lux.API/Lux.API.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 0.9.2510.2210 + 0.9.2510.2211 diff --git a/Lux.UI/Components/Compo/OfferCommonPar.razor.cs b/Lux.UI/Components/Compo/OfferCommonPar.razor.cs index fdd8684a..40757b5d 100644 --- a/Lux.UI/Components/Compo/OfferCommonPar.razor.cs +++ b/Lux.UI/Components/Compo/OfferCommonPar.razor.cs @@ -22,6 +22,9 @@ namespace Lux.UI.Components.Compo #region Protected Properties + [Inject] + protected ConfigDataService CDService { get; set; } = null!; + [Inject] protected DataLayerServices DLService { get; set; } = null!; @@ -73,7 +76,7 @@ namespace Lux.UI.Components.Compo // leggo dati di base var AllColors = await DLService.GenValGetFiltAsync("WoodCol"); var AllConfGlass = await DLService.ConfGlassGetAllAsync(); - var AllConfProfile = await DLService.ConfProfileGetAllAsync(); + var AllConfProfile = CDService.ProfileList(EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW, "Default"); var AllConfWood = await DLService.ConfWoodGetAllAsync(); // conversione tipi ListColors = AllColors @@ -82,9 +85,7 @@ namespace Lux.UI.Components.Compo ListGlass = AllConfGlass .Select(x => x.Description) .ToList(); - ListProfiles = AllConfProfile - .Select(x => x.Description) - .ToList(); + ListProfiles = AllConfProfile; ListWood = AllConfWood .Select(x => x.Description) .ToList(); diff --git a/Lux.UI/Components/Compo/OfferRowMan.razor.cs b/Lux.UI/Components/Compo/OfferRowMan.razor.cs index e48d11f8..6bbba813 100644 --- a/Lux.UI/Components/Compo/OfferRowMan.razor.cs +++ b/Lux.UI/Components/Compo/OfferRowMan.razor.cs @@ -540,7 +540,7 @@ namespace Lux.UI.Components.Compo private List AllConfHardware = new(); - private List AllConfProfile = new(); + private List AllConfWood = new(); @@ -892,21 +892,19 @@ namespace Lux.UI.Components.Compo // lettura config setup varie da DB/Cache Redis AllConfEnvir = await DLService.ConfEnvirParamGetAllAsync(); AllConfGlass = await DLService.ConfGlassGetAllAsync(); + var rawProfiles = CDService.ProfileList(EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW, "Default"); + AvailProfileList = rawProfiles; var rawHw = CDService.HwModelList(EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW, "HW.AGB"); // hw filtro solo validi... AllConfHardware = rawHw .Where(x => !x.FamilyName.Equals(x.Description, StringComparison.OrdinalIgnoreCase)) .ToList(); - AllConfProfile = await DLService.ConfProfileGetAllAsync(); AllConfWood = await DLService.ConfWoodGetAllAsync(); AllColors = await DLService.GenValGetFiltAsync("WoodCol"); // conversione tipi AvailGlassList = AllConfGlass .Select(x => x.Description) .ToList(); - AvailProfileList = AllConfProfile - .Select(x => x.Description) - .ToList(); AvailFamilyHardwareList = AllConfHardware .DistinctBy(x => x.FamilyName) .OrderBy(x => x.FamilyName) diff --git a/Lux.UI/Lux.UI.csproj b/Lux.UI/Lux.UI.csproj index d7c952de..36b6298f 100644 --- a/Lux.UI/Lux.UI.csproj +++ b/Lux.UI/Lux.UI.csproj @@ -5,7 +5,7 @@ enable enable aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50 - 0.9.2510.2210 + 0.9.2510.2211 diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index dddf04f4..ea431915 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ LUX - Web Windows MES -

Versione: 0.9.2510.2210

+

Versione: 0.9.2510.2211


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index e24a0fbd..347ff6ab 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -0.9.2510.2210 +0.9.2510.2211 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index 2420eece..a774e8c4 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 0.9.2510.2210 + 0.9.2510.2211 http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html false