예제 #1
0
        static String TrwPartyMarketGetName(TrwPartyMarket value)
        {
            switch (value)
            {
            case TrwPartyMarket.MARKET_TRW:
                return("Корпорация");

            case TrwPartyMarket.MARKET_RUSSIA:
                return("Россия");

            case TrwPartyMarket.MARKET_VED:
                return("Ярмарка 1");

            case TrwPartyMarket.MARKET_UIG:
                return("Ярмарка 2");

            default:
                return(String.Empty);
            }
        }
예제 #2
0
        static String TrwPartyMarketGetCode(TrwPartyMarket value)
        {
            switch (value)
            {
            case TrwPartyMarket.MARKET_TRW:
                return("X");

            case TrwPartyMarket.MARKET_RUSSIA:
                return("RF");

            case TrwPartyMarket.MARKET_VED:
                return("ЯРМ1");

            case TrwPartyMarket.MARKET_UIG:
                return("ЯРМ2");

            default:
                return(String.Empty);
            }
        }