diff --git a/Layout/NavMenu.razor b/Layout/NavMenu.razor
index 8bf5a5b..2a7c52d 100644
--- a/Layout/NavMenu.razor
+++ b/Layout/NavMenu.razor
@@ -24,6 +24,11 @@
Saved Points
+
-
TesDevice App V1.1
+
TesDevice App V1.2
+
Added Clients Synchronization
+
+
+
TesDevice App V1.1
Added Automatic points Saving, Calibration and Calculating RTDCard values change in last 3O minutes in saved points
TesDevice App V1.O
-
Firt Fully function Build --> Reading RTD cards, RTD Graph, Points Saving and exporting as csv
+
First Fully function Build --> Reading RTD cards, RTD Graph, Points Saving and exporting as csv
@@ -24,7 +28,7 @@
protected override void OnInitialized()
{
//_RTD8TMService.SetAddress("http://10.250.251.131/");
- _RTD8TMService.SetAddress(Navigator.BaseUri);
+ _SyncService.SetAddress(Navigator.BaseUri);
diff --git a/Pages/SyncPage.razor b/Pages/SyncPage.razor
new file mode 100644
index 0000000..2e8ccc9
--- /dev/null
+++ b/Pages/SyncPage.razor
@@ -0,0 +1,97 @@
+@page "/Sync"
+
+@using UI_SequentMicrosystems.Services
+@using UI_SequentMicrosystems.Models
+
+@inject SyncService _SyncService
+@inject NavigationManager Navigator
+
+
+
+
+
+
+
+ @if (SelectedSyncClientID != null && SelectedSyncClientID != "")
+ {
+
+
+
+ }
+
+}
+
+
+
+
+@code {
+ private string SelectedSyncClientID { get; set; }
+
+ protected override async void OnInitialized()
+ {
+ //_RTD8TMService.SetAddress("http://10.250.251.131/");
+ _SyncService.SetAddress(Navigator.BaseUri);
+ SelectedSyncClientID = await _SyncService.GetSelectedSyncClient();
+ _SyncService.EventUpdateClientsIDs += UpdateView;
+ }
+
+
+ private async void ClientSelected(string select)
+ {
+ Console.WriteLine($"SyncPage:ClientSelected Selected ID: {select}");
+ if (select == "-1")
+ {
+ SelectedSyncClientID = "";
+ await _SyncService.SendClientSyncRequest("");
+ }
+ else
+ {
+ SelectedSyncClientID = select;
+ await _SyncService.SendClientSyncRequest(select);
+ }
+ }
+
+
+
+
+
+
+
+
+
+
+
+ public async Task UpdateView(object? o, bool b)
+ {
+ await InvokeAsync(() =>
+ {
+ StateHasChanged();
+ });
+ }
+}
diff --git a/Program.cs b/Program.cs
index 0b4a6c2..4dac534 100644
--- a/Program.cs
+++ b/Program.cs
@@ -18,6 +18,7 @@ namespace UI_SequentMicrosystems
builder.Services.AddSingleton