public AFCStationCode GetAFCStationCode(string stationCode) { AFCStationCode theAFCStationCode = null; if (_dictAFCStationCode.ContainsKey(stationCode)) { theAFCStationCode = _dictAFCStationCode[stationCode]; } return(theAFCStationCode); }
public string GetAFCEnglishStationName(string stationCode) { string strAFCEnglishStationName = stationCode; AFCStationCode theAFCStationCode = GetAFCStationCode(stationCode); if (null != theAFCStationCode) { strAFCEnglishStationName = theAFCStationCode.StationEnglishName; } return(strAFCEnglishStationName); }
public string GetAFCChineseStationName(string stationCode) { string strAFCChineseStationName = stationCode; AFCStationCode theAFCStationCode = GetAFCStationCode(stationCode); if (null != theAFCStationCode) { strAFCChineseStationName = theAFCStationCode.StationChaineseName; } return(strAFCChineseStationName); }