diff --git a/CRSim.ScreenSimulator/Assets/KunmingChangshuiAirport/PrimaryScreen.png b/CRSim.ScreenSimulator/Assets/KunmingChangshuiAirport/PrimaryScreen.png new file mode 100644 index 0000000..a3c51df Binary files /dev/null and b/CRSim.ScreenSimulator/Assets/KunmingChangshuiAirport/PrimaryScreen.png differ diff --git a/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj b/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj index 34c10de..1605071 100644 --- a/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj +++ b/CRSim.ScreenSimulator/CRSim.ScreenSimulator.csproj @@ -17,6 +17,7 @@ + @@ -55,6 +56,9 @@ Code + + Code + Code @@ -135,6 +139,7 @@ + diff --git a/CRSim.ScreenSimulator/Models/StylesInfoData.json b/CRSim.ScreenSimulator/Models/StylesInfoData.json index 3587ec1..ec97074 100644 --- a/CRSim.ScreenSimulator/Models/StylesInfoData.json +++ b/CRSim.ScreenSimulator/Models/StylesInfoData.json @@ -139,6 +139,17 @@ "Text" ] }, + { + "UniqueId": "KunmingChangshuiAirport.PrimaryScreen", + "Title": "昆明长水机场主要看板", + "Region": "昆明", + "Author": "电排骨", + "Type": "车站大屏", + "Parameters": [ + "Station", + "Text" + ] + }, { "UniqueId": "Shanghai.OutsideScreen", "Title": "上海站站外看板", diff --git a/CRSim.ScreenSimulator/ViewModels/KunmingChangshuiAirport/PrimaryScreenViewModel.cs b/CRSim.ScreenSimulator/ViewModels/KunmingChangshuiAirport/PrimaryScreenViewModel.cs new file mode 100644 index 0000000..733e82e --- /dev/null +++ b/CRSim.ScreenSimulator/ViewModels/KunmingChangshuiAirport/PrimaryScreenViewModel.cs @@ -0,0 +1,16 @@ +using CRSim.Core.Models; +using CRSim.Core.Services; +namespace CRSim.ScreenSimulator.ViewModels.KunmingChangshuiAirport +{ + public class PrimaryScreenViewModel : ScreenViewModel + { + public PrimaryScreenViewModel(ITimeService timeService, ISettingsService settingsService) + : base(timeService, settingsService) + { + Text = $"如需要任何帮助,或有相关建议,请拨打96566。"; + ItemsPerPage = 20; + ScreenCount = 1; + StationType = StationType.Departure; + } + } +} diff --git a/CRSim.ScreenSimulator/Views/KunmingChangshuiAirport/PrimaryScreenView.xaml b/CRSim.ScreenSimulator/Views/KunmingChangshuiAirport/PrimaryScreenView.xaml new file mode 100644 index 0000000..92d7d17 --- /dev/null +++ b/CRSim.ScreenSimulator/Views/KunmingChangshuiAirport/PrimaryScreenView.xaml @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +