-
Notifications
You must be signed in to change notification settings - Fork 0
/
NextBus.cs
45 lines (40 loc) · 1.03 KB
/
NextBus.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace TranslinkAPI.CSharp
{
/// <summary>
/// The element containing the next bus information.
/// </summary>
[DataContract]
public class NextBus
{
/// <summary>
/// The bus route number.
/// </summary>
[DataMember]
public int RouteNo;
/// <summary>
/// The bus route name.
/// </summary>
[DataMember]
public string RouteName;
/// <summary>
/// The direction of the route at the specific stop.
/// </summary>
[DataMember]
public string Direction;
/// <summary>
/// The element containing the route map information.
/// </summary>
[DataMember]
public RouteMap RouteMap;
/// <summary>
/// The element containing the schedules.
/// </summary>
[DataMember]
public List<Schedule> Schedules;
}
}