From 1c9736a9d359aec8503e2df81b4145eeef7cd395 Mon Sep 17 00:00:00 2001 From: k1mlka Date: Wed, 25 Sep 2024 18:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=E4=BB=A3=E7=A0=81Clean=EF=BC=8C?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=BC=95=E7=94=A8=E5=88=B0=E7=9A=84=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=A9=BA=E9=97=B4=E4=B8=8E=E6=9E=9A=E4=B8=BE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/ViewModels/AcceleratorPageViewModel.cs | 5 +---- .../UI/ViewModels/NetworkCheckControlViewModel.cs | 7 ------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/AcceleratorPageViewModel.cs b/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/AcceleratorPageViewModel.cs index 927cb32128f..ad9d3045d34 100644 --- a/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/AcceleratorPageViewModel.cs +++ b/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/AcceleratorPageViewModel.cs @@ -1,8 +1,5 @@ -using AppResources = BD.WTTS.Client.Resources.Strings; - using BD.WTTS.UI.Views.Pages; -using STUN.StunResult; -using STUN.Enums; +using AppResources = BD.WTTS.Client.Resources.Strings; namespace BD.WTTS.UI.ViewModels; diff --git a/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/NetworkCheckControlViewModel.cs b/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/NetworkCheckControlViewModel.cs index 1d5d8323f00..ab7c574cb6a 100644 --- a/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/NetworkCheckControlViewModel.cs +++ b/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/NetworkCheckControlViewModel.cs @@ -10,13 +10,6 @@ public class NetworkCheckControlViewModel : ViewModelBase public record NATFetchResult(string PublicEndPoint, string LocalEndPoint, string NATLevel, string NATTypeTip, bool PingResult); - public enum PingStatus - { - Blank, - Ok, - Error, - } - [Reactive] public string SelectedSTUNAddress { get; set; }