mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-13 04:55:43 +08:00
25 lines
792 B
C#
25 lines
792 B
C#
using CRSim.Core.Converters;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace CRSim.Core.Models
|
|
{
|
|
public class Settings
|
|
{
|
|
public TimeSpan TimeOffset { get; set; } = TimeSpan.Zero;
|
|
|
|
public TimeSpan DepartureCheckInAdvanceDuration { get; set; } = TimeSpan.FromMinutes(20);
|
|
|
|
public TimeSpan PassingCheckInAdvanceDuration { get; set; } = TimeSpan.FromMinutes(10);
|
|
|
|
/// <summary>
|
|
/// 直到发车前多久停止显示
|
|
/// </summary>
|
|
public TimeSpan StopDisplayUntilDepartureDuration { get; set; } = TimeSpan.FromMinutes(1);
|
|
|
|
public TimeSpan StopCheckInAdvanceDuration { get; set; } = TimeSpan.FromMinutes(2);
|
|
|
|
public int MaxPages { get; set; } = 3;
|
|
public int SwitchPageSeconds { get; set; } = 20;
|
|
}
|
|
}
|