Skip to content

Commit

Permalink
Fixed wrong </div>
Browse files Browse the repository at this point in the history
  • Loading branch information
cBashTN committed Jun 21, 2024
1 parent 2117bb9 commit 5eab07f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
6 changes: 0 additions & 6 deletions LiveEditor/LiveEditor.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ VisualStudioVersion = 17.10.34825.169
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveEditor", "LiveEditor.csproj", "{E021DF21-424E-4EAB-9A16-46E8E8427835}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KellerAg.Shared.IoT.Converters", "..\Source\KellerAg.Shared.IoT.Converters\KellerAg.Shared.IoT.Converters.csproj", "{CC6C14E1-D554-4683-AD50-12FBE9298B37}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -17,10 +15,6 @@ Global
{E021DF21-424E-4EAB-9A16-46E8E8427835}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E021DF21-424E-4EAB-9A16-46E8E8427835}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E021DF21-424E-4EAB-9A16-46E8E8427835}.Release|Any CPU.Build.0 = Release|Any CPU
{CC6C14E1-D554-4683-AD50-12FBE9298B37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CC6C14E1-D554-4683-AD50-12FBE9298B37}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CC6C14E1-D554-4683-AD50-12FBE9298B37}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CC6C14E1-D554-4683-AD50-12FBE9298B37}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
13 changes: 6 additions & 7 deletions LiveEditor/Pages/DemoLora.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Tabs>
<RadzenTabsItem Text="LoRa data FROM devices (uplink)">
<RadzenCard>
<div class="form-group">
<div class="form-group">
<label for="LABEL LoRa 1">Decrypt KELLER LoRa-Payload to DTO</label>
<pre><code> PayloadInformation payLoadInfo = Converter.LoRaPayloadToLoRaMessage(payloadText, port);
//The port number is stored in PayloadInformation but has no logic attached.</code></pre>
Expand Down Expand Up @@ -40,7 +40,6 @@
<RadzenTextArea @bind-Value="_decryptedLoRaJsonMessageText" Rows="30" ReadOnly Style="margin-bottom: 20px; width: 500px;"></RadzenTextArea>
</div>
</RadzenCard>
</div>
</RadzenTabsItem>
<RadzenTabsItem Text="LoRa data TO devices (downlink)">
<RadzenCard>
Expand Down Expand Up @@ -104,11 +103,11 @@
private string ExamplePayloadInfoJson { get; set; }
void ConvertDeviceSettingsToLoRaPayloads(string value)
{
/*
List<string> payloads = Converter.DeviceConfigurationToLoRaPayloads(DeviceSettings deviceConfigurationDifference); // Properties that are not null/empty will be used for generating the payloads
// alternative:
List<string> payloads = Converter.DeviceConfigurationToLoRaPayloads(string deviceConfigurationDifference); // JSON string with properties to change (not listed properties shall not be changed)
*/
/*
List<string> payloads = Converter.DeviceConfigurationToLoRaPayloads(DeviceSettings deviceConfigurationDifference); // Properties that are not null/empty will be used for generating the payloads
// alternative:
List<string> payloads = Converter.DeviceConfigurationToLoRaPayloads(string deviceConfigurationDifference); // JSON string with properties to change (not listed properties shall not be changed)
*/
ConvertedPayloads = new List<string>();
ConvertedPayloads.Add("TODO ( " + value + " )");
CombinedConvertedPayloads = string.Join($"{Environment.NewLine}", ConvertedPayloads);
Expand Down

0 comments on commit 5eab07f

Please sign in to comment.