From 37196e8e94fc75bc41e25a48c4f0c2d68daf0f8c Mon Sep 17 00:00:00 2001
From: Kevin BEAUGRAND <9513635+kbeaugrand@users.noreply.github.com>
Date: Sat, 12 Mar 2022 13:56:47 +0100
Subject: [PATCH] Update device details properties
---
.../Devices/LoRaWAN/CreateLoraDevice.razor | 21 +-
.../Devices/LoRaWAN/EditLoraDevice.razor | 185 ++++++++----------
2 files changed, 101 insertions(+), 105 deletions(-)
diff --git a/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/CreateLoraDevice.razor b/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/CreateLoraDevice.razor
index 7336fe88f..76fadff48 100644
--- a/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/CreateLoraDevice.razor
+++ b/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/CreateLoraDevice.razor
@@ -14,8 +14,8 @@
@if (loraModel.UseOTAA)
{
-
-
+
}
-
-
-
+ else
+ {
+
+
+
+
+
+
+
+
+
+ }
@@ -55,4 +64,4 @@
[Parameter]
public EventCallback OnSaveClick { get; set; }
-}
\ No newline at end of file
+}
diff --git a/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/EditLoraDevice.razor b/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/EditLoraDevice.razor
index 11652773e..135657d2a 100644
--- a/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/EditLoraDevice.razor
+++ b/src/AzureIoTHub.Portal/Client/Pages/Devices/LoRaWAN/EditLoraDevice.razor
@@ -15,86 +15,68 @@
- @if (LoRaDevice.UseOTAA)
- {
-
-
-
-
-
-
- }
- else
- {
-
-
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @foreach (DeduplicationMode item in Enum.GetValues(typeof(DeduplicationMode)))
+
+ @if (LoRaDevice.UseOTAA)
{
- @item
+
+
+
+
+
+
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ else
+ {
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+ @foreach (ClassType item in Enum.GetValues(typeof(ClassType)))
+ {
+ @item
+ }
+
+
+
+
+ @foreach (DeduplicationMode item in Enum.GetValues(typeof(DeduplicationMode)))
+ {
+ @item
+ }
+
+
+
+
+
+
+
+
@@ -113,28 +95,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ Adaptive DataRate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Receive Windows
+
+
+
+
+
+
+
+
+
+
+