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;
|
}
|
|
}
|
}
|