Exemplo n.º 1
0
 private ObservableCollection<ReconTrade> GetReconTrades(DateTime tradeDate)
 {   
     //ReconTrade[] s = Service.GetComparisonReport(tradeDate);
     //lstRecon = s.ToList();
     Uri baseAddress = new Uri("http://localhost:8732/PortiaService/");
     var service = new FixedIncomeSettlementsService();
     lstRecon = service.GetComparisonReport(tradeDate);
    
     return lstRecon;
 }
Exemplo n.º 2
0
        public ObservableCollection<PortiaTrade> GetTrades(DateTime tradeDate)
        {


            //PortiaTrade[] s = Service.GetPortiaTrades(tradeDate);
            // portiaTrade = s.ToList();
            //portiaTrade = service.GetPortiaTrades(tradeDate);

            Uri baseAddress = new Uri("http://localhost:8732/PortiaService/");
            var service = new FixedIncomeSettlementsService();
            return service.GetPortiaTrades(tradeDate);
        }
Exemplo n.º 3
0
        public ObservableCollection<DtcTrade> GetConfirms(DateTime tradeDate)
        {
            //DtcTrade[] s = Service.GetConfirmsTrades(tradeDate);
            //dtcConfirms = s.ToList();
            //return dtcConfirms;

            Uri baseAddress = new Uri("http://localhost:8732/PortiaService/");            
            var service = new FixedIncomeSettlementsService();
            dtcConfirms = service.GetConfirmsTrades(tradeDate);

            //PortiaTrade[] s = service.GetPortiaTrades(tradeDate).ToArray();
            //portiaTrade = s.ToList();
            return dtcConfirms;
        }
Exemplo n.º 4
0
 private void ServiceCall()
 {
     Uri baseAddress = new Uri("http://localhost:8732/PortiaService/");
     DataServices service = new FixedIncomeSettlementsService().GetDataService(tradeDate);
     Dispatcher.BeginInvoke(new UpdateUI(this.UpdateModel), new object[] { service.PortiaTrades, service.DtcTrades, service.ReconTrades });
 }