Admin
4 天以前 bd6818fc9d40f343547bafca0743658f3c0379dc
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
using System;
using System.Collections.Generic;
using System.Text;
 
namespace WIDESEA_Common.Tools
{
    public class ConvertStationToLocationId
    {
 
        public static string Convert_Station_To_LocationId(string station)
        {
            string locationId = "";
 
            switch (station)
            {
                //出口
                case "50101":
                    locationId = "010100502";
                    break;
                case "50102":
                    locationId = "020100502";
                    break;
                case "50103":
                    locationId = "030100502";
                    break;
                case "50104":
                    locationId = "040100502";
                    break;
                case "50105":
                    locationId = "050100502";
                    break;
                case "50106":
                    locationId = "060100502";
                    break;
                case "50107":
                    locationId = "070100502";
                    break;
                /*case "50108":
                    locationId = "080100501";
                    break;*/
 
                //出入口
                case "50301":
                    locationId = "010100202";
                    break;
                case "50302":
                    locationId = "020100202";
                    break;
                case "50303":
                    locationId = "030100202";
                    break;
                case "50304":
                    locationId = "040100202";
                    break;
                case "50305":
                    locationId = "050100202";
                    break;
                case "50306":
                    locationId = "060100202";
                    break;
                case "50307":
                    locationId = "070100202";
                    break;
                /*case "50308":
                    locationId = "080100201";
                    break;*/
 
 
                //
                case "60101":
                    locationId = "010100101";
                    break;
                case "60102":
                    locationId = "020100101";
                    break;
                case "60103":
                    locationId = "030100101";
                    break;
                case "60104":
                    locationId = "040100101";
                    break;
                case "60105":
                    locationId = "050100101";
                    break;
                case "60106":
                    locationId = "060100101";
                    break;
                case "60107":
                    locationId = "070100101";
                    break;
                /*case "60108":
                    locationId = "080104901";
                    break;*/
            }
 
 
            return locationId;
        }
 
    }
}