PathWay.cs
862 字节
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CtuDeviceLib
{
/// <summary>
/// 路线
/// </summary>
public class PathWay
{
/// <summary>
/// 路线编号
/// </summary>
public uint Id { get; set; }
/// <summary>
/// 路线名
/// </summary>
public string Name { get; set; }
/// <summary>
/// 线路
/// 路标集合
/// </summary>
public List<uint> Paths { get; set; }
/// <summary>
/// 是否是双向路线
/// </summary>
public bool IsTwoWayLanes { get; set; }
/// <summary>
/// 是否限制单辆车在此路线
/// </summary>
public bool IsLimitOneCtu { get; set; } = false;
}
}