File tree Expand file tree Collapse file tree
NETworkManager.Models/Network
NETworkManager/ViewModels Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments