diff --git a/CRSim.ScreenSimulator/Assets/DezhouDong/TicketCheckScreen.png b/CRSim.ScreenSimulator/Assets/DezhouDong/TicketCheckScreen.png new file mode 100644 index 0000000..8a5a7ab Binary files /dev/null and b/CRSim.ScreenSimulator/Assets/DezhouDong/TicketCheckScreen.png differ diff --git a/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj b/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj index 8e92410..68d3d6e 100644 --- a/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj +++ b/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj @@ -125,6 +125,7 @@ + diff --git a/CRSim.ScreenSimulator/Models/StylesInfoData.json b/CRSim.ScreenSimulator/Models/StylesInfoData.json index 135c559..51c562f 100644 --- a/CRSim.ScreenSimulator/Models/StylesInfoData.json +++ b/CRSim.ScreenSimulator/Models/StylesInfoData.json @@ -399,5 +399,16 @@ "Parameters": [ "Station" ] + }, + { + "UniqueId": "DezhouDong.TicketCheckScreen", + "Title": "德州东站检票口看板", + "Region": "德州", + "Author": "wxl0430", + "Type": "检票口屏", + "Parameters": [ + "Station", + "TicketCheck" + ] } ] \ No newline at end of file diff --git a/CRSim.ScreenSimulator/ViewModels/DezhouDong/TicketCheckScreenViewModel.cs b/CRSim.ScreenSimulator/ViewModels/DezhouDong/TicketCheckScreenViewModel.cs new file mode 100644 index 0000000..e5c5e12 --- /dev/null +++ b/CRSim.ScreenSimulator/ViewModels/DezhouDong/TicketCheckScreenViewModel.cs @@ -0,0 +1,14 @@ +using CRSim.Core.Services; +using CRSim.Core.Models; +namespace CRSim.ScreenSimulator.ViewModels.DezhouDong +{ + public class TicketCheckScreenViewModel : ScreenViewModel + { + public TicketCheckScreenViewModel(ITimeService timeService, ISettingsService settingsService) + : base(timeService, settingsService) + { + ItemsPerPage = 3; + StationType = StationType.Departure; + } + } +} diff --git a/CRSim.ScreenSimulator/Views/DezhouDong/TicketCheckScreenView.xaml b/CRSim.ScreenSimulator/Views/DezhouDong/TicketCheckScreenView.xaml new file mode 100644 index 0000000..cb37bf6 --- /dev/null +++ b/CRSim.ScreenSimulator/Views/DezhouDong/TicketCheckScreenView.xaml @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CRSim.ScreenSimulator/Views/DezhouDong/TicketCheckScreenView.xaml.cs b/CRSim.ScreenSimulator/Views/DezhouDong/TicketCheckScreenView.xaml.cs new file mode 100644 index 0000000..723996d --- /dev/null +++ b/CRSim.ScreenSimulator/Views/DezhouDong/TicketCheckScreenView.xaml.cs @@ -0,0 +1,15 @@ +using CRSim.ScreenSimulator.ViewModels.DezhouDong; + +namespace CRSim.ScreenSimulator.Views.DezhouDong +{ + public partial class TicketCheckScreenView : BaseScreenView + { + public TicketCheckScreenViewModel ViewModel { get; } + public TicketCheckScreenView(TicketCheckScreenViewModel viewModel) + { + InitializeComponent(); + ViewModel = viewModel; + DataContext = viewModel; + } + } +}