Exemplo n.º 1
0
        private void OnRspQryQuote_callback(object sender, ref QuoteField quote, int size1, bool bIsLast)
        {
            if (size1 <= 0)
            {
                (sender as XApi).GetLog().Info("OnRspQryQuote");
                return;
            }

            (sender as XApi).GetLog().Info("OnRspQryQuote:" + quote.ToFormattedString());
        }
Exemplo n.º 2
0
 private void OnRtnQuote_callback(object sender, ref QuoteField quote)
 {
     (sender as XApi).GetLog().Debug("OnRtnQuote:" + quote.ToFormattedString());
     try {
         quoteMap.Process(ref quote);
     }
     catch (Exception ex) {
         (sender as XApi).GetLog().Error(ex);
     }
 }