From 6c109dde6c2c1de8b2a823598b40e4b17850b959 Mon Sep 17 00:00:00 2001 From: denglihong2007 <2639367181@qq.com> Date: Fri, 25 Apr 2025 17:35:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B9=BF=E5=85=83=E7=AB=99=E4=B8=BB?= =?UTF-8?q?=E8=A6=81=E7=9C=8B=E6=9D=BF=E6=97=A0=E6=B3=95=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewModels/Guangyuan/PrimaryScreenViewModel.cs | 4 ++-- .../Views/Guangyuan/PrimaryScreenView.xaml.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CRSim.ScreenSimulator/ViewModels/Guangyuan/PrimaryScreenViewModel.cs b/CRSim.ScreenSimulator/ViewModels/Guangyuan/PrimaryScreenViewModel.cs index cfda8ec..9e44139 100644 --- a/CRSim.ScreenSimulator/ViewModels/Guangyuan/PrimaryScreenViewModel.cs +++ b/CRSim.ScreenSimulator/ViewModels/Guangyuan/PrimaryScreenViewModel.cs @@ -5,10 +5,10 @@ using System.Windows; using CRSim.Core.Models; namespace CRSim.ScreenSimulator.ViewModels.Guangyuan { - public class OutsideScreenViewModel : ScreenViewModel + public class PrimaryScreenViewModel : ScreenViewModel { public ObservableCollection Screen { get; private set; } = []; - public OutsideScreenViewModel(ITimeService timeService, ISettingsService settingsService) + public PrimaryScreenViewModel(ITimeService timeService, ISettingsService settingsService) : base(timeService, settingsService) { Text = "成都铁路客服电话:028-12306"; diff --git a/CRSim.ScreenSimulator/Views/Guangyuan/PrimaryScreenView.xaml.cs b/CRSim.ScreenSimulator/Views/Guangyuan/PrimaryScreenView.xaml.cs index 4dbec30..a6ba99d 100644 --- a/CRSim.ScreenSimulator/Views/Guangyuan/PrimaryScreenView.xaml.cs +++ b/CRSim.ScreenSimulator/Views/Guangyuan/PrimaryScreenView.xaml.cs @@ -9,8 +9,8 @@ namespace CRSim.ScreenSimulator.Views.Guangyuan /// public partial class PrimaryScreenView : Window { - public OutsideScreenViewModel ViewModel { get; } - public PrimaryScreenView(OutsideScreenViewModel viewModel) + public PrimaryScreenViewModel ViewModel { get; } + public PrimaryScreenView(PrimaryScreenViewModel viewModel) { InitializeComponent(); RenderOptions.SetEdgeMode(this, EdgeMode.Aliased);