Fix rename Channel

This commit is contained in:
Annamaria Sassi
2025-11-07 10:49:30 +01:00
parent b57e7e1efb
commit 0e95f51b2b
4 changed files with 20 additions and 14 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ namespace Test.UI.Components.Pages
public partial class Aedifica : IDisposable
{
private string subChannel = "";
private string channelSub = "";
private string CalcUid = "TestBeam";
private string currSvg = "";
private string apiUrl = "";
@@ -51,7 +51,7 @@ namespace Test.UI.Components.Pages
GenericBasePath = Config.GetValue<string>("ServerConf:GenericBaseUrl") ?? "";
//imgTag = Config.GetValue<string>("ServerConf:ImageFileTag") ?? "";
calcTag = Config.GetValue<string>("ServerConf:CalcTag") ?? "";
subChannel = Config.GetValue<string>("ServerConf:SvgChannel") ?? "";
channelSub = Config.GetValue<string>("ServerConf:ChannelSvg") ?? "";
}
private async Task SendBtlRequest(Dictionary<string, string> CurrArgs)
@@ -74,7 +74,7 @@ namespace Test.UI.Components.Pages
// conversione on-the-fly SVG da mostrare
if (!string.IsNullOrEmpty(currArgs.newMessage))
{
if (currArgs.msgUid.Equals($"{subChannel}:{CalcUid}"))
if (currArgs.msgUid.Equals($"{channelSub}:{CalcUid}"))
{
currSvg = currArgs.newMessage;
}