예제 #1
0
        public UCGApiController(ITransactionLogService transactionLogService,
                                IEventStageService eventStageService,
                                IEventArchiveService eventArchiveService,
                                IExchangeContractMappingService exchangeContractMappingService)
        {
            this.unameChorus = ConfigurationManager.AppSettings["unameChorus"];
            this.psswdChorus = ConfigurationManager.AppSettings["psswdChorus"];
            this.apiChorus   = ConfigurationManager.AppSettings["apiChorus"];

            this.unameBMP = ConfigurationManager.AppSettings["unameBMP"];
            this.psswdBMP = ConfigurationManager.AppSettings["psswdBMP"];
            this.apiBMP   = ConfigurationManager.AppSettings["apiBMP"];

            this.apiGoogleAddress = ConfigurationManager.AppSettings["apiGoogleAddress"];
            this.coordsGooglePath = ConfigurationManager.AppSettings["coordsGooglePath"];
            this.keyGoogleAddress = ConfigurationManager.AppSettings["keyGoogleAddress"];

            this.chorusOrderLimit  = Convert.ToInt32(ConfigurationManager.AppSettings["chorusOrderLimit"]);
            this.chorusLimitEnable = ConfigurationManager.AppSettings["chorusLimitEnable"];

            this.transactionLogService          = transactionLogService;
            this.eventStageService              = eventStageService;
            this.eventArchiveService            = eventArchiveService;
            this.exchangeContractMappingService = exchangeContractMappingService;
        }
 public ExchangeContractMappingController(IExchangeContractMappingService exchangeContractMappingService)
 {
     this.exchangeContractMappingService = exchangeContractMappingService;
 }