CommonMapped.java
1.55 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package com.bsth.vehicle.common;
import java.util.List;
import java.util.Map;
import com.bsth.entity.Line;
import com.bsth.entity.StationRoute;
import com.google.common.collect.BiMap;
import com.google.common.collect.TreeMultimap;
/**
*
* @ClassName: CommonMapped
* @Description: TODO(常用的数据映射)
* @author PanZhao
* @date 2016年6月7日 下午4:01:43
*
*/
public class CommonMapped {
/**
* 设备号和车辆自编号
* (K: 设备编码 ,V:车辆自编号)
*/
public static BiMap<String, String> vehicDeviceBiMap;
/**
* 设备号和线路编码对照
* (K: 设备编码 ,V:线路编码)
*/
//public static Map<String, Integer> deviceLineMap;
/**
* 车辆自编号和公司代码对照
* (K: 车辆自编号 ,V:公司代码)
*/
public static Map<String , String> vehicCompanyMap;
/**
* 车辆和线路对照
*/
public static Map<String, Line> vehicLineMap;
/**
* 站点编码和名称对照,包括停车场
*(K: 站点编码 ,V:站点名称)
*/
public static Map<String, String> stationCodeMap;
/**
* 线路站点路由对照
* (K:线路编码, V:站点路由)
*/
//public static Map<Integer, List<StationRoute>> lineStationRouteMap;
/**
* 线路和用户名对照
* 用于webSocket定向推送消息
*/
public static TreeMultimap<Integer, String> lineUserMap = TreeMultimap.create();
/**
* 线路ID和code 对照
*/
public static BiMap<Integer, Integer> lineIdToCode;
}