diff --git a/Test.UI/Components/Pages/EditJWD.razor b/Test.UI/Components/Pages/EditJWD.razor index 500e82a..4323a12 100644 --- a/Test.UI/Components/Pages/EditJWD.razor +++ b/Test.UI/Components/Pages/EditJWD.razor @@ -88,9 +88,6 @@ else if (!string.IsNullOrEmpty(outSave)) }
-
- WindowUid: @windowUid -
@JsonSer
diff --git a/Test.UI/Components/Pages/EditJWD.razor.cs b/Test.UI/Components/Pages/EditJWD.razor.cs index 96d8b25..897a52b 100644 --- a/Test.UI/Components/Pages/EditJWD.razor.cs +++ b/Test.UI/Components/Pages/EditJWD.razor.cs @@ -91,10 +91,10 @@ namespace Test.UI.Components.Pages new string("ProfiloSaomad") }; - protected List AvailThresholdList { get; set; } = new List() + protected Dictionary> AvailThreshold { get; set; } = new Dictionary>() { - new Threshold(1, "Bottom"), - new Threshold(3, "Threshold") + {"Profilo78", new List() { new Threshold(1, "Bottom"), new Threshold(3, "Threshold")}}, + {"ProfiloSaomad", new List(){ new Threshold(1, "Bottom"), new Threshold(2, "BottomWaterdrip"), new Threshold(3, "Threshold")}} }; [Inject] @@ -150,7 +150,7 @@ namespace Test.UI.Components.Pages Hardware = AvailHardwareList, Material = AvailMaterialList, Profile = AvailProfileList, - Threshold = AvailThresholdList + Threshold = AvailThreshold }; CurrData = new LivePayload() { diff --git a/Test.UI/Components/Pages/Home.razor.cs b/Test.UI/Components/Pages/Home.razor.cs index 8ed9c13..0f975e5 100644 --- a/Test.UI/Components/Pages/Home.razor.cs +++ b/Test.UI/Components/Pages/Home.razor.cs @@ -91,10 +91,10 @@ namespace Test.UI.Components.Pages new string("ProfiloSaomad") }; - protected List AvailThresholdList { get; set; } = new List() + protected Dictionary> AvailThreshold { get; set; } = new Dictionary>() { - new Threshold(1, "Bottom"), - new Threshold(3, "Threshold") + {"Profilo78", new List() { new Threshold(1, "Bottom"), new Threshold(3, "Threshold")}}, + {"ProfiloSaomad", new List(){ new Threshold(1, "Bottom"), new Threshold(2, "BottomWaterdrip"), new Threshold(3, "Threshold")}} }; [Inject] @@ -357,7 +357,7 @@ namespace Test.UI.Components.Pages Hardware = AvailHardwareList, Material = AvailMaterialList, Profile = AvailProfileList, - Threshold = AvailThresholdList + Threshold = AvailThreshold }; } diff --git a/WebWindowComplex/Compo/CardFrame.razor b/WebWindowComplex/Compo/CardFrame.razor index dc7de7d..fa94103 100644 --- a/WebWindowComplex/Compo/CardFrame.razor +++ b/WebWindowComplex/Compo/CardFrame.razor @@ -43,7 +43,7 @@