예제 #1
0
        public AFCStationCode GetAFCStationCode(string stationCode)
        {
            AFCStationCode theAFCStationCode = null;

            if (_dictAFCStationCode.ContainsKey(stationCode))
            {
                theAFCStationCode = _dictAFCStationCode[stationCode];
            }
            return(theAFCStationCode);
        }
예제 #2
0
        public string GetAFCEnglishStationName(string stationCode)
        {
            string strAFCEnglishStationName = stationCode;

            AFCStationCode theAFCStationCode = GetAFCStationCode(stationCode);

            if (null != theAFCStationCode)
            {
                strAFCEnglishStationName = theAFCStationCode.StationEnglishName;
            }

            return(strAFCEnglishStationName);
        }
예제 #3
0
        public string GetAFCChineseStationName(string stationCode)
        {
            string strAFCChineseStationName = stationCode;

            AFCStationCode theAFCStationCode = GetAFCStationCode(stationCode);

            if (null != theAFCStationCode)
            {
                strAFCChineseStationName = theAFCStationCode.StationChaineseName;
            }

            return(strAFCChineseStationName);
        }