@currText
+@*@currText
*@ diff --git a/Test.UI/Components/Pages/Aedifica.razor.cs b/Test.UI/Components/Pages/Aedifica.razor.cs index bd94bde..b9e26a7 100644 --- a/Test.UI/Components/Pages/Aedifica.razor.cs +++ b/Test.UI/Components/Pages/Aedifica.razor.cs @@ -1,12 +1,87 @@ -namespace Test.UI.Components.Pages +using EgwCoreLib.Lux.Core; +using EgwCoreLib.Lux.Core.RestPayload; +using EgwCoreLib.Lux.Data.Services; +using Microsoft.AspNetCore.Components; +using Newtonsoft.Json; + +namespace Test.UI.Components.Pages { - public partial class Aedifica + public partial class Aedifica : IDisposable { - protected string currText = "..."; - private async Task SaveText(string newText) + + private string subChannel = ""; + private string CalcUid = "Pizza"; + private string currSvg = ""; + private string apiUrl = ""; + private string calcTag = ""; + private string GenericBasePath = ""; + + [Inject] + protected IConfiguration Config { get; set; } = null!; + + [Inject] + protected DataLayerServices DLService { get; set; } = null!; + + [Inject] + protected ImageCacheService ICService { get; set; } = null!; + + public void Dispose() { - currText = newText; - await Task.Delay(100); + DLService.CalcDonePipe.EA_NewMessage -= CalcDonePipe_EA_NewMessage; } + + protected MarkupString JsonSer + { + get => (MarkupString)currSvg.Replace(Environment.NewLine, "