예제 #1
0
 void OnQuote(TEsQuoteRspField rsp)
 {
     Trace.WriteLine(string.Format("行情:{0} {1}", rsp.Contract, rsp.New));
     EventProcessor.BeginInvoke(this._esunnyQuote.QuoteResponse, this._esunnyQuote, new EsunnyEventArgs <TEsQuoteRspField>(rsp));
 }
예제 #2
0
 void OnQuote(TEsQuoteRspField rsp)
 {
     Trace.WriteLine(string.Format("行情:{0} {1}", rsp.Contract, rsp.New));
     EventProcessor.BeginInvoke(this._esunnyQuote.QuoteResponse, this._esunnyQuote, new EsunnyEventArgs<TEsQuoteRspField>(rsp));
 }