-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataManager.cs
More file actions
46 lines (43 loc) · 1.28 KB
/
DataManager.cs
File metadata and controls
46 lines (43 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HighSpeedRailwayTimeTable
{
internal class DataManager
{
/// <summary>
/// 线路字典
/// 键与线路编号Line.line_no相同
/// </summary>
public Dictionary<int, Line> LineDict = new Dictionary<int, Line>();
/// <summary>
/// 列车字典
/// 键与线路编号Train.train_no相同
/// </summary>
public Dictionary<int, Train> TrainDict = new Dictionary<int, Train>();
/// <summary>
/// 列车字典
/// 键与线路编号Train.train_no相同
/// </summary>
public Dictionary<int, Train> UpTrainDict = new Dictionary<int, Train>();
/// <summary>
/// 列车字典
/// 键与线路编号Train.train_no相同
/// </summary>
public Dictionary<int, Train> DownTrainDict = new Dictionary<int, Train>();
/// <summary>
/// 从外部文件中读取线路字典
/// </summary>
public void ReadLineDict()
{
}
/// <summary>
/// 从外部文件中读取列车字典
/// </summary>
public void ReadTrainDict()
{
}
}
}