Admin
2025-12-02 9e42f0dafa019f5ecf6b0ff425ecb966b002171e
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
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 = "010100101";
                    break;
                case "50102":
                    locationId = "020100101";
                    break;
                case "50103":
                    locationId = "030100101";
                    break;
                case "50104":
                    locationId = "040100101";
                    break;
                case "50105":
                    locationId = "050100101";
                    break;
                case "50106":
                    locationId = "060100101";
                    break;
                case "50107":
                    locationId = "070100101";
                    break;
                case "50108":
                    locationId = "080100101";
                    break;
 
 
                case "50301":
                    locationId = "010100102";
                    break;
                case "50302":
                    locationId = "020100102";
                    break;
                case "50303":
                    locationId = "030100102";
                    break;
                case "50304":
                    locationId = "040100102";
                    break;
                case "50305":
                    locationId = "050100102";
                    break;
                case "50306":
                    locationId = "060100102";
                    break;
                case "50307":
                    locationId = "070100102";
                    break;
                case "50308":
                    locationId = "080100102";
                    break;
 
 
                case "90100":
                    locationId = "010104901";
                    break;
                case "90200":
                    locationId = "020104901";
                    break;
                case "90300":
                    locationId = "030104901";
                    break;
                case "90400":
                    locationId = "040104901";
                    break;
                case "90500":
                    locationId = "050104901";
                    break;
                case "90600":
                    locationId = "060104901";
                    break;
                case "90700":
                    locationId = "070104901";
                    break;
                case "90800":
                    locationId = "080104901";
                    break;
            }
 
 
            return locationId;
        }
 
    }
}