diff --git a/CRSim/Models/StylesInfoData.json b/CRSim/Models/StylesInfoData.json
index 926d596..e1364e2 100644
--- a/CRSim/Models/StylesInfoData.json
+++ b/CRSim/Models/StylesInfoData.json
@@ -83,7 +83,8 @@
"ImagePath": "Assets/StyleImages/Hanzhong/PlatformScreen.png",
"Parameters": [
"Station",
- "Platform"
+ "Platform",
+ "Text"
]
},
{
@@ -123,7 +124,8 @@
"StyleName": "SecondaryScreenView",
"ImagePath": "Assets/StyleImages/GuangdongIntercity/SecondaryScreen.png",
"Parameters": [
- "Station"
+ "Station",
+ "Text"
]
}
]
\ No newline at end of file
diff --git a/CRSim/ViewModels/Windows/Stations/GuangdongIntercity/SecondaryScreenViewModel.cs b/CRSim/ViewModels/Windows/Stations/GuangdongIntercity/SecondaryScreenViewModel.cs
index 1e1810c..b136988 100644
--- a/CRSim/ViewModels/Windows/Stations/GuangdongIntercity/SecondaryScreenViewModel.cs
+++ b/CRSim/ViewModels/Windows/Stations/GuangdongIntercity/SecondaryScreenViewModel.cs
@@ -9,12 +9,12 @@
ItemsPerPage = 8;
PageCount = 1;
timeService.RefreshSecondsElapsed += RefreshDisplay;
+ Text = $"列 车 到 发 信 息";
Initialize();
}
private async void Initialize()
{
await WaitForDataLoadAsync();
- Text = $"列 车 到 发 信 息";
RefreshDisplay(null,null);
}
private void RefreshDisplay(object? sender, EventArgs e)
diff --git a/CRSim/ViewModels/Windows/Stations/Hanzhong/PlatformScreenViewModel.cs b/CRSim/ViewModels/Windows/Stations/Hanzhong/PlatformScreenViewModel.cs
index e5ba0e5..49e97b0 100644
--- a/CRSim/ViewModels/Windows/Stations/Hanzhong/PlatformScreenViewModel.cs
+++ b/CRSim/ViewModels/Windows/Stations/Hanzhong/PlatformScreenViewModel.cs
@@ -9,6 +9,7 @@
{
_timeService = timeService;
timeService.RefreshSecondsElapsed += RefreshDisplay;
+ Text = "请注意列车与站台之间的间隙,请勿携带危险品上车";
Initialize();
}
private async void Initialize()
diff --git a/CRSim/Views/Windows/Stations/Hanzhong/PlatformScreenView.xaml b/CRSim/Views/Windows/Stations/Hanzhong/PlatformScreenView.xaml
index 21fadf3..a2298e3 100644
--- a/CRSim/Views/Windows/Stations/Hanzhong/PlatformScreenView.xaml
+++ b/CRSim/Views/Windows/Stations/Hanzhong/PlatformScreenView.xaml
@@ -71,7 +71,7 @@
-
+