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