Пример #1
0
        public void AddCommand(iExchange.Common.Token token, iExchange.Common.Command command)
        {
            QuotationCommand quotationCommand = command as QuotationCommand;

            if (quotationCommand != null)
            {
                var targetCommand = SystemController.Factory.CommandFactory.CreateQuotationCommand(quotationCommand.OriginQs, quotationCommand.OverridedQs);
                Broadcaster.Default.AddCommand(targetCommand);
            }
        }
Пример #2
0
 public void AddCommand(iExchange.Common.Token token, iExchange.Common.Command command)
 {
     CommandManager.Default.Send(command);
 }