From a147df8c9e29968616837c6312e7129dccfb2173 Mon Sep 17 00:00:00 2001
From: wxl0430 <141288415+wxl0430@users.noreply.github.com>
Date: Sun, 2 Mar 2025 15:02:38 +0800
Subject: [PATCH] Add files via upload
---
.../Stations/Zibo/PrimaryScreenView.xaml | 395 ++++++++++++++++++
.../Stations/Zibo/PrimaryScreenView.xaml.cs | 33 ++
2 files changed, 428 insertions(+)
create mode 100644 CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml
create mode 100644 CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml.cs
diff --git a/CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml b/CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml
new file mode 100644
index 0000000..9b7388f
--- /dev/null
+++ b/CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml
@@ -0,0 +1,395 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml.cs b/CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml.cs
new file mode 100644
index 0000000..a276d94
--- /dev/null
+++ b/CRSim/Views/Windows/Stations/Zibo/PrimaryScreenView.xaml.cs
@@ -0,0 +1,33 @@
+using CRSim.ViewModels.Zibo;
+
+namespace CRSim.Views.Zibo
+{
+ ///
+ /// PrimaryScreen.xaml 的交互逻辑
+ ///
+ public partial class PrimaryScreenView : Window
+ {
+ public PrimaryScreenViewModel ViewModel { get; }
+ public PrimaryScreenView(PrimaryScreenViewModel viewModel)
+ {
+ InitializeComponent();
+ ViewModel = viewModel;
+ DataContext = viewModel;
+ }
+ private void Window_MouseDown(object sender, MouseButtonEventArgs e)
+ {
+ if (e.ChangedButton == MouseButton.Left)
+ {
+ DragMove();
+ }
+ }
+
+ private void Window_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.Key == Key.Escape)
+ {
+ Close();
+ }
+ }
+ }
+}