Skip to content

Commit bbc49e3

Browse files
committed
Update
1 parent 9ace03c commit bbc49e3

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Source/NETworkManager.Models/Network/WiFi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ public static string GetHumandReadablePhyKind(WiFiPhyKind phyKind)
287287

288288
public enum Radio
289289
{
290-
Radio1,
291-
Radio2
290+
One,
291+
Two
292292
}
293293
}
294294
}

Source/NETworkManager/ViewModels/WiFiViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ private ChartValues<double> GetDefaultChartValues(WiFi.Radio radio)
394394
{
395395
ChartValues<double> values = new ChartValues<double>();
396396

397-
for (int i = 0; i < (radio == WiFi.Radio.Radio1 ? Radio1Labels.Length : Radio2Labels.Length); i++)
397+
for (int i = 0; i < (radio == WiFi.Radio.One ? Radio1Labels.Length : Radio2Labels.Length); i++)
398398
values.Add(-1);
399399

400400
return values;
@@ -420,7 +420,7 @@ private void AddNetworkToRadio1Chart(WiFiNetworkInfo network)
420420
Radio1Series.Add(new LineSeries
421421
{
422422
Title = network.SSID,
423-
Values = SetChartValues(network, WiFi.Radio.Radio1, index),
423+
Values = SetChartValues(network, WiFi.Radio.One, index),
424424
PointGeometry = null,
425425
LineSmoothness = 0
426426
});
@@ -433,7 +433,7 @@ private void AddNetworkToRadio2Chart(WiFiNetworkInfo network)
433433
Radio2Series.Add(new LineSeries
434434
{
435435
Title = network.SSID,
436-
Values = SetChartValues(network, WiFi.Radio.Radio2, index),
436+
Values = SetChartValues(network, WiFi.Radio.Two, index),
437437
PointGeometry = null,
438438
LineSmoothness = 0
439439
});

0 commit comments

Comments
 (0)