/// <summary>
            /// 市场状态查询应答
            /// </summary>
            /// <param name="rsp"></param>
            /// <param name="islast"></param>
            void OnQueryExchangeState(/*TEsExchangeStateRspField*/ IntPtr rsp, bool islast)
            {
                TEsExchangeStateRspField data = PInvokeUtility.GetObjectFromIntPtr <TEsExchangeStateRspField>(rsp);

                this.trader.exchangeStateList.Add(data);

                Trace.WriteLine(string.Format("【市场状态查询应答】{0} : {1} {2}", data.Exchange, data.ExchangeDateTime, data.ExchangeState));

                if (islast == true)
                {
                    EventProcessor.BeginInvoke(this.trader.QueryExchangeStateResponse, this.trader, new EsunnyEventArgs <List <TEsExchangeStateRspField> >(this.trader.exchangeStateList));
                }
            }
 /// <summary>
 /// 市场状态变化应答
 /// </summary>
 /// <param name="rsp"></param>
 void OnReturnExchangeState(TEsExchangeStateRspField rsp)
 {
     EventProcessor.BeginInvoke(this.trader.ReturnExchangeStateResponse, this.trader, new EsunnyEventArgs <TEsExchangeStateRspField>(rsp));
 }
 /// <summary>
 /// 市场状态变化应答
 /// </summary>
 /// <param name="rsp"></param>
 void OnReturnExchangeState(TEsExchangeStateRspField rsp)
 {
     EventProcessor.BeginInvoke(this.trader.ReturnExchangeStateResponse,this.trader, new EsunnyEventArgs<TEsExchangeStateRspField>(rsp));
 }