mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-08 18:55:35 +08:00
fix: 跨日发车无法保存
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<StartupObject>CRSim.App</StartupObject>
|
||||
<ApplicationIcon>Assets\CRSimIcon.ico</ApplicationIcon>
|
||||
<Version>2.0.1.0</Version>
|
||||
<RepositoryUrl>https://github.com/denhlihong2007/CRSim</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -248,10 +248,6 @@ public partial class StationManagementPageViewModel : ObservableObject
|
||||
message += $"\n车次 {s.Number} 所分配的检票口 {t} 不存在;";
|
||||
}
|
||||
}
|
||||
if (s.DepartureTime!=null && s.ArrivalTime!=null && s.DepartureTime < s.ArrivalTime)
|
||||
{
|
||||
message += $"\n车次 {s.Number} 出发时间早于到达时间;";
|
||||
}
|
||||
if (s.DepartureTime == null && s.ArrivalTime == null)
|
||||
{
|
||||
message += $"\n车次 {s.Number} 未配置到发时间;";
|
||||
|
||||
Reference in New Issue
Block a user